0 Replies Latest reply on Sep 17, 2013 8:04 AM by wdh2880

    NullPointerException when opening a script in SQL Developer 4.0.0.12

    wdh2880

      I recently upgraded to SQL Developer v.4.0.0.12 64 bit, and am running into some issues.

      I am running this on 64 bit Windows 7. I have a 64 bit Oracle 11, and in addition have the 32 bit oracle client installed.

      I made an association between the .sql file extension and sqldeveloper64W.exe.

       

      However I frequently get a nullpointerexception when clicking on a script in the file explorer.

       

      It seems to occur mostly if I loaded scripts into SQL Developer before.

      If I close all the windows before closing SQL Developer and then click on a script in the file manager, things work (startup is arguably slower than v.3).

       

      But in most cases either nothing happens, or I get the NullPointerException below.

       

      What am I doing wrong?

       

      Regards,

       

      Wim

       

      java.lang.NullPointerException

        at oracle.dbtools.raptor.plsql.FindHighlightListener.editorDeactivated(FindHighlightListener.java:63)

        at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.fireEditorEvent(NbEditorManager.java:1315)

        at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.handleEditorEvent(NbEditorManager.java:1294)

        at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.whenCurrentEditorChanges(NbEditorManager.java:1556)

        at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1026)

        at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:847)

        at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.addTabGroupState(TabGroup.java:129)

        at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbEditorManager.java:534)

        at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.createEditor(NbEditorManager.java:511)

        at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.openEditor(NbEditorManager.java:379)

        at oracle.ide.cmd.OpenCommand.openWithNoProject(OpenCommand.java:337)

        at oracle.ide.cmd.OpenCommand.access$100(OpenCommand.java:62)

        at oracle.ide.cmd.OpenCommand$1.run(OpenCommand.java:266)

        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)

        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)

        at java.awt.EventQueue.access$200(EventQueue.java:103)

        at java.awt.EventQueue$3.run(EventQueue.java:694)

        at java.awt.EventQueue$3.run(EventQueue.java:692)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

        at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)

        at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)

        at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)

        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)