SQL Developer - No Compiler - Log

Hi,
We are being asked to use SQL Developer instead of another app and finding it very tough going.
I have Windows 7 64bit, SQL Developer 3 64bit and JDK 64bit
I have just installed version 3 and I am having a problem.
I open a new SQL worksheet and I type the following:
begin
dfsljk
end;
I then press either the run statement button or the run script button hoping to see the compiler - log window appear with the error.
The last version used to do this.
Instead all I get is a text dump in the script output.
What has happeend to compiler - log?
How do I get it backl?
I have tried ctrl-alt-l but nothing happens
Robert
Edited by: RobertMetcalf on May 13, 2011 2:35 PM

If Sue has had the time to follow up, it apparently did not manifest as a new bug. I did not check for any old bugs.
Anyway, the change in behavior was probably intentional to improve internal consistency in the tool. For errors in anonymous blocks in a worksheet, neither 2.1 nor 3.0 brings up the compiler log. Any error message displays only in the script or statement output tabs.
As for package, function, and procedure definitions, the first attempt to execute the DDL in a worksheet results in a new node of the appropriate name and type appearing in the Connections tree view (whether the compile succeeds or fails). This may require a "Refresh" for the object to display in the tree. If there is some issue during compilation, the 2.1 output tab shows, for example,
PROCEDURE XYZ compiled
Errors: check compiler log <--- implying an intent to display details in the compiler log
whereas the 3.0 output tab shows
PROCEDURE xyz compiled
Warning: execution completed with warning <--- implying no intent to display details in the compiler log
Subsequent create invocations (without the "or replace" syntax) results in a "ORA-00955: name is already used by an existing object" error, hinting that opening the PL/SQL editor on the object from the Connections tree view is really the appropriate action to take.
Notice also, in the 2.1 compiler log, that right clicking on the error and selecting "Go to Source" does nothing for PL/SQL code executed from the worksheet. It only goes to the proper source line for code compiled from the PL/SQL editor.
The tool, by pushing you toward use of the PL/SQL editor, is probably doing you a favor. The PL/SQL environment is a superior development environment as compared to the worksheet trying to emulate SQL*Plus. For example, some SQL*Plus features (such as variable declarations for use as bind variables) are not fully implemented in SQL Developer. The implementation of the PL/SQL context seems much more solid.
Gary Graham
SQL Developer Team

Similar Messages

  • SOLVED: SQL Developer Code Compilation with warnings

    Hi, I think I found one bug in sql developer.
    I have one pl/sql package, that contains a lot of code. In the previous SQL Developer releases (prior to 1.2) when you compile the code, first appears the errors and then the warnings. Because of some type conversion in my sql statements i have more than 20 warnings, and now i cannot see the errors (i think that they will appear if i'm able to increase this "20 messages" limit). I was searching for some option in SQL Developer to increase the number of displayed warnings or errors (or turn off the warnings) but i cannot find such parameter.
    Is this a bug, or i'm missing something ?
    PS: because of this, i'm not able to compile my package with sql developer, and i'm compiling via sqlplus.
    null

    Yes, you're missing something: the forum's search feature.
    See:
    compile with many warnings causes compiler dont show errors correctly
    Compiling an invalid packagebody without errormessage
    SQL Developer says Compile sucessful but it is not
    K.

  • SQL Developer EA4 - compile/open spec/body take longer then 3.2.2

    The Compile takes too long in compare to SQL Developer 3.2.2
             Sometimes the SQL Developer  freeze
             Sometimes a warning of low memory window come up  and then goes away
    The Opening of Spec/body takes too long compare to SQL Developer 3.2.2.
    Note:
    More visible on big packages (3000,5000,10000 lines)
    Environment:
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit
    Windows 7 Ultimate
    Processor Intel(R) Core(TM)i7 CPU [email protected] GHz
    RAM 8. GB
    OS 64 bit

    The package body has  around 6200 lines take a while to open.
    Below is the  info that  you requested.
            at java.util.TimerThread.mainLoop(Timer.java:552)
            - locked <0x00000000f4f45df0> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "TimedCache-Timer" daemon prio=6 tid=0x000000000b530000 nid=0x156c in Object.wai
    t() [0x000000000efdf000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f473bf50> (a java.util.TaskQueue)
            at java.lang.Object.wait(Object.java:503)
            at java.util.TimerThread.mainLoop(Timer.java:526)
            - locked <0x00000000f473bf50> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "Framework Event Dispatcher" daemon prio=6 tid=0x000000000b52d000 nid=0x1568 in
    Object.wait() [0x000000000de0f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3e64f38> (a org.eclipse.osgi.framework.eventmgr
    .EventManager$EventThread)
            at java.lang.Object.wait(Object.java:503)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
    vent(EventManager.java:400)
            - locked <0x00000000f3e64f38> (a org.eclipse.osgi.framework.eventmgr.Eve
    ntManager$EventThread)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
    tManager.java:336)
    "Framework Active Thread" prio=6 tid=0x000000000b52b800 nid=0x1194 in Object.wai
    t() [0x000000000ca5f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3daf900> (a org.eclipse.osgi.framework.internal
    .core.Framework)
            at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java
    :1863)
            - locked <0x00000000f3daf900> (a org.eclipse.osgi.framework.internal.cor
    e.Framework)
            at java.lang.Thread.run(Thread.java:722)
    "CLI Requests Server" daemon prio=6 tid=0x000000000b6c8000 nid=0x105c runnable [
    0x000000000c65f000]
       java.lang.Thread.State: RUNNABLE
            at java.net.DualStackPlainSocketImpl.accept0(Native Method)
            at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketIm
    pl.java:121)
            at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:
    398)
            at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
            - locked <0x00000000f39cb7f8> (a java.net.SocksSocketImpl)
            at java.net.ServerSocket.implAccept(ServerSocket.java:522)
            at java.net.ServerSocket.accept(ServerSocket.java:490)
            at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1100)
    "Active Reference Queue Daemon" daemon prio=2 tid=0x000000000b719800 nid=0x1308
    in Object.wait() [0x000000000c37f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3c08468> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3c08468> (a java.lang.ref.ReferenceQueue$Lock)
            at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.ja
    va:180)
            - locked <0x00000000f3c08468> (a java.lang.ref.ReferenceQueue$Lock)
    "TimerQueue" daemon prio=6 tid=0x0000000009ade800 nid=0xc6c runnable [0x00000000
    0bdcf000]
       java.lang.Thread.State: TIMED_WAITING (parking)
            at sun.misc.Unsafe.park(Native Method)
            - parking to wait for  <0x00000000f3924ba8> (a java.util.concurrent.lock
    s.AbstractQueuedSynchronizer$ConditionObject)
            at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
    .awaitNanos(AbstractQueuedSynchronizer.java:2082)
            at java.util.concurrent.DelayQueue.take(DelayQueue.java:220)
            at javax.swing.TimerQueue.run(TimerQueue.java:171)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-EventQueue-0" prio=6 tid=0x0000000009a0a000 nid=0x1500 runnable [0x00000000
    0a79d000]
       java.lang.Thread.State: RUNNABLE
            at java.net.SocketInputStream.socketRead0(Native Method)
            at java.net.SocketInputStream.read(SocketInputStream.java:150)
            at java.net.SocketInputStream.read(SocketInputStream.java:121)
            at oracle.net.ns.Packet.receive(Packet.java:300)
            at oracle.net.ns.DataPacket.receive(DataPacket.java:106)
            at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:315)
            at oracle.net.ns.NetInputStream.read(NetInputStream.java:260)
            at oracle.net.ns.NetInputStream.read(NetInputStream.java:185)
            at oracle.net.ns.NetInputStream.read(NetInputStream.java:102)
            at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSock
    etInputStreamWrapper.java:124)
            at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStr
    eamWrapper.java:80)
            at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1137)
            at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:290)
            at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
            at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
            at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.
    java:204)
            at oracle.jdbc.driver.T4CCallableStatement.fetch(T4CCallableStatement.ja
    va:1116)
            at oracle.jdbc.driver.OracleResultSetImpl.close_or_fetch_from_next(Oracl
    eResultSetImpl.java:373)
            - locked <0x00000000f7afea78> (a oracle.jdbc.driver.T4CConnection)
            at oracle.jdbc.driver.OracleResultSetImpl.next(OracleResultSetImpl.java:
    277)
            - locked <0x00000000f7afea78> (a oracle.jdbc.driver.T4CConnection)
            at oracle.dbtools.raptor.navigator.net.DBURLStreamHandlerFactory.fetchSo
    urce(DBURLStreamHandlerFactory.java:282)
            at oracle.dbtools.raptor.navigator.net.DBURLFileSystemHelper.createReade
    r(DBURLFileSystemHelper.java:164)
            at oracle.ideimpl.net.LazyURLFileSystemHelper.createReader(LazyURLFileSy
    stemHelper.java:365)
            at oracle.ide.net.URLFileSystem.createReader(URLFileSystem.java:1707)
            at oracle.ide.model.TextNode.createReader(TextNode.java:1099)
            at oracle.ide.model.TextNode.loadTextBuffer(TextNode.java:302)
            at oracle.ide.model.TextNode.openImpl(TextNode.java:537)
            at oracle.dbtools.raptor.navigator.plsql.PlSqlNode.openImpl(PlSqlNode.ja
    va:101)
            at oracle.ide.model.Node.open(Node.java:1045)
            at oracle.ide.model.Node.open(Node.java:992)
            at oracle.ide.model.TextNode.acquireTextBufferOrThrow(TextNode.java:812)
            at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1963)
            at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1390)
            - locked <0x00000000f97551c0> (a oracle.ide.ceditor.CodeEditor)
            at com.oracle.jdeveloper.nbwindowsystem.editor.EditorState.createEditor(
    EditorState.java:169)
            at com.oracle.jdeveloper.nbwindowsystem.editor.EditorState.getOrCreateEd
    itor(EditorState.java:103)
            at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPaneState.canSetEdit
    orStatePos(SplitPaneState.java:257)
            at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPaneState.setCurrent
    EditorStatePos(SplitPaneState.java:220)
            at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.createSplit
    PaneState(TabGroupState.java:110)
            at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.addTabGroupState
    (TabGroup.java:116)
            at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbE
    ditorManager.java:534)
            at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbE
    ditorManager.java:511)
            at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.openEditor(NbEdi
    torManager.java:379)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.openEditor(Na
    vSelectionListener.java:829)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.openEditor(Na
    vSelectionListener.java:749)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener.access$1500(N
    avSelectionListener.java:82)
            at oracle.dbtools.raptor.oviewer.base.NavSelectionListener$4.run(NavSele
    ctionListener.java:476)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
            at java.awt.EventQueue.access$200(EventQueue.java:103)
            at java.awt.EventQueue$3.run(EventQueue.java:688)
            at java.awt.EventQueue$3.run(EventQueue.java:686)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo
    main.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
            at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQu
    eueWrapper.java:169)
            at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQue
    ueWrapper.java:151)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:242)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:161)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:150)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    "AWT-Windows" daemon prio=6 tid=0x0000000009a09800 nid=0x1084 runnable [0x000000
    000a52f000]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.windows.WToolkit.eventLoop(Native Method)
            at sun.awt.windows.WToolkit.run(WToolkit.java:299)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-Shutdown" prio=6 tid=0x0000000009a04800 nid=0x11dc in Object.wait() [0x0000
    00000a42f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39cc0b8> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:503)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
            - locked <0x00000000f39cc0b8> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:722)
    "Java2D Disposer" daemon prio=10 tid=0x0000000009a02000 nid=0xedc in Object.wait
    () [0x000000000a32f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3c0dc20> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3c0dc20> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at sun.java2d.Disposer.run(Disposer.java:145)
            at java.lang.Thread.run(Thread.java:722)
    "Service Thread" daemon prio=6 tid=0x00000000097fa800 nid=0x14bc runnable [0x000
    0000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread1" daemon prio=10 tid=0x00000000097e8000 nid=0x15e0 waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread0" daemon prio=10 tid=0x00000000097e0800 nid=0x1494 waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x00000000097df800 nid=0x15f8 runnable [0x0
    000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x00000000097de800 nid=0x161c waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x00000000078bb800 nid=0x4cc in Object.wait() [0x0
    00000000976f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3a05b40> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3a05b40> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)
    "Reference Handler" daemon prio=10 tid=0x00000000078b3000 nid=0x14c4 in Object.w
    ait() [0x000000000966f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39d3838> (a java.lang.ref.Reference$Lock)
            at java.lang.Object.wait(Object.java:503)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
            - locked <0x00000000f39d3838> (a java.lang.ref.Reference$Lock)
    "main" prio=6 tid=0x000000000235d000 nid=0xc8c waiting on condition [0x000000000
    0000000]
       java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x00000000077ca800 nid=0xf24 runnable
    "GC task thread#0 (ParallelGC)" prio=6 tid=0x000000000236e000 nid=0xdb0 runnable
    "GC task thread#1 (ParallelGC)" prio=6 tid=0x000000000236f800 nid=0x6a4 runnable
    "GC task thread#2 (ParallelGC)" prio=6 tid=0x0000000002371000 nid=0x131c runnabl
    e
    "GC task thread#3 (ParallelGC)" prio=6 tid=0x0000000002373000 nid=0x1508 runnabl
    e
    "GC task thread#4 (ParallelGC)" prio=6 tid=0x0000000002376800 nid=0x1608 runnabl
    e
    "GC task thread#5 (ParallelGC)" prio=6 tid=0x0000000002377800 nid=0xdf4 runnable
    "GC task thread#6 (ParallelGC)" prio=6 tid=0x0000000002379000 nid=0x1518 runnabl
    e
    "GC task thread#7 (ParallelGC)" prio=6 tid=0x000000000237a000 nid=0xf50 runnable
    "VM Periodic Task Thread" prio=10 tid=0x0000000009803800 nid=0xfa4 waiting on co
    ndition
    JNI global references: 1712
    Heap
    PSYoungGen      total 65984K, used 49680K [0x00000000fbd60000, 0x00000000fffd00
    00, 0x0000000100000000)
      eden space 63872K, 77% used [0x00000000fbd60000,0x00000000fed7b368,0x00000000f
    fbc0000)
      from space 2112K, 19% used [0x00000000ffbc0000,0x00000000ffc28fd8,0x00000000ff
    dd0000)
      to   space 1984K, 0% used [0x00000000ffde0000,0x00000000ffde0000,0x00000000fff
    d0000)
    ParOldGen       total 124928K, used 103514K [0x00000000f3800000, 0x00000000fb20
    0000, 0x00000000fbd60000)
      object space 124928K, 82% used [0x00000000f3800000,0x00000000f9d16be0,0x000000
    00fb200000)
    PSPermGen       total 116160K, used 85069K [0x00000000e3800000, 0x00000000ea970
    000, 0x00000000f3800000)
      object space 116160K, 73% used [0x00000000e3800000,0x00000000e8b137b0,0x000000
    00ea970000)
    During the compile
            at oracle.ideimpl.log.TabbedLogManager$4.run(TabbedLogManager.java:321)
            at java.lang.Thread.run(Thread.java:722)
    "JarIndex Timer" daemon prio=6 tid=0x000000000b52e800 nid=0x12a0 in Object.wait(
    ) [0x00000000113df000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f4f28660> (a java.util.TaskQueue)
            at java.util.TimerThread.mainLoop(Timer.java:552)
            - locked <0x00000000f4f28660> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "TimedCache-Timer" daemon prio=6 tid=0x000000000b530000 nid=0x156c in Object.wai
    t() [0x000000000efdf000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f472ba70> (a java.util.TaskQueue)
            at java.lang.Object.wait(Object.java:503)
            at java.util.TimerThread.mainLoop(Timer.java:526)
            - locked <0x00000000f472ba70> (a java.util.TaskQueue)
            at java.util.TimerThread.run(Timer.java:505)
    "Framework Event Dispatcher" daemon prio=6 tid=0x000000000b52d000 nid=0x1568 in
    Object.wait() [0x000000000de0f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3e58220> (a org.eclipse.osgi.framework.eventmgr
    .EventManager$EventThread)
            at java.lang.Object.wait(Object.java:503)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextE
    vent(EventManager.java:400)
            - locked <0x00000000f3e58220> (a org.eclipse.osgi.framework.eventmgr.Eve
    ntManager$EventThread)
            at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(Even
    tManager.java:336)
    "Framework Active Thread" prio=6 tid=0x000000000b52b800 nid=0x1194 in Object.wai
    t() [0x000000000ca5f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3da2ee0> (a org.eclipse.osgi.framework.internal
    .core.Framework)
            at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java
    :1863)
            - locked <0x00000000f3da2ee0> (a org.eclipse.osgi.framework.internal.cor
    e.Framework)
            at java.lang.Thread.run(Thread.java:722)
    "CLI Requests Server" daemon prio=6 tid=0x000000000b6c8000 nid=0x105c runnable [
    0x000000000c65f000]
       java.lang.Thread.State: RUNNABLE
            at java.net.DualStackPlainSocketImpl.accept0(Native Method)
            at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketIm
    pl.java:121)
            at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:
    398)
            at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:183)
            - locked <0x00000000f39c1c70> (a java.net.SocksSocketImpl)
            at java.net.ServerSocket.implAccept(ServerSocket.java:522)
            at java.net.ServerSocket.accept(ServerSocket.java:490)
            at org.netbeans.CLIHandler$Server.run(CLIHandler.java:1100)
    "Active Reference Queue Daemon" daemon prio=2 tid=0x000000000b719800 nid=0x1308
    in Object.wait() [0x000000000c37f000]
       java.lang.Thread.State: TIMED_WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3bfd160> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3bfd160> (a java.lang.ref.ReferenceQueue$Lock)
            at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.ja
    va:180)
            - locked <0x00000000f3bfd160> (a java.lang.ref.ReferenceQueue$Lock)
    "TimerQueue" daemon prio=6 tid=0x0000000009ade800 nid=0xc6c runnable [0x00000000
    0bdcf000]
       java.lang.Thread.State: RUNNABLE
            at sun.misc.Unsafe.compareAndSwapObject(Native Method)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.compareAndSetTa
    il(AbstractQueuedSynchronizer.java:2309)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.enq(AbstractQue
    uedSynchronizer.java:591)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer.transferAfterCa
    ncelledWait(AbstractQueuedSynchronizer.java:1699)
            at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject
    .awaitNanos(AbstractQueuedSynchronizer.java:2079)
            at java.util.concurrent.DelayQueue.take(DelayQueue.java:220)
            at javax.swing.TimerQueue.run(TimerQueue.java:171)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-EventQueue-0" prio=6 tid=0x0000000009a0a000 nid=0x1500 runnable [0x00000000
    0a79d000]
       java.lang.Thread.State: RUNNABLE
            at org.openide.util.RequestProcessor$TickTac.schedule(RequestProcessor.j
    ava:2217)
            - locked <0x00000000f39c8ae8> (a java.lang.Class for org.openide.util.Re
    questProcessor$TickTac)
            at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java
    :1504)
            at org.openide.util.RequestProcessor$Task.schedule(RequestProcessor.java
    :1473)
            at org.openide.loaders.FolderList.refresh(FolderList.java:420)
            - locked <0x00000000fe696000> (a org.openide.loaders.FolderList)
            at org.openide.loaders.FolderList.fileDataCreated(FolderList.java:530)
            at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerIm
    pl.java:458)
            at com.sun.proxy.$Proxy1.fileDataCreated(Unknown Source)
            at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent
    Impl(FCLSupport.java:139)
            at org.openide.filesystems.FCLSupport$DispatchEventWrapper.dispatchEvent
    (FCLSupport.java:128)
            at org.openide.filesystems.FCLSupport.dispatchEvent(FCLSupport.java:105)
            at org.openide.filesystems.FileObject$ED.dispatch(FileObject.java:1314)
            at org.openide.filesystems.EventControl.invokeDispatchers(EventControl.j
    ava:213)
            at org.openide.filesystems.EventControl.exitAtomicAction(EventControl.ja
    va:188)
            at org.openide.filesystems.EventControl.runAtomicAction(EventControl.jav
    a:129)
            at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:60
    9)
            at org.openide.loaders.DataObjectPool.runAtomicActionSimple(DataObjectPo
    ol.java:229)
            at org.openide.loaders.InstanceDataObject$Creator.createInstanceDataObje
    ct(InstanceDataObject.java:1579)
            - locked <0x00000000f71735e0> (a org.openide.loaders.InstanceDataObject$
    Creator)
            at org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java
    :343)
            at org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java
    :319)
            at org.netbeans.core.windows.persistence.PersistenceManager.saveTopCompo
    nents(PersistenceManager.java:844)
            at org.netbeans.core.windows.persistence.PersistenceManager.saveWindowSy
    stem(PersistenceManager.java:1181)
            at org.netbeans.core.windows.PersistenceHandler.save(PersistenceHandler.
    java:323)
            - locked <0x00000000f56e8770> (a org.netbeans.core.windows.PersistenceHa
    ndler)
            at org.netbeans.core.windows.WindowSystemImpl.save(WindowSystemImpl.java
    :93)
            at com.oracle.jdeveloper.nbwindowsystem.NbDockStation.saveLayout(NbDockS
    tation.java:500)
            at oracle.ideimpl.cmd.SaveSystemFilesUtil.saveSystemFiles(SaveSystemFile
    sUtil.java:72)
            - locked <0x00000000f72658d0> (a java.lang.Class for oracle.ideimpl.cmd.
    SaveSystemFilesUtil)
            at oracle.ideimpl.cmd.SaveSystemFilesUtil$1.run(SaveSystemFilesUtil.java
    :25)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:727)
            at java.awt.EventQueue.access$200(EventQueue.java:103)
            at java.awt.EventQueue$3.run(EventQueue.java:688)
            at java.awt.EventQueue$3.run(EventQueue.java:686)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDo
    main.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:697)
            at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQu
    eueWrapper.java:169)
            at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQue
    ueWrapper.java:151)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:242)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:161)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:150)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    "AWT-Windows" daemon prio=6 tid=0x0000000009a09800 nid=0x1084 runnable [0x000000
    000a52f000]
       java.lang.Thread.State: RUNNABLE
            at sun.awt.windows.WToolkit.eventLoop(Native Method)
            at sun.awt.windows.WToolkit.run(WToolkit.java:299)
            at java.lang.Thread.run(Thread.java:722)
    "AWT-Shutdown" prio=6 tid=0x0000000009a04800 nid=0x11dc in Object.wait() [0x0000
    00000a42f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39c2530> (a java.lang.Object)
            at java.lang.Object.wait(Object.java:503)
            at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:287)
            - locked <0x00000000f39c2530> (a java.lang.Object)
            at java.lang.Thread.run(Thread.java:722)
    "Java2D Disposer" daemon prio=10 tid=0x0000000009a02000 nid=0xedc in Object.wait
    () [0x000000000a32f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f3c027e8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f3c027e8> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at sun.java2d.Disposer.run(Disposer.java:145)
            at java.lang.Thread.run(Thread.java:722)
    "Service Thread" daemon prio=6 tid=0x00000000097fa800 nid=0x14bc runnable [0x000
    0000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread1" daemon prio=10 tid=0x00000000097e8000 nid=0x15e0 runnable [
    0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "C2 CompilerThread0" daemon prio=10 tid=0x00000000097e0800 nid=0x1494 waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Attach Listener" daemon prio=10 tid=0x00000000097df800 nid=0x15f8 runnable [0x0
    000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Signal Dispatcher" daemon prio=10 tid=0x00000000097de800 nid=0x161c waiting on
    condition [0x0000000000000000]
       java.lang.Thread.State: RUNNABLE
    "Finalizer" daemon prio=8 tid=0x00000000078bb800 nid=0x4cc in Object.wait() [0x0
    00000000976f000]
       java.lang.Thread.State: WAITING (on object monitor)
            at java.lang.Object.wait(Native Method)
            - waiting on <0x00000000f39fbe28> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
            - locked <0x00000000f39fbe28> (a java.lang.ref.ReferenceQueue$Lock)
            at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
            at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)
    "Reference Handler" daemon prio=10 tid=0x00000000078b3000 nid=0x14c4 runnable [0
    x000000000966f000]
       java.lang.Thread.State: RUNNABLE
            at java.lang.Object.notifyAll(Native Method)
            at java.lang.ref.ReferenceQueue.enqueue(ReferenceQueue.java:68)
            - locked <0x00000000f396b3c0> (a java.lang.ref.ReferenceQueue$Lock)
            - locked <0x00000000fe739bb0> (a java.util.WeakHashMap$Entry)
            at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:146)
    "main" prio=6 tid=0x000000000235d000 nid=0xc8c waiting on condition [0x000000000
    0000000]
       java.lang.Thread.State: RUNNABLE
    "VM Thread" prio=10 tid=0x00000000077ca800 nid=0xf24 runnable
    "GC task thread#0 (ParallelGC)" prio=6 tid=0x000000000236e000 nid=0xdb0 runnable
    "GC task thread#1 (ParallelGC)" prio=6 tid=0x000000000236f800 nid=0x6a4 runnable
    "GC task thread#2 (ParallelGC)" prio=6 tid=0x0000000002371000 nid=0x131c runnabl
    e
    "GC task thread#3 (ParallelGC)" prio=6 tid=0x0000000002373000 nid=0x1508 runnabl
    e
    "GC task thread#4 (ParallelGC)" prio=6 tid=0x0000000002376800 nid=0x1608 runnabl
    e
    "GC task thread#5 (ParallelGC)" prio=6 tid=0x0000000002377800 nid=0xdf4 runnable
    "GC task thread#6 (ParallelGC)" prio=6 tid=0x0000000002379000 nid=0x1518 runnabl
    e
    "GC task thread#7 (ParallelGC)" prio=6 tid=0x000000000237a000 nid=0xf50 runnable
    "VM Periodic Task Thread" prio=10 tid=0x0000000009803800 nid=0xfa4 waiting on co
    ndition
    JNI global references: 1601
    Heap
    PSYoungGen      total 51968K, used 43392K [0x00000000fbd60000, 0x00000001000000
    00, 0x0000000100000000)
      eden space 43392K, 100% used [0x00000000fbd60000,0x00000000fe7c0000,0x00000000
    fe7c0000)
      from space 8576K, 0% used [0x00000000ff7a0000,0x00000000ff7a0000,0x00000001000
    00000)
      to   space 12416K, 0% used [0x00000000fe7c0000,0x00000000fe7c0000,0x00000000ff
    3e0000)
    ParOldGen       total 136576K, used 136570K [0x00000000f3800000, 0x00000000fbd6
    0000, 0x00000000fbd60000)
      object space 136576K, 99% used [0x00000000f3800000,0x00000000fbd5e898,0x000000
    00fbd60000)
    PSPermGen       total 86656K, used 86345K [0x00000000e3800000, 0x00000000e8ca00
    00, 0x00000000f3800000)
      object space 86656K, 99% used [0x00000000e3800000,0x00000000e8c52670,0x0000000
    0e8ca0000)
    After a while  I received the  message
    "Your database connection has been reset. Any pending transactions or session state has been lost"
    Please let me know if  you need anything else.

  • SQL Developer says Compile sucessful but it is not

    I am trying to compile a procedure on a 10g instance. When I compile it, using any number of means to do so, it always says the compile was successful. Then when I try to view the changes in TOAD, they are not there. What is happening here? I using version 1.1.2.25 of SQL Developer.

    True - but while I may be able to reproduce the problem on my database I can't provide the example without the 600Gb of underlying data.
    Anyway, I've just located the package that was a problem last week and it was marked with a red cross indicating it was invalid - also double-checked that it had a status of INVALID in DBA_OBJECTS. (BTW - the problem was due to a dependent package having a duplicate variable declaration - but was still valid despite this being 'illegal')
    So I right-click and select compile and this results in "SR_POLICY Compiled" being displayed in the Message Log pane. When I attempt to refresh the connections tree the staus flag does not change. Requery DBA_OBJECTS confirms that the status is still INVALID.
    Then I right-click against the package in the connection tree and select Compile. This time I get the following message(s) ...
    SR_POLICY Compiled
    SR_POLICY Body Compiled
    Also, the status in the connection tree has changed and the invalid flag has disappeared. The query against DBA_OBJECTS also confirms that the package is now valid.
    Nobody else on the server, no changes to the underlying code, but the first attempt to compile fails.
    It would be useful if others could contribute if they have come across similar examples on this sort of problem.

  • SQL Developer 1.5: Logging Page - oracle.dbtools.db.DBUtil - ORA-12705

    I just downloaded SQL Developer 1.5.
    When I try logging into any database, the Logging Page shows:
    Source: oracle.dbtools.db.DBUtil
    Message: ORA-12705: Cannot access NLS data files or invalid environment specified
    I've tried setting the NLS preferences to the default ... no dice/
    SQL Developer 1.2 works fine.

    Hi Helder,
    I think you're on the right track but when I made the changes you described
        Tools -> Preferences -> Database -> NLS parameters
        "Decimal Separator" from . to '.'
        "Group Separator"   from , to ','
        "Currency"          from $ to '$'I found that, while the error messages did indeed stop, my numbers started being formatted incorrectly.
    select to_char( 12345.23, '99G999D99' ) from dual
    TO_CHAR(12345.23,'99G999D99')
    12.345'23   Note how the single quote appears as a decimal separator and a period appears as the group separator.
    Your idea did however lead me to the following workaround which eliminates the ora-12705 error and sets the decimal and group separators properly.
        Tools -> Preferences -> Database -> NLS parameters
        "Decimal Separator" from . to .,
        "Group Separator"   from , to      (i.e. leave the field blank)The currency separator can stay at its original value, a single $ character. After making these changes the query above returns this.
    select to_char( 12345.23, '99G999D99' ) from dual
    TO_CHAR(12345.23,'99G999D99')
    12,345.23                    --
    Joe Fuda

  • Plsql_optimize_level = 3 and native compilation in SQL Developer?

    SQL Developer: Version 3.1.06 (Build MAIN-06.82)
    Oracle: 11gR2
    OS: Ubuntu 10.10
    Whenever I compile a PL/SQL unit in SQL Developer (using 'Compile' button) it is compiled with the following settings:
    PLSQL_OPTIMIZE_LEVEL = 2
    PLSQL_CODE_TYPE = 'INTERPRETED'
    However, if I issue the following commands in an SQL Worksheet:
    ALTER SESSION SET plsql_optimize_level = 3;
    ALTER PACKAGE PACKAGE_NAME COMPILE PLSQL_CODE_TYPE = NATIVE;
    the query SELECT PLSQL_OPTIMIZE_LEVEL, PLSQL_CODE_TYPE FROM ALL_PLSQL_OBJECT_SETTINGS WHERE NAME = 'PACKAGE_NAME'; resullts in
    PLSQL_OPTIMIZE_LEVEL     PLSQL_CODE_TYPE
    3     NATIVE
    3     NATIVE
    Is it possible to make SQL Developer to use these settings by default?
    P.S. It seems that Tools > Preferences > Database > PL/SQL Compiler menu section is missing the options I need (Optimization level drop-down menu have numbers 0-2, but not 3). Are there any plans to support these features in the future releases?
    Edited by: Ravshan Abbasov on Feb 6, 2012 6:28 AM

    Hi Ravshan,
    I thought a workaround would be to create a sql script like the following:
    alter session set plsql_code_type=native;
    alter session set plsql_optimize_level=3;  then point to it in the setting for Tools|Preferences|Database|Filename for connection startup script. That doesn't work however, as the other preference setting for plsql_optimize_level overrides the session value of 3 during compilation from the UI.
    According to Oracle documentation, level 3 was added for Oracle 11g. Prior to that, the same effect could be achieved by level 2 in conjunction with the INLINE pragma in the PL/SQL code.
    You might want to make a feature request for this on the SQL Developer Exchange so the community can vote and comment.
    Regards,
    Gary
    SQL Developer Team
    Edited by: Gary Graham on Feb 6, 2012 2:32 PM
    And, of course, Compile for Debug does not work with the 'native' setting.

  • PL/SQL Bug in SQL Developer?

    SQL Developer v 1.1.1.25 running on Windows XP.
    I have a PL/SQL procedure that does not compile with debug in SQL Developer. Compiling it with debug produces the following error:
    an Error(1): PLS-00801: internal error [79110].The only way I was able to get the procedure to compile in SQL Developer was to add the 4th line. If I uncomment the 4th line it compiles with debug. Why??
    Here is the procedure:
    CREATE OR REPLACE
    PROCEDURE BOGUS AS
      CURSOR c1 IS
        SELECT dummy FROM DUAL;
    --  x c1%ROWTYPE;
      PROCEDURE test ( rec IN OUT c1%ROWTYPE) IS
      begin
        null;
      end;
    BEGIN
      NULL;
    END BOGUS;Message was edited by:
    marife
    I played around some more with the procedure and discovered the problem. The key is the compiling with debug. I believe that compile with debug cannot build the debug information for a %ROWTYPE as a parameter. But if I define a local variable of that %ROWTYPE, then the compile with debug knows what debug information to track for the %ROWTYPE.
    I discovered that in SQL*Plus it compiles, but when you issue the ALTER PROCEDURE bogus COMPILE DEBUG, it does not compile. This is a problem with the debug option for compiling and not a problem with SQL Developer.
    Sorry for the posting. Hopefully this information will save other times and fustration.
    Mike

    Just for anyone else searching on this bug - I get the same error with certain procedures in TOAD when compiling with DEBUG.
    Fortunately nobody here has the first clue how to use TOAD debug so it's only ever switched on by accident or after a reinstall (it's the default) - so turning debug off fixes the problem.

  • Desc in SQL Developer behaves  slightly differently than desc in SQLPlus

    Hi All,
    Didn't see any posts for this, so I wanted to bring it up here.
    We use nls_length_semantics=char, and therefore our varchar2 cols routinely show up in products with the datalength as charlengthx4 or the actual bytelength for the col.
    However SQLPlus desc displays the length properly and designates it as CHAR:
    SQL> desc access_information;
    Name     Null? Type
    ENTITY_ID NOT NULL VARCHAR2(16 CHAR)
    But desc in SQL Developer does not:
    desc access_information;
    ENTITY_ID NOT NULL VARCHAR2(64)
    This is for SQL Developer MAIN-14.67
    on an Oracle 10gR2 DB
    Let me know if this is a bug, or if I'm misunderstanding something.
    Thanks,
    Tony

    In addition to the above mentioned discrepancy, I've noticed that desc in SQL-Developer does not look at the appropriate schema when your session is altered.
    ex. - In SQL-Developer
    1. Log in with a user that owns no objects
    2. alter session set current_schema = schema_with_objects;
    3. desc table_in_schema_with_objects
    ERROR:
    ORA-04043: object table_in_schema_with_objects does not exist
    ex. In SQLPlus
    1. Log in with a user that owns no objects
    2. alter session set current_schema = schema_with_objects;
    3. desc table_in_schema_with_objects
    Desc works properly
    Are these 2 issues reproducible by development? Are they to be resolved in the next update?
    Let me know so I can inform the user base here, and thanks,
    Tony

  • SQL Developer Tool Throws error on "/"

    I am executing a script which is creating a view using sql developer. The script at the end has a "/" but before the / there is a blank line on top. and another view does not have a blank line but has a few spaces before "/" both the cases the sql developer throws compilation error.
    there are other parts of the code which does have lot of balnk lines above eg in procedure & trgger (not views) and they compile perfect.
    When i run the same script in sql plus or command line sql plus both have no issues. Its only the tool which is behaving like this.
    Is this a known issue?

    Example 1:
    CREATE OR REPLACE VIEW x AS
    SELECT abc from A where (abc=3) AND (xyz,6)
    plz note two blank likes above /
    Example 2:
    CREATE OR REPLACE VIEW x AS
    SELECT abc from A where (abc=3) AND (xyz,6)
    plz note few spaces before the /
    error says command not ended properly.
    this works in sql plus

  • Another SQL Developer bug - End of file in comment

    I found another SQL Developer bug in version 3.0.0.4.
    If I try to compile some package from file (so I open file with package body in SQL Developer and assign it to some connection) with this kind of comment: /* comment */ behind end of package, I get this error
    I got Error(1250,28): PLS-00111: end-of-file in commentFunny is, that when the package is compiled directly from the database - it works.
    When I try to compile the package from file with this kind of comment --comment behind the end of package, it also works...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi, I think I finally got it. This looks like an ugly fat bug :)
    First, we are not using the .sql extensions. For package specification - we use .pks. For package body - we use .pkb.
    Create this script:
    CREATE OR REPLACE PACKAGE TEST_xxx AS
    PROCEDURE TEST_PROCEDURE;
    END TEST_xxx; /*0123456789*/Now save this as e.g. "TEST.pks" file. Open this file in SQL Developer and compile it. You will get the "Error(3,27): PLS-00111: end-of-file in comment".
    Now look at the result in the database -> Open the package specification from the database and you see this:
    create or replace
    PACKAGE TEST_xxx AS
    PROCEDURE TEST_PROCEDURE;
    END TEST_xxx; /*0123456789*The last slash is missing...
    Now go back to the file with the package specification and delete one letter from the comment. Compile it again... it works now.
    It looks like the length of this kind of comment is limited to 9 characters.
    The limitation is there only when:
    1) Compiling from file with different extension than .sql !!! If you rename the file to "TEST.sql", SQL Developer opens it as a script file and runs it as a script, so there is no problem with it.
    2) It has to be this kind of comment: /* */. One line comments are not limited.

  • Running SQL Developer as a Windows 7 App-V

    Hello,
    Is anybody out there running SQL Developer as a Win7 virtualized application?
    I've noticed a difference in behaviour with v3.0.04-34 between virtualized and non-virtualized app:
    App-V
    - error when SQL Developer starts. Log shows: "SEVERE     50     0     oracle.ide.IdeCore     Exception firing mainWindowOpened to oracle.dbtools.crest.fcp.DataModelerAddin$1@117e6b6"
    - Cannot save data modeler design. Everything looks ok, but it saves nothing. I'm using data modeler embedded inside SQL developer.
    Local Installation
    - no error in log.
    - data modeler design saving is ok
    Anybody experienced this?
    Kind Regards,
    Olivier.
    Edited by: user9378013 on Jan 13, 2012 3:17 PM

    Hello,
    after change my computer and upgrade to Win 7 (no virtualized installation) I get the same kind of error with sqldeveloper, namely: "Exception firing mainWindowOpened to oracle.dbtools.crest.fcp.DataModelerAddin$1@364c0939"
    regards,

  • SQL Developer compilation problems

    Hi, I'm having problems with SQL Developer.
    Basically, I can only carry out 3 compilations (3 of the same object, or one each of different objects) before SQL Developer gives me an out-of memory error:
    Source:oracle.javatools.db.AbstractSchemaObject
    Error : java.lang.OutOfMemoryError: Java heap spacebuilding KRM_UPDATE_ARCHIVE_DES
    I then can't do anything except log out and back in - very annoying!
    Setup detailed below, any help gratefully received!
    I also periodically get the following when trying to edit a stroed plsql object:
    java.io.IOException: exception loading FUNCTION PORTALS.GET_STRATUS_COMPANY_ID@Dev Portals
         at oracle.ide.model.TextNode.openImpl(TextNode.java:541)
         at oracle.ide.model.Node.open(Node.java:979)
         at oracle.ide.model.Node.open(Node.java:927)
         at oracle.ide.model.Node.ensureOpen(Node.java:2114)
         at oracle.ide.model.TextNode.acquireTextBuffer(TextNode.java:744)
         at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1912)
         at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1337)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:355)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1399)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1333)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1259)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.editObject(DatabaseNavigatorController.java:383)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:253)
         at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
         at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
         at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
         at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
         at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
         at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
         at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
         at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1220)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1261)
         at java.awt.Component.processMouseEvent(Component.java:6041)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
         at java.awt.Component.processEvent(Component.java:5806)
         at java.awt.Container.processEvent(Container.java:2058)
         at java.awt.Component.dispatchEventImpl(Component.java:4413)
         at java.awt.Container.dispatchEventImpl(Container.java:2116)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
         at java.awt.Container.dispatchEventImpl(Container.java:2102)
         at java.awt.Window.dispatchEventImpl(Window.java:2440)
         at java.awt.Component.dispatchEvent(Component.java:4243)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Caused by: java.lang.OutOfMemoryError: Java heap space
         at oracle.jdbc.driver.OracleStatement.prepareAccessors(OracleStatement.java:870)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1047)
         at oracle.jdbc.driver.T4CCallableStatement.executeMaybeDescribe(T4CCallableStatement.java:849)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:512)
         at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:540)
         at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:486)
         at oracle.dbtools.raptor.navigator.net.DBURLStreamHandlerFactory.fetchSource(DBURLStreamHandlerFactory.java:263)
         at oracle.dbtools.raptor.navigator.net.DBURLFileSystemHelper.createReader(DBURLFileSystemHelper.java:140)
         at oracle.ide.net.URLFileSystem.createReader(URLFileSystem.java:1593)
         at oracle.ide.model.TextNode.createReader(TextNode.java:1617)
         at oracle.ide.model.TextNode.loadTextBuffer(TextNode.java:283)
         at oracle.ide.model.TextNode.openImpl(TextNode.java:529)
         at oracle.ide.model.Node.open(Node.java:979)
         at oracle.ide.model.Node.open(Node.java:927)
         at oracle.ide.model.Node.ensureOpen(Node.java:2114)
         at oracle.ide.model.TextNode.acquireTextBuffer(TextNode.java:744)
         at oracle.ide.ceditor.CodeEditor.initializeEditor(CodeEditor.java:1912)
         at oracle.ide.ceditor.CodeEditor.setContext(CodeEditor.java:1337)
         at oracle.ideimpl.editor.EditorState.createEditor(EditorState.java:147)
         at oracle.ideimpl.editor.EditorState.getOrCreateEditor(EditorState.java:94)
         at oracle.ideimpl.editor.SplitPaneState.canSetEditorStatePos(SplitPaneState.java:231)
         at oracle.ideimpl.editor.SplitPaneState.setCurrentEditorStatePos(SplitPaneState.java:194)
         at oracle.ideimpl.editor.TabGroupState.createSplitPaneState(TabGroupState.java:103)
         at oracle.ideimpl.editor.TabGroup.addTabGroupState(TabGroup.java:355)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1399)
         at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1333)
         at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1259)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.editObject(DatabaseNavigatorController.java:383)
         at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:253)
    About
    Oracle SQL Developer 1.5.3
    Version 1.5.3
    Build MAIN-5783
    Copyright © 2005,2008 Oracle. All Rights Reserved.
    IDE Version: 11.1.1.0.22.49.44
    Product ID: oracle.sqldeveloper
    Product Version: 11.1.1.57.83
    Version
    Component     Version
    =========     =======
    CVS Version     Internal to Oracle SQL Developer (client-only)
    Java(TM) Platform     1.6.0_04
    Oracle IDE     1.5.3.57.83
    Versioning Support     1.5.3.57.83
    Edited by: user624059 on 27-Feb-2009 06:31

    Hi Jim - thanks for your help.
    I'm using update 10. The output from the console is below - The issue was the preferences I imported were set to Windows look and feel, so I've resolved that, but the new version behaves exactly like the old version. Do you know if the dev team are regulars in here, or if there is an alternate route to report this (the original problem) to them?
    Cheers,
    Stuart
    oracle.javatools.util.ClosureException: java.lang.ClassCastException: oracle.ide
    impl.plaf.WindowsComboBoxUI$MarginBorderTextField cannot be cast to javax.swing.
    JComboBox
    at oracle.javatools.util.SwingClosure.run(SwingClosure.java:83)
    at oracle.ideimpl.MainWindowImpl.postInitialize(MainWindowImpl.java:701)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1515)
    at oracle.ide.Ide.startup(Ide.java:662)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:110)
    at oracle.ideimpl.Main.main(Main.java:72)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:66)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:58)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    190)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:90)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:66)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:55)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:729)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Caused by: java.lang.ClassCastException: oracle.ideimpl.plaf.WindowsComboBoxUI$M
    arginBorderTextField cannot be cast to javax.swing.JComboBox
    at oracle.ideimpl.plaf.WindowsComboBoxUI$PropertyChangeHandler.propertyC
    hange(WindowsComboBoxUI.java:259)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
    port.java:339)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
    port.java:276)
    at java.awt.Component.firePropertyChange(Component.java:7961)
    at javax.swing.JComponent.addNotify(JComponent.java:4684)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at oracle.ideimpl.docking.TitledPanel.addNotify(TitledPanel.java:259)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at java.awt.Container.addNotify(Container.java:2560)
    at javax.swing.JComponent.addNotify(JComponent.java:4683)
    at javax.swing.JRootPane.addNotify(JRootPane.java:735)
    at java.awt.Container.addNotify(Container.java:2560)
    at java.awt.Window.addNotify(Window.java:645)
    at java.awt.Frame.addNotify(Frame.java:470)
    at oracle.ideimpl.MainWindowImpl.addNotify(MainWindowImpl.java:613)
    at java.awt.Window.show(Window.java:841)
    at java.awt.Component.show(Component.java:1447)
    at java.awt.Component.setVisible(Component.java:1400)
    at java.awt.Window.setVisible(Window.java:824)
    at oracle.ideimpl.MainWindowImpl$6.runImpl(MainWindowImpl.java:756)
    at oracle.javatools.util.SwingClosure$1Closure.run(SwingClosure.java:50)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
    ad.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
    java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
    ad.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

  • SQL developer not showing compiler warnings

    I'm just testing out the new compiler warning contained in 11g related to the "when others" exception handler when it does not have a subsequent raise or raise_application_error.
    in SQL plus, this works fine:
    SQL> alter session set plsql_warnings='enable:all';
    Session altered.
    SQL>
    SQL> create or replace function do_stuff
      2  return number
      3  as
      4     v_return number;
      5  begin
      6
      7     v_return := 3;
      8     return v_return;
      9
    10  exception
    11  when others then
    12     return null;
    13  end;
    14  /
    SP2-0806: Function created with compilation warnings
    SQL> show errors;
    Errors for FUNCTION DO_STUFF:
    LINE/COL ERROR
    1/1      PLW-05018: unit DO_STUFF omitted optional AUTHID clause; default
             value DEFINER used
    11/6     PLW-06009: procedure "DO_STUFF" OTHERS handler does not end in
             RAISE or RAISE_APPLICATION_ERRORbut in SQL developer the output is:
    BANNER                                                                          
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production    
    PL/SQL Release 11.2.0.3.0 - Production                                          
    CORE     11.2.0.3.0     Production                                                        
    TNS for Linux: Version 11.2.0.3.0 - Production                                  
    NLSRTL Version 11.2.0.3.0 - Production                                          
    session SET altered.
    FUNCTION do_stuff compiled
    No Errors.Anyone experience this issue? is there some setting that makes SQL developer behave differently?

    it must be something I'm doing wrong, above, I was running under windows 7 pointing at the version above.
    I just tried it under an Enterprise Linux pointing at
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production          
    PL/SQL Release 11.2.0.2.0 - Production                                          
    CORE     11.2.0.2.0     Production                                                        
    TNS for Linux: Version 11.2.0.2.0 - Production                                  
    NLSRTL Version 11.2.0.2.0 - Production                                           and I get exactly the same script output and no compiler window....
    actually...... if I go into a procedure window from the schema browser and compile it there, then I get the correct warning messages..... the problem is I mostly develop from .sql files extracted from source control rather than directly from the schema browser, I just want the sql worksheet to be able to show me the same compiler log window.....

  • Running/Compiling *.java file in Oracle Sql Developer

    I want to compile/run java 5.0 files in Oracle sql developer1.1.2.25 on Fedora 5 platform.
    I have added javac as an enternal tool to compile java programs. Tools-->External Tools-->New
    I have also added java: /usr/java/jre1.5.0_10/bin/java as an external tool to run the complied programs
    I am able to compile the java programs, but i am not able to run them.
    I am providing ${file.name.no.ext} as an argument to java.
    Java-Log Output is:
    /usr/java/jre1.5.0_10/bin/java Writer2
    Exception in thread "main" java.lang.NoClassDefFoundError: Writer2
    However, if i run the same program in Linux terminal, i get the correct output:
    [root@localhost java]# which java
    /usr/java/jre1.5.0_10/bin/java
    [root@localhost java]# /usr/java/jre1.5.0_10/bin/java Writer2
    12
    howdy
    folks
    How can i make Oracle Sql Developer run the java program?

    I will echo the use jdev comment..
    Regardless, you may want to check the execute in directory.. or add a -cp parameter.
    Eric

  • Oracle SQL Developer Release 1.5.5 "compile for debug"

    Using Oracle SQL Developer Release 1.5.5 on Windows XP pro machine connecting to 9.2.0.4 database on AIX machine.
    Trying to debug a procedure, in the navigator window, I rt-clk the procedure and select "Compile for Debug", then nothing happens. This happens for every procedure I've tried. I've been granted both DEBUG ANY PROCEDURE and DEBUG CONNECT SESSION. Any ideas?

    This is the first I've used SQL Developer, so I'll take the blame. I had not noticed that the Messages Log does in fact tell me that the proc compiled. However, the debug icon (little red bug) was nowhere to be found.
    I see now that I need to Edit, not Open, the proc in order to debug. If I had read the Help screens a little more closely, I would have seen that I needed to be in Edit mode. My bad. Thanx to all for your responses.

Maybe you are looking for