This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200710090000 ] [ JDK VERSION : 1.6.0_03 ] I am not sure if this is related to #119197, the stacktrace is different: java.lang.NullPointerException at javax.swing.tree.DefaultTreeSelectionModel.resetRowSelection(DefaultTr eeSelectionModel.java:762) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTr eeSelectionModel.java:284) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTre eSelectionModel.java:170) at javax.swing.JTree.setSelectionPath(JTree.java:1598) at org.netbeans.modules.languages.features.LanguagesNavigator$MyCaretList ener.caretUpdate(LanguagesNavigator.java:336) at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:39 1) at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent. java:4389) at javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextCo mponent.java:4411) at org.netbeans.editor.BaseCaret$4.run(BaseCaret.java:721) at org.netbeans.editor.Utilities.runInEventDispatchThread(Utilities.java: 1071) at org.netbeans.editor.BaseCaret.fireStateChanged(BaseCaret.java:732) at org.netbeans.editor.BaseCaret.setDot(BaseCaret.java:1007) at org.netbeans.editor.BaseCaret.setDot(BaseCaret.java:1028) at org.netbeans.editor.BaseCaret.setDot(BaseCaret.java:945) at org.netbeans.editor.BaseKit$BackwardAction.actionPerformed(BaseKit.jav a:2069) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:288) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636) at javax.swing.JComponent.processKeyBinding(JComponent.java:2849) at javax.swing.JComponent.processKeyBindings(JComponent.java:2884) at javax.swing.JComponent.processKeyEvent(JComponent.java:2812) at java.awt.Component.processEvent(Component.java:5815) at java.awt.Container.processEvent(Container.java:2058) at java.awt.Component.dispatchEventImpl(Component.java:4410) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Component.dispatchEvent(Component.java:4240) at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.jav a:1848) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardF ocusManager.java:697) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboa rdFocusManager.java:962) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboa rdFocusManager.java:834) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocu sManager.java:661) at java.awt.Component.dispatchEventImpl(Component.java:4282) at java.awt.Container.dispatchEventImpl(Container.java:2116) at java.awt.Window.dispatchEventImpl(Window.java:2429) at java.awt.Component.dispatchEvent(Component.java:4240) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThrea d.java:273) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.j ava:183) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThrea d.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)
possibly related, if the lexer is broken the tokens are inconsistent which may cause this issue. I guess it happened after #119197 right?
no, it happened one day after #119197 - same project, different file.
OK, I cannot do anything on my side based on the information from the stack, reassigning to languages module.
Is this still reproducible? Is there a source file that can be used for a reliable reproduction? Since the report, we have made changes in navigator that can have inmpact on this problem, so it is possible that the issue has been alredy fixed.
Hi! Since there is no recent feedback from the reporter, I will close this issue as FIXED for now (dprusa mentions changes made in Navigator window, that might have possibly fixed the issue). Please feel free to reopen this issue if this problem persists.