SQL Developer Behavior When Gathering Table/Index Statistics

Hey All,
Not sure if this has been posted yet. I did a search and did not find any threads on the topic though.
I noticed with SQL Developer 2.x, when you using the context menu to gather table/index statistics for a given table, you get no modal progress/waiting window like you did in 1.x. It just kind of "does nothing", even though it did actually execute the DBMS_STATS package. If you press cancel and try to navigate around, you get multiple "Connection is Busy" errors. Eventually it will come back and say "Statistics gathered for table <whatever>". In the old versions there was just a modal window with an animated progress bar while it ran the DBMS_STATS package. What happened to that? Or is this something unique to my install? Anyone else ran into this? Is there a fix or somewhere I can report this as an official bug? FWIW I'm running 2.1.1.64, and this did occur in the initial 2.0 release.
It is very confusing the first time you run into it... I pressed the "apply" button several times thinking it didn't take, but it ended up running the DBMS_STATS for every click I did.
Thanks!

Same happens to all the other context menu opened dialogs. Indeed very confusing at first and disturbing.
The only official site to report bugs is Metalink/MOS, but you might be lucky if someone from the team picks it up here.
Regards,
K.

Similar Messages

  • SQL Developer hangs when expanding table node

    Hello All,
    One of my schemas has 3035 tables. When I expand the "Other Users" node, then the schema owner, then expand "Tables", SQL Developer hangs. I have allowed it to run (as it indicates it is working) for 45 minutes, but it never returns.
    I have one user with nearly the same behavior, but theirs returns after waiting 5 minutes.
    Any ideas?
    About
    Oracle SQL Developer 1.5.1
    Version 1.5.1
    Build MAIN-5440
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.35
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.54.40
    Version
    Component     Version
    =========     =======
    Java(TM) Platform     1.5.0_06
    Oracle IDE     1.5.1.54.40
    Versioning Support     1.5.1.54.40
    Properties
    Name     Value
    ====     =====
    apple.laf.useScreenMenuBar     true
    awt.toolkit     sun.awt.windows.WToolkit
    class.load.environment     oracle.ide.boot.IdeClassLoadEnvironment
    class.load.log.level     CONFIG
    class.transfer     delegate
    com.apple.macos.smallTabs     true
    com.apple.mrj.application.apple.menu.about.name     "SQL_Developer"
    com.apple.mrj.application.growbox.intrudes     false
    file.encoding     Cp1252
    file.encoding.pkg     sun.io
    file.separator     \
    http.agent     Mozilla/5.0 (Java 1.5.0_06; Windows XP 5.1 x86; en_US) ICEbrowser/v6_1_3
    ice.browser.forcegc     false
    ice.pilots.html4.ignoreNonGenericFonts     true
    ice.pilots.html4.tileOptThreshold     0
    ide.AssertTracingDisabled     true
    ide.bootstrap.start     624463503772965
    ide.build     MAIN-5440
    ide.conf     C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.config_pathname     C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
    ide.debugbuild     false
    ide.devbuild     false
    ide.extension.search.path     sqldeveloper/extensions:jdev/extensions:ide/extensions
    ide.firstrun     false
    ide.java.minversion     1.5.0
    ide.launcherProcessId     66660
    ide.main.class     oracle.ide.boot.IdeLauncher
    ide.patches.dir     ide/lib/patches
    ide.pref.dir     C:\Documents and Settings\ckell\Application Data\SQL Developer
    ide.pref.dir.base     C:\Documents and Settings\ckell\Application Data
    ide.product     oracle.sqldeveloper
    ide.shell.enableFileTypeAssociation     C:\oracle\sqldeveloper\sqldeveloper.exe
    ide.splash.screen     splash.gif
    ide.startingArg0     C:\oracle\sqldeveloper\sqldeveloper.exe
    ide.startingcwd     C:\Oracle\sqlDeveloper
    ide.user.dir     C:\Documents and Settings\ckell\Application Data\SQL Developer
    ide.user.dir.var     IDE_USER_DIR
    ide.work.dir     q:\\SQL Developer
    ide.work.dir.base     q:\
    java.awt.graphicsenv     sun.awt.Win32GraphicsEnvironment
    java.awt.printerjob     sun.awt.windows.WPrinterJob
    java.class.path     ..\..\ide\lib\ide-boot.jar
    java.class.version     49.0
    java.endorsed.dirs     C:\oracle\sqldeveloper\jdk\jre\lib\endorsed
    java.ext.dirs     C:\oracle\sqldeveloper\jdk\jre\lib\ext
    java.home     C:\oracle\sqldeveloper\jdk\jre
    java.io.tmpdir     c:\temp\
    java.library.path     C:\oracle\sqldeveloper;.;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\DevSuite\bin;C:\oracle\DevSuite\jdk\jre\bin\classic;C:\oracle\DevSuite\jdk\jre\bin;C:\oracle\DevSuite\jdk\jre\bin\client;C:\oracle\DevSuite\jlib;C:\oracle\DevSuite\jre\1.4.2\bin\client;C:\oracle\DevSuite\jre\1.4.2\bin;C:\Program Files\Java\jre1.6.0_03;C:\oracle\Client10g\bin;c:\oracle\10g\jdk\jre\bin\classic;c:\oracle\10g\jdk\jre\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\Novell\ZENworks\;C:\Program Files\ATI Technologies\ATI.ACE\;C:\Program Files\Diskeeper Corporation\Diskeeper\;C:\Program Files\IDM Computer Solutions\UltraEdit-32;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\IDM Computer Solutions\UltraEdit-32\;C:\Program Files\CollabNet Subversion Server
    java.naming.factory.initial     oracle.javatools.jndi.LocalInitialContextFactory
    java.runtime.name     Java(TM) 2 Runtime Environment, Standard Edition
    java.runtime.version     1.5.0_06-b05
    java.specification.name     Java Platform API Specification
    java.specification.vendor     Sun Microsystems Inc.
    java.specification.version     1.5
    java.util.logging.config.file     logging.conf
    java.vendor     Sun Microsystems Inc.
    java.vendor.url     http://java.sun.com/
    java.vendor.url.bug     http://java.sun.com/cgi-bin/bugreport.cgi
    java.version     1.5.0_06
    java.vm.info     mixed mode
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.specification.name     Java Virtual Machine Specification
    java.vm.specification.vendor     Sun Microsystems Inc.
    java.vm.specification.version     1.0
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.5.0_06-b05
    jdbc.library     /C:/oracle/sqldeveloper/jdbc/lib/ojdbc5.jar
    line.separator     \r\n
    oracle.home     C:\oracle\sqldeveloper
    oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG     true
    oracle.translated.locales     de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
    oracle.xdkjava.compatibility.version     9.0.4
    orai18n.library     /C:/oracle/sqldeveloper/jlib/orai18n.jar
    os.arch     x86
    os.name     Windows XP
    os.version     5.1
    path.separator     ;
    reserved_filenames     con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
    sun.arch.data.model     32
    sun.boot.class.path     C:\oracle\sqldeveloper\jdk\jre\lib\rt.jar;C:\oracle\sqldeveloper\jdk\jre\lib\i18n.jar;C:\oracle\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\oracle\sqldeveloper\jdk\jre\lib\jsse.jar;C:\oracle\sqldeveloper\jdk\jre\lib\jce.jar;C:\oracle\sqldeveloper\jdk\jre\lib\charsets.jar;C:\oracle\sqldeveloper\jdk\jre\classes
    sun.boot.library.path     C:\oracle\sqldeveloper\jdk\jre\bin
    sun.cpu.endian     little
    sun.cpu.isalist     
    sun.desktop     windows
    sun.io.unicode.encoding     UnicodeLittle
    sun.java2d.ddoffscreen     false
    sun.jnu.encoding     Cp1252
    sun.management.compiler     HotSpot Client Compiler
    sun.os.patch.level     Service Pack 2
    user.country     US
    user.dir     C:\oracle\sqldeveloper\sqldeveloper\bin
    user.home     C:\Documents and Settings\ckell
    user.language     en
    user.name     ckell
    user.timezone     America/New_York
    user.variant     
    windows.shell.font.languages     
    Extensions
    Name     Identifier     Version     Status
    ====     ==========     =======     ======
    Check For Updates     oracle.ide.webupdate     11.1.1.0.22.49.35     Loaded
    Code Editor     oracle.ide.ceditor     11.1.1.0.22.49.35     Loaded
    Database Connection Support     oracle.jdeveloper.db.connection     11.1.1.0.22.49.35     Loaded
    Database Object Explorers     oracle.ide.db.explorer     11.1.1.0.22.49.35     Loaded
    Database UI     oracle.ide.db     11.1.1.0.22.49.35     Loaded
    Diff/Merge     oracle.ide.diffmerge     11.1.1.0.22.49.35     Loaded
    Extended IDE Platform     oracle.javacore     11.1.1.0.22.49.35     Loaded
    External Tools     oracle.ide.externaltools     11.1.1.0.22.49.35     Loaded
    Feedback     oracle.ide.feedback     11.1.1.0.22.49.35     Loaded
    File Support     oracle.ide.files     11.1.1.0.22.49.35     Loaded
    File System Navigator     oracle.sqldeveloper.filenavigator     11.1.1.53.38     Loaded
    Help System     oracle.ide.help     11.1.1.0.22.49.35     Loaded
    History Support     oracle.jdeveloper.history     11.1.1.0.22.49.35     Loaded
    Import/Export Support     oracle.ide.importexport     11.1.1.0.22.49.35     Loaded
    Log Window     oracle.ide.log     11.1.1.0.22.49.35     Loaded
    Mac OS X Adapter     oracle.ideimpl.apple     11.1.1.0.22.49.35     Loaded
    Navigator     oracle.ide.navigator     11.1.1.0.22.49.35     Loaded
    Object Gallery     oracle.ide.gallery     11.1.1.0.22.49.35     Loaded
    Object Viewer     oracle.sqldeveloper.oviewer     11.1.1.54.40     Loaded
    Oracle IDE     oracle.ide     11.1.1.0.22.49.35     Loaded
    Oracle Microsoft Access Browser     oracle.sqldeveloper.thirdparty.access     11.1.1.54.40     Loaded
    Oracle Migration Workbench     oracle.sqldeveloper.migration     11.1.1.54.40     Loaded
    Oracle Migration Workbench - MS Access     oracle.sqldeveloper.migration.msaccess     11.1.1.53.38     Loaded
    Oracle Migration Workbench - MySQL     oracle.sqldeveloper.migration.mysql5     11.1.1.53.38     Loaded
    Oracle Migration Workbench - SQLServer     oracle.sqldeveloper.migration.sqlserver2005     11.1.1.53.38     Loaded
    Oracle Migration Workbench - Translation Core     oracle.sqldeveloper.migration.translation.core     11.1.1.54.44     Loaded
    Oracle Migration Workbench - Translation MS Access     oracle.sqldeveloper.migration.translation.msaccess     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation MS SQL Server     oracle.sqldeveloper.migration.translation.sqlserver     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation MySQL     oracle.sqldeveloper.migration.translation.mysql     11.1.1.54.40     Loaded
    Oracle Migration Workbench - Translation Sybase     oracle.sqldeveloper.migration.translation.sybase     11.1.1.54.44     Loaded
    Oracle Migration Workbench - Translation UI     oracle.sqldeveloper.migration.translation.gui     11.1.1.54.40     Loaded
    Oracle MySQL Browser     oracle.sqldeveloper.thirdparty.mysql     11.1.1.54.40     Loaded
    Oracle SQL Developer     oracle.sqldeveloper     11.1.1.54.40     Loaded
    Oracle SQL Developer Extras     oracle.sqldeveloper.extras     11.1.1.54.40     Loaded
    Oracle SQL Developer Reports     oracle.sqldeveloper.report     11.1.1.54.40     Loaded
    Oracle SQL Developer SearchBar     oracle.sqldeveloper.searchbar     11.1.1.54.40     Loaded
    Oracle SQL Developer TimesTen     oracle.sqldeveloper.timesten     1.5.1.1.2     Loaded
    Oracle SQL Server Browser     oracle.sqldeveloper.thirdparty.sqlserver     11.1.1.54.40     Loaded
    Oracle Sybase Browser     oracle.sqldeveloper.thirdparty.sybase     1.2.1.54.40     Loaded
    Oracle XML Schema Support     oracle.sqldeveloper.xmlschema     11.1.1.54.40     Loaded
    PROBE Debugger     oracle.jdeveloper.db.debug.probe     11.1.1.0.22.49.35     Loaded
    Peek     oracle.ide.peek     1.0     Loaded
    Replace With     oracle.ide.replace     11.1.1.0.22.49.35     Loaded
    Runner     oracle.ide.runner     11.1.1.0.22.49.35     Loaded
    SQL Worksheet Window     oracle.sqldeveloper.sqlworksheet     11.1.1.54.40     Loaded
    Search Bar     oracle.ide.searchbar     11.1.1.0.0     Loaded
    Snippet Window     oracle.sqldeveloper.snippet     11.1.1.54.40     Loaded
    Sybase 12     oracle.sqldeveloper.migration.sybase12     11.1.1.53.38     Loaded
    Sybase 15     oracle.sqldeveloper.migration.sybase15     11.1.1.53.38     Loaded
    Tuning     oracle.sqldeveloper.tuning     11.1.1.54.40     Loaded
    VHV     oracle.ide.vhv     11.1.1.0.22.49.35     Loaded
    Versioning Support     oracle.jdeveloper.vcs     11.1.1.0.22.49.35     Loaded
    Versioning Support for CVS     oracle.jdeveloper.cvs     11.1.1.0.22.49.35     Disabled by user
    Versioning Support for Subversion     oracle.jdeveloper.subversion     11.1.1.0.22.49.35     Loaded
    Web Browser and Proxy     oracle.ide.webbrowser     11.1.1.0.22.49.35     Loaded
    oracle.ide.dependency     oracle.ide.dependency     11.1.1.0.22.49.35     Loaded
    oracle.ide.indexing     oracle.ide.indexing     11.1.1.0.22.49.35     Loaded

    hi...
    Same problem, but as many tables as Chris.
    Pat
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.5.0_06
    Oracle IDE     1.5.1.54.40
    Versioning Support     1.5.1.54.40
    here is the dump
    Full thread dump Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode):
    "ProgressBarThread" prio=6 tid=0x04665e20 nid=0x2ac8 runnable [0x079af000..0x079
    af9e8]
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at oracle.net.ns.Packet.receive(Packet.java:239)
    at oracle.net.ns.DataPacket.receive(DataPacket.java:92)
    at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:172)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:117)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:92)
    at oracle.net.ns.NetInputStream.read(NetInputStream.java:77)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1023)
    at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:999)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:584)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:191)
    at oracle.jdbc.driver.T4CCallableStatement.executeForDescribe(T4CCallabl
    eStatement.java:782)
    at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCalla
    bleStatement.java:857)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:1186)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
    aredStatement.java:3381)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
    dStatement.java:3425)
    - locked <0x11eaa750> (a oracle.jdbc.driver.T4CConnection)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(Oracle
    PreparedStatementWrapper.java:1202)
    at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:512)
    at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:540)
    at oracle.dbtools.raptor.navigator.ObjectQueryInstance.executeQuery(Obje
    ctQueryInstance.java:76)
    at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.getChildren(Xml
    FolderInstance.java:122)
    at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.listChildren(Xm
    lFolderInstance.java:67)
    at oracle.dbtools.raptor.navigator.ObjectFilter$1Loader.doWork(ObjectFil
    ter.java:147)
    at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:161)
    at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:615)
    at java.lang.Thread.run(Thread.java:595)
    "TextBufferScavenger" prio=6 tid=0x03a86620 nid=0x2ac4 in Object.wait() [0x078af
    000..0x078afa68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11f73798> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x11f73798> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at oracle.ide.model.TextNode$FacadeBufferReference$PollingThread.run(Tex
    tNode.java:1886)
    "pool-1-thread-1" prio=6 tid=0x04a1eee8 nid=0x29f8 waiting on condition [0x071af
    000..0x071afa68]
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:118)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
    .await(AbstractQueuedSynchronizer.java:1767)
    at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.jav
    a:359)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.ja
    va:470)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
    .java:674)
    at java.lang.Thread.run(Thread.java:595)
    "IconOverlayTracker Timer" prio=6 tid=0x039b5878 nid=0x29f4 in Object.wait() [0x
    070af000..0x070afae8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11971f98> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x11971f98> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Timer-2" prio=6 tid=0x04a21540 nid=0x29f0 in Object.wait() [0x06faf000..0x06faf
    b68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x11972010> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x11972010> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "Native Directory Watcher" prio=2 tid=0x047c64c8 nid=0x29d4 runnable [0x05a8f000
    ..0x05a8fd68]
    at oracle.ide.natives.NativeHandler.enterWatcherThread(Native Method)
    at oracle.ide.natives.NativeHandler$2.run(NativeHandler.java:252)
    at java.lang.Thread.run(Thread.java:595)
    "IconOverlayTracker Timer" prio=6 tid=0x048b01d8 nid=0x29cc in Object.wait() [0x
    0528f000..0x0528f9e8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1105d9f0> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x1105d9f0> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "IconOverlayTracker Timer" prio=6 tid=0x03876cc8 nid=0x29c8 in Object.wait() [0x
    04fbf000..0x04fbfa68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x1105da68> (a java.util.TaskQueue)
    at java.lang.Object.wait(Object.java:474)
    at java.util.TimerThread.mainLoop(Timer.java:483)
    - locked <0x1105da68> (a java.util.TaskQueue)
    at java.util.TimerThread.run(Timer.java:462)
    "TimerQueue" daemon prio=6 tid=0x03b23470 nid=0x2954 in Object.wait() [0x0436f00
    0..0x0436fb68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x10733728> (a javax.swing.TimerQueue)
    at javax.swing.TimerQueue.run(TimerQueue.java:233)
    - locked <0x10733728> (a javax.swing.TimerQueue)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-EventQueue-0" prio=6 tid=0x03b047a0 nid=0x2950 in Object.wait() [0x041ff000
    ..0x041ffbe8]
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:474)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:345)
    - locked <0x106c2968> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:189)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:163)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:153)
    at java.awt.Dialog$1.run(Dialog.java:515)
    at java.awt.Dialog.show(Dialog.java:536)
    at java.awt.Component.show(Component.java:1300)
    at java.awt.Component.setVisible(Component.java:1253)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:361)
    at oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:208)
    at oracle.ide.dialogs.ProgressRunnable.start(ProgressRunnable.java:116)
    at oracle.dbtools.raptor.navigator.ObjectFilter.getChildren(ObjectFilter
    .java:192)
    at oracle.ideimpl.explorer.BaseTreeExplorer.addChildren(BaseTreeExplorer
    .java:358)
    at oracle.ideimpl.explorer.BaseTreeExplorer.open(BaseTreeExplorer.java:1
    016)
    at oracle.ideimpl.explorer.BaseTreeExplorer$4.run(BaseTreeExplorer.java:
    2003)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
    read.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    "AWT-Windows" daemon prio=6 tid=0x03ad7188 nid=0x2948 runnable [0x03fff000..0x03
    fffce8]
    at sun.awt.windows.WToolkit.eventLoop(Native Method)
    at sun.awt.windows.WToolkit.run(WToolkit.java:269)
    at java.lang.Thread.run(Thread.java:595)
    "AWT-Shutdown" prio=6 tid=0x03ad6cb0 nid=0x2944 in Object.wait() [0x03eff000..0x
    03effd68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x106c2a60> (a java.lang.Object)
    at java.lang.Object.wait(Object.java:474)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
    - locked <0x106c2a60> (a java.lang.Object)
    at java.lang.Thread.run(Thread.java:595)
    "Java2D Disposer" daemon prio=6 tid=0x03acf268 nid=0x2940 in Object.wait() [0x03
    dff000..0x03dff9e8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x106c2ae8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x106c2ae8> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at sun.java2d.Disposer.run(Disposer.java:107)
    at java.lang.Thread.run(Thread.java:595)
    "Low Memory Detector" daemon prio=6 tid=0x00c64a48 nid=0x2934 runnable [0x000000
    00..0x00000000]
    "CompilerThread0" daemon prio=6 tid=0x00865008 nid=0x2930 waiting on condition [
    0x00000000..0x034df84c]
    "Signal Dispatcher" daemon prio=6 tid=0x00c612b0 nid=0x292c waiting on condition
    [0x00000000..0x00000000]
    "Finalizer" daemon prio=8 tid=0x00c58e58 nid=0x2928 in Object.wait() [0x032df000
    ..0x032dfce8]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x106601f0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
    - locked <0x106601f0> (a java.lang.ref.ReferenceQueue$Lock)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
    "Reference Handler" daemon prio=6 tid=0x00c583b8 nid=0x2924 in Object.wait() [0x
    031df000..0x031dfc68]
    at java.lang.Object.wait(Native Method)
    - waiting on <0x10660270> (a java.lang.ref.Reference$Lock)
    at java.lang.Object.wait(Object.java:474)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
    - locked <0x10660270> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x00868828 nid=0x2914 waiting on condition [0x00000000..0x0012
    fb70]
    "VM Thread" prio=6 tid=0x00c188f0 nid=0x2920 runnable
    "VM Periodic Task Thread" prio=6 tid=0x00c60fb8 nid=0x2938 waiting on condition

  • Missing SQL Developer functions when connecting to MS SQL Server 2005

    Hi all,
    I've connected SQL Developer to a ms sql server db. Now I can't use the functions from SQL Developer like
    - Drag&Drop tables to the sql-sheet,
    - autocompletition of attributes (Strg+Space).
    Is this function not supported or do I have to change some preferences?
    THX Steve

    Unfortunately most of the advanced functions of SQL Developer are supported only for oracle databases, so on ms sql, or almost anything else you can do little more than browse data.

  • Sql developer behavior, expands table.* to show all fields?

    Am I doing something wrong, or does sql developer (10g) have an odd behavior?
    If I create a view
    select mytable.* from mytable
    it saves the view like
    select mytable.myid, mytable.mycol1, mytable.mycol2 from mytable
    IE it replaces the mytable.* with a select clause that includes every column individually. I've never seen any sql editor do anything like this.

    I have never seen a sql editor make such massive changes to whatever one entered. It's not SQL Developer doing this, it's Oracle itself.
    Here I'm not using any editor, just SQL Plus (repeating Solomon's example):
    SQL> create view emp_v as select * from emp;
    View created.
    SQL> select view_name, text from user_views;
    VIEW_NAME                      TEXT
    EMP_V                          select "EMPNO","ENAME","JOB","MGR","HIREDATE","SAL","COMM","DEPTNO" from empThis is also documented (indirectly) in the SQL Reference manual under CREATE VIEW:
    "If the subquery uses an asterisk (*) to select all columns of a table, and you later add new columns to the table, then the view will not contain those columns until you re-create the view by issuing a CREATE OR REPLACE VIEW statement."
    That's because the "select *" is expanded to explicitly name all the columns when the view is created.

  • SQL Developer keeps dropping my table cols!!

    Howdy,
    Really getting to the end of my tether with SQL Developer now, as it likes to drop all my columns (usually leaves one for me which is nice of it) in my tables if I decide to make a change to it.
    for example, if I where to change a column to be NOT NULL it will throw an error saying (Could not drop all columns) and I look at my table and wow, I have ONE column left in the table and all my data is then f**ked. Or if I want to edit a constraint, or a index it will do the same! Its random cos it wont do it all the time.
    This is unacceptable really, cos I then have to rebuild the DB table and get all contraints back to it. I would NEVER EVER consider using this for live data, oh that would be catastrophic!
    Does anybody else have this problem? Is there anything I can do to maybe avoid the problem occuring again?
    Any help will be appreciated!

    Hi,
    Sorry, this hasn't just started happening, been doing this ever since I started using SQL Developer, so now I just try to steer clear on making changes that I know has potential of causing me trouble.
    At the moment I am on:
    Vista 64bit
    SQL Developer 1.2.1 Build 32.13
    Latest version of Java (only downloaded it last week.
    But this problem also occured on Vista 32bit witht he same version of SQL Developer. I tried it with the Java included version, and java installed on my machine, but it still done it.
    I mainly get the problem if I Right Click > Edit and change Indexes or foreign key details.
    I'm running from /bin/ at the moment as I am in a 64bit environment, but it makes no difference what .exe I use!
    The error I get is always "Unable to drop all columns"... this is when I was NOT dropping columns, I was just making a change, but I assume oracle drops them and rebuilds it or sumin (im no DBA). Incidently it's usually a DATE column I am left with after its decided to drop all my other columns?
    Message was edited by:
    keogh

  • SQL Developer 3.0.03 table sql tab errors

    In SQL Developer 3.0.03 EA3, when you visit the SQL tab for a table the result is not formatted to be readable or usable fashion.
    The generated statements do not have terminating semi-colons or separating slashes, nor is there a line terminator after the end of each statement.
    For tables with column comments, all the comment statements are generated in a single line. This is very difficult to read.
    In order to make a usable or even readable script from this display, every statement has to be edited to add a statement terminator or separator and to start the next statement on a new line.
    The same request, against the same database, using SQL Developer 2.1 displays the expected results.
    Edited by: djhenderson on Jan 26, 2011 7:55 PM

    You should be able to tweak this in Preferences - Database - Unload/View DDL Options.
    Be sure to have the Options checked, along with Pretty Print and Terminator.
    For the format, tweak Preferences - Database - SQL Formatter - Oracle.
    Hope that helps,
    K.

  • SQL Developer 1.5: Mysql unique index problem

    I experienced a problem with SQL Developer 1.5: uniqueness of multiple fields indexes seems to be lost. On single field indexes it works properly.
    As you can see generated code lacks the "UNIQUE" keyword
    MySQL DDL:
    CREATE TABLE `my_table` (
    `aaa` CHAR(20) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
    `bbb` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
    `ccc` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
    `ddd` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
    `eee` CHAR(4) COLLATE latin1_swedish_ci NOT NULL DEFAULT '%',
    `fff` CHAR(30) COLLATE latin1_swedish_ci NOT NULL DEFAULT '',
    `ggg` CHAR(30) COLLATE latin1_swedish_ci DEFAULT NULL,
    UNIQUE KEY `All` (`aaa`, `bbb`, `ccc`, `ddd`, `eee`, `fff`, `ggg`),
    KEY `key_bbb` (`bbb`),
    KEY `key_ccc` (`ccc`)
    )ENGINE=MyISAM
    ROW_FORMAT=FIXED CHARACTER SET 'latin1' COLLATE 'latin1_swedish_ci';
    Generated code:
    CREATE TABLE my_table \[...\]
    CREATE INDEX All_ ON my_table
    aaa,
    bbb,
    ccc,
    ddd,
    eee,
    fff,
    ggg
    \[...\]

    That looks strange. I created the following three tables in mySQL:
    CREATE TABLE `my_table_a` (
    `aaa` CHAR(20) ,
    `bbb` CHAR(4) ,
    UNIQUE KEY `All` (`aaa`, `bbb`),
    KEY `key_aaa` (`aaa`),
    KEY `key_bbb` (`bbb`)
    CREATE TABLE `my_table_b` (
    `aaa` CHAR(20) ,
    `bbb` CHAR(4) ,
    UNIQUE KEY `All` (`aaa`, `bbb`),
    UNIQUE KEY `key_aaa` (`aaa`),
    KEY `key_bbb` (`bbb`)
    CREATE TABLE `my_table_c` (
    `aaa` CHAR(20) ,
    `bbb` CHAR(4) ,
    UNIQUE KEY `All` (`aaa`, `bbb`),
    KEY `key_aaa` (`aaa`),
    UNIQUE KEY `key_bbb` (`bbb`)
    The wrong result can already be seen in the captured model.
    Result for my_table_a:
    All: NON_UNIQUE
    key_aaa: NON_UNIQUE
    key_bbb: NON_UNIQUE
    Result for my_table_b:
    All: UNIQUE
    key_aaa: UNIQUE
    key_bbb: NON_UNIQUE
    Result for my_table_c:
    All: NON_UNIQUE
    key_aaa: NON_UNIQUE
    key_bbb: UNIQUE
    So there is at least one case where an index with two segments is remaining UNIQUE. But as soon as the index has three segments, the UNIQUE is lost.
    I'll check whether this is a known bug, and if not, I'll create a new bug.
    Regards,
    Wolfgang

  • SQL Developer fails to query table

    I am trying to use SQL Developer (v3.2.20.09) to query a particular table in an Oracle 10G database using a simple "select * from table" query.  When I run the query SQL Developer sits there forever waiting for results but nothing is every returned.
    The table is relatively small, just a few thousand rows and just half a dozen columns (mixture of numbers, short text strings and datetimes).  I can run other queries on the table in question so I know I have privileges, it's just when run a simple query to return all columns and all rows it fails.  I even tried to an export of the table using Tools->Database Export but that too just sat there forever failing to complete.
    Any ideas?  It seems that there is just something in the table that SQL Developer doesn't like.

    I've never used sqlplus before but I just tried it and it runs the same query (select * from [table] where rownum <= 40) without any problems.  The strange thing is that once I could see which row was row 40 in sqlplus I queried just that one row in SQL Developer (using the primary key column) and it worked fine.
    I did a bit more experimenting and it doesn't look like a problem with that row in particular just with displaying more than a certain number of rows.  The first column on the table is called OBJ_ID and is a unique integer which forms the primary key.  Row 40 has OBJ_ID = 53.  I tried running:
    select * from [table] where obj_id between 40 and 53 - no problems
    select * from [table] where obj_id between 30 and 53 - no problems
    select * from [table] where obj_id between 20 and 53 - no problems
    select * from [table] where obj_id between 10 and 53 - failure as above (no errors but SQL Developer never displays the results)

  • SQL Developer 1.5.5 Tables Node Works a few times

    When I connect and then view my current users tables by expanding the Tables nodes on the left hand side it works. It will work several times bur after being logged in for a while it stops working although other portions of developer continue to function fine. To resolve this I have to completely close developer and then run it again and connect.

    java.runtime.version     1.5.0_06-b05
    Oracle Server is 10.2.0.3.0
    Oracle Client is 10.2.0.4.0
    Client OS is XP Pro SP2
    Lets say I add a filter to the Tables Node and then later change it or even remove the filter and no tables show up. Disconnect does not fix it. I have to exit SQL Developer and start it again and connect. the does not seem to be a real pattern as to when the tables no loger show. i will say remove or change the filter and you can see it thinking and then the + sign goes awya but no tables listed even when I know some match the filter or even when no filter.

  • Import an excel file into SQL Developer and create a table

    Hello everyone!
    I have an Excel file I want to Import into SQL Developer. Do I need to Create a table first than import the file into the table?
    Or is there a way to import an Excel file and it automatically generate or turn into a table?
    I would really appreciate any directions or explanations.
    Thanks everyone!
    Java Man

    Joyce Scapicchio wrote:
    I suspect that you are having memory problems opening the excel file. This is a known issue with excel files for importing and exporting. Check this post for suggestions:
    Re: Export to Excel Hangs to Excel Hangs ]
    Joyce Scapicchio
    SQLDeveloper TeamThanks for the reply but the problem was I needed to convert the file to a csv format. To do this open the file in Excel and re-save as CSV Comma Delimiter. Don't worry about data-types because when the file is uploaded to SQL Developer, you will have the chance to set all the parameters, data-types and so on.
    Once I did this and try opening the file, the setup window opened and I was able to do all the additional tweaking and convert the data to a table.
    Because of this I am speculating that SQL Developer does not work with Excel XLSX extension.
    Thanks again!
    JM

  • SQL Developer crashing when opening or testing a connection

    SQL Developer closes abruptly when opening or testing a connection.
    Here's what I do.
    Open SQL Developer.
    Create a connection:
    Connection Name: [some string]
    Username: [username]
    Password: [password]
    Save password: checked
    Oracle tab:
    Connection type: TNS
    Connect Identifier: somedatabasename
    Then I click on "Test" and the application immediately quits. No error messages. The app does the same thing if I save the connection and try to expand its node on the list of connections.
    Mind you, if I use sqlplus like so:
    [username]/[password]@somedatabasename
    It connects just fine.
    I captured the output from the command console after SQL Developer crashed:
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Oracle\product\sqldeveloper\sqldeveloper\bin>sqldeveloper
    _execv() failed, err=2Registered TimesTen
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d9f97c5, pid=5480, t
    id=5840
    # JRE version: 6.0_43-b01
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.14-b01 mixed mode windows-amd64
    compressed oops)
    # Problematic frame:
    # V [jvm.dll+0x1397c5]
    # An error report file with more information is saved as:
    # C:\Oracle\product\sqldeveloper\sqldeveloper\bin\hs_err_pid5480.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    I am using:
    sqldeveloper 3.2.20.09.87 (64-bit)
    Java 1.6.0_43 (64-bit)
    Windows 7 Enterprise SP1 (64-bit)
    ODAC 11.2.0.3.20 x64
    Please help!
    Edited by: 993662 on Mar 13, 2013 9:10 AM

    @Jim:
    Thanks for your suggestion. After several hours of experimenting, I've managed to fix my problem by copying the ojdbc6.jar from my ODAC installation and replacing the one in [sqldeveloper root]\jdbc\lib
    To whomever has a similar issue: See my original post for what software I was using and their version numbers.
    Edited by: FrostyZoob on Mar 14, 2013 8:11 AM

  • Sql developer hangs when saving pl/sql external package or package body fil

    When I open a package body file I can modify the contents of the file.
    Compilation of the file works fine but when I want to close or save the file SQL developer hangs. I use version 1.2 (previous version did have the same problem.)
    Somebody has an idee what I'am doing wrong?

    Are you using 1.2.1.32.13?
    Sue

  • Oracle SQL Developer issue when using VPN (Cisco)

    All,
    We've got a somewhat obscure issue with SQL Developer connectivity to our databases from a remote employee's laptop.
    The database is hosted inside our firewall and when the employee tries to connect to the database he receives the following error:
    +"Error Encountered: An error was encountered performing the requested operation: The network adaptor could not establish the connection. Vendor Code 20"+
    I believe I may have seen the following error at one point as well...
    Status : Failure -Test failed: IO Error: The Network Adapter could not establish the connection
    Note: He gets this error when logged into our VPN & while he can connect via SQL*Plus to that same database. He gets the error regardless if he uses the tnsnames entry option in SQL Developer or if he is using the "Basic" connection type.
    What's interesting is that if he disconnects from the VPN, turns off his wireless connectivity and then hard-wires into our network he can connect, no issue.
    The strangest part for me is that while he can not connect to the database via SQL Developer, he can connect via SQL*Plus. He can ping the source IP address fine, he can tnsping the database no problem, he can connect via SQL*Plus, he just can't connect via SQL*Developer. Since SQL*Plus and tnsping are working, I know he can access the db server via port 1521, so I don't think it's a port issue.
    Another strange thing: When he connects to our network via an "old" VPN (open VPN) he has no issues.
    His machine is Windoz 64 bit (HP laptop) and he's using the latest version of SQL Developer and a newer JVM.
    Also interesting: I also have a Windoz 64 bit laptop (Lenovo) and I do not have the same issues as he does. I however am running an older version of SQL Developer and probably an older JVM.
    I dug around a bit, seems like perhaps this has something to do with IPv6? No idea what to do next except have my network guy look at firewall logs to try to capture where the connectivity is being dropped.
    Any thoughts or suggestions would be appreciated. I've tried all kinds of things (giving him my tnsnames.ora and sqlnet.ora file, manually editing those files, tried IP addresses instead of host names, tried host names with the .doman.org extensions, etc.).
    Again, any suggestions would be appreciated and thank you very much.
    Rich
    Edited by: rmurnane on Oct 23, 2012 10:58 AM

    Since SQLPlus is installed and works fine you could try to set
    Tools -> Preferences -> Database -> Advanced -> Use OCI/Thick driverThis should enable SQLDeveloper to use the same oracle client SQLPlus is using to connect to the database.
    Mind that by setting this option you need to have an 11g client (or instant client) installed that matches the ojdbc6.jar version used by SQLDeveloper, so if you are using an older client this may not be a usable solution.

  • SQL Developer not fetching data tables while writting query

    HI , I have recently started using SQL developer 2.1, the problem i face is that SQL DEVELOPER is not showing the tables names while writting the query, we have more than 5000 tables and each table name cannot be remembered.
    Thanks
    Essa

    I'm using the Mac version of SQL Developer (Version 2.1.1.64 | Build MAIN-64.45) and I'm having similar problems. I'm currently using OS X Snow Leopard.
    The issue does not happen consistently: If I start writing an anonymous block in a new SQL window, the Completion Insight features works well. I can start typing a name of a package (of which there are many in our db) and I'm quickly provided a list matching what I've typed so far. This is also true of variables, functions and procedures within the packages after I type a period following the package name.
    However, if I open an existing package body and start editing, the Completion Insight feature becomes less reliable. If I move my cursor to the beginning of the main block of one of the package body's internal procedures, Completion Insight works. As I move down the package and try to insert new code, Completion Insight stops working. I should note that this package body I'm working with has no errors and compiles fine. I'm not sure what this indicates...whether it's an issue with the editors internal parser or some other issue.
    I'm not sure the best method for starting SQL Developer via the console window on the Mac. I found the following sh file which does launch it from terminal:
    /Applications/SQLDeveloper.app/Contents/MacOS/sqldeveloper.sh
    This does launch the application. As I navigate around and follow the instructions you had given (including ctrl-space) I see no output generated out to the console (errors or other messages).
    I'm happy to assist in further debugging. Having Completion Insight work consistently will certainly increase my productivity with the tool.
    Thanks in advance for any help you may provide.

  • Sql developer closes when testing connection

    I have windows 7 64 bit, but, also have ms office 32 bit, so, do need the 32 bit drivers.
    If my path starts with the location of the 32 bit drivers and I test my oracle connection in sql developer with the oci thick driver checked, I get the error stating can't use the 32 bit drivers with a 64 bit machine (Status : Failure -Test failed: C:\app\32BitDrivers\product\11.2.0\client_3\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform).
    If the thick driver is unchecked, I get:
    Status : Failure -Test failed: ORA-01017: invalid username/password; logon denied
    I believe this is due to this database being set up to use something like a name validation server(?), because I can connect to another database that does not have that special authentication.
    If I have the path set to the 64 bit driver, sql developer will close when I try to test the connection with either the oci thick driver checked or un-checked (and testing either of the 2 databases).
    any ideas?
    sql developer Version 3.2.20.09
    jdk1.6.0_45 (came in the d/l with sql developer)
    oracle 11gR2
    sqlplus does connect to both databases
    Happen to have toad and was finally able to get it to connect to both databases.
    oh, btw, is the 32 bit driver sqora32.dll?
    what would the 64 bit driver be named?
    thanks,
    Alan
    Edited by: user1219396 on May 10, 2013 9:36 AM

    So, checking what java is running:
    C:\>java -version
    java version "1.7.0_21"
    Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
    Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
    However, I have C:\oracle\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf showing
    SetJavaHome C:\oracle\sqldeveloper\jdk1.6.0_45
    Also, I thought that the loading 32 bit on 64 bit system message meant that sql developer was 64 bit. Does it matter is sql dev is 64 or 32 bit and how do I tell which it is?
    Also, there is a log file that shows up in the sql dev bin folder that matches the time when the program closes, like hs_err_pid12380.log. It's showing:
    # A fatal error has been detected by the Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006d9fd904, pid=13208, tid=8988
    # JRE version: 6.0_45-b06
    # Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops)
    # Problematic frame:
    # V [jvm.dll+0x11d904]
    So, appears that it is using the version specified in the .conf file. However, not seeing useful info in the log file, probably cause there's so much there.
    thanks
    When I try to get it to use the 64 bit driver, sql developer just closes. So, not sure if I'm actually pointing to the right location or what.

Maybe you are looking for