0 Replies Latest reply: Nov 21, 2012 4:58 AM by Aleksander Stopar RSS

    Saving a worksheet changes keyboard behaviour

    Aleksander Stopar
      Hi!

      As long as I don't save a worksheet to a file I can use CTRL+TAB TAB CTRL+TAB TAB (yes, twice) key combination to navigate from query panel to data grid (query result) panel (mainly for selecting and copying results).

      However, the moment I save a worksheet, the keyboard navigation changes - the above mentioned combo does not work like that anymore. I can not reverse the change in behaviour by closing the saved worksheet, need to restart SQL Developer.

      Is that a feature or some six legged creature?

      SQL Developer Version 3.2.20.09
      Java     1.6.0_37
      Centos 6.3 64bit x86_64 gnome 2.28.2

      Edited by: Aleksander Stopar on 21-Nov-2012 02:46

      I noticed there was a console dump, so here it is:

      Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.



      LOAD TIME : 599Finished parsing = 1887
      UsersCache.fillIn() time = 3 ret==null?: true
      Finished parsing = 0
      Finished parsing = 1
      Finished parsing = 0
      Finished parsing = 18
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:94)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:1449)
           at oracle.ideimpl.editor.TabGroup.activateEditor(TabGroup.java:752)
           at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1415)
           at oracle.ideimpl.editor.EditorManagerImpl.createEditor(EditorManagerImpl.java:1337)
           at oracle.ideimpl.editor.EditorManagerImpl.openEditor(EditorManagerImpl.java:1263)
           at oracle.ide.editor.EditorUtil.openDefaultEditorInFrame(EditorUtil.java:164)
           at oracle.ide.editor.EditorUtil.openExplicitDefaultEditorInFrame(EditorUtil.java:56)
           at oracle.ide.cmd.OpenCommand$1.run(OpenCommand.java:260)
           at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:94)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.EditorManagerImpl$4.run(EditorManagerImpl.java:2906)
           at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:94)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:1449)
           at oracle.ideimpl.editor.TabGroup.safeSetCurrentTabGroupState(TabGroup.java:1986)
           at oracle.ideimpl.editor.TabGroup.whenTabSelectionChanges(TabGroup.java:526)
           at oracle.ideimpl.editor.DocTabListener.valueChanged(DocTabListener.java:54)
           at oracle.ide.controls.customtab.CustomTab.fireSelectionChange(CustomTab.java:304)
           at oracle.ide.controls.customtab.CustomTab._setSelectedPage(CustomTab.java:635)
           at oracle.ide.controls.customtab.CustomTab.setSelectedPage(CustomTab.java:596)
           at oracle.ide.controls.customtab.CustomTab.selectPageAt(CustomTab.java:650)
           at oracle.ide.controls.customtab.CustomTab.mousePressed(CustomTab.java:1016)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.Component.processMouseEvent(Component.java:6294)
           at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
           at java.awt.Component.processEvent(Component.java:6062)
           at java.awt.Container.processEvent(Container.java:2039)
           at java.awt.Component.dispatchEventImpl(Component.java:4660)
           at java.awt.Container.dispatchEventImpl(Container.java:2097)
           at java.awt.Component.dispatchEvent(Component.java:4488)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
           at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4233)
           at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
           at java.awt.Container.dispatchEventImpl(Container.java:2083)
           at java.awt.Window.dispatchEventImpl(Window.java:2489)
           at java.awt.Component.dispatchEvent(Component.java:4488)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
           at java.awt.EventQueue$3.run(EventQueue.java:641)
           at java.awt.EventQueue$3.run(EventQueue.java:639)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:94)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.EditorManagerImpl$4.run(EditorManagerImpl.java:2906)
           at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:94)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:1449)
           at oracle.ideimpl.editor.TabGroup.activateEditor(TabGroup.java:752)
           at oracle.ideimpl.editor.Desktop.activateEditor(Desktop.java:764)
           at oracle.ideimpl.editor.EditorManagerImpl.activateEditor(EditorManagerImpl.java:1460)
           at oracle.ideimpl.editor.EditorManagerImpl.focusEditor(EditorManagerImpl.java:1279)
           at oracle.ideimpl.editor.EditorSelector.activateSelectedWindow(EditorSelector.java:143)
           at oracle.ideimpl.window.WindowSelector$EventHandler.run(WindowSelector.java:385)
           at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:94)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.EditorManagerImpl$4.run(EditorManagerImpl.java:2906)
           at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Finished parsing = 21
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:86)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.TabGroup.setCurrentTabGroupState(TabGroup.java:1449)
           at oracle.ideimpl.editor.TabGroup.safeSetCurrentTabGroupState(TabGroup.java:1986)
           at oracle.ideimpl.editor.TabGroup.whenTabSelectionChanges(TabGroup.java:526)
           at oracle.ideimpl.editor.DocTabListener.valueChanged(DocTabListener.java:54)
           at oracle.ide.controls.customtab.CustomTab.fireSelectionChange(CustomTab.java:304)
           at oracle.ide.controls.customtab.CustomTab._setSelectedPage(CustomTab.java:635)
           at oracle.ide.controls.customtab.CustomTab.setSelectedPage(CustomTab.java:596)
           at oracle.ide.controls.customtab.CustomTab.selectPageAt(CustomTab.java:650)
           at oracle.ide.controls.customtab.CustomTab.mousePressed(CustomTab.java:1016)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.Component.processMouseEvent(Component.java:6294)
           at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
           at java.awt.Component.processEvent(Component.java:6062)
           at java.awt.Container.processEvent(Container.java:2039)
           at java.awt.Component.dispatchEventImpl(Component.java:4660)
           at java.awt.Container.dispatchEventImpl(Container.java:2097)
           at java.awt.Component.dispatchEvent(Component.java:4488)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
           at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4233)
           at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4166)
           at java.awt.Container.dispatchEventImpl(Container.java:2083)
           at java.awt.Window.dispatchEventImpl(Window.java:2489)
           at java.awt.Component.dispatchEvent(Component.java:4488)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:668)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
           at java.awt.EventQueue$3.run(EventQueue.java:641)
           at java.awt.EventQueue$3.run(EventQueue.java:639)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
           at oracle.ideimpl.editor.RecentFilesLRU$RemovedFileTracker.removeListener(RecentFilesLRU.java:349)
           at oracle.ideimpl.editor.RecentFilesLRU.removeOldest(RecentFilesLRU.java:137)
           at oracle.ideimpl.editor.RecentFilesLRU.adjustSize(RecentFilesLRU.java:86)
           at oracle.ideimpl.editor.RecentFilesLRU.raiseContextInLRUList(RecentFilesLRU.java:195)
           at oracle.ideimpl.editor.EditorManagerImpl.raiseContextInLRUList(EditorManagerImpl.java:1854)
           at oracle.ideimpl.editor.EditorManagerImpl$4.run(EditorManagerImpl.java:2906)
           at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:666)
           at java.awt.EventQueue.access$400(EventQueue.java:81)
           at java.awt.EventQueue$2.run(EventQueue.java:627)
           at java.awt.EventQueue$2.run(EventQueue.java:625)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:636)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.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)
      Finished parsing = 0