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.
Details java.lang.IndexOutOfBoundsException: Invalid line index=163 >= lineCount=163 at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:54) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:124) at org.openide.text.DocumentLine$Set.getCurrent(DocumentLine.java:754) at org.netbeans.modules.java.ParserAnnotation.attachToLineSet(ParserAnnotation.java:133) at org.netbeans.modules.java.JavaEditor.processAnnotations(JavaEditor.java:449) at org.netbeans.modules.java.JavaEditor.access$300(JavaEditor.java:77) [catch] at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:297) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) Next from the Details screen java.lang.IllegalArgumentException: A node selection cannot contain nodes (inpStrLen) not underneath the root (Name). at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:150) at org.openide.explorer.ExplorerManager.setSelectedNodes1(ExplorerManager.java:344) at org.openide.explorer.ExplorerManager.setExploredContextAndSelection(ExplorerManager.java:294) at org.openide.explorer.view.BeanTreeView.selectionChanged(BeanTreeView.java:86) at org.openide.explorer.view.TreeView.callSelectionChanged(TreeView.java:613) at org.openide.explorer.view.TreeView$TreePropertyListener.run(TreeView.java:934) at org.openide.util.Mutex.postRequest(Mutex.java:875) at org.openide.util.Mutex.postReadRequest(Mutex.java:358) at org.openide.explorer.view.TreeView$TreePropertyListener.valueChanged(TreeView.java:904) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287) at javax.swing.JTree.setSelectionPaths(JTree.java:1181) at org.openide.explorer.view.TreeTableModelAdapter$Listener.updateNodes(TreeTableModelAdapter.java:180) [catch] at org.openide.explorer.view.TreeTableModelAdapter$Listener.run(TreeTableModelAdapter.java:169) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) From ide.log org.openide.filesystems.FileStateInvalidException: ArLvFieldElem.java at org.openide.loaders.DataObject.find(DataObject.java:438) at org.openide.loaders.DataNode$ObjectHandle.getNode(DataNode.java:660) at org.netbeans.modules.java.JavaDataObject$PersistentConnectionHandle.getNode(JavaDataObject.java:1256) at org.openide.loaders.ConnectionSupport$Pair.getNode(ConnectionSupport.java:357) [catch] at org.openide.loaders.ConnectionSupport.register(ConnectionSupport.java:94) at org.netbeans.modules.java.codesync.SourceConnectionSupport.registerDependency(SourceConnectionSupport.java:467) at org.netbeans.modules.java.codesync.SourceConnectionSupport.addDependency(SourceConnectionSupport.java:546) at org.netbeans.modules.java.codesync.ClassDependencyImpl.supertypesAdded(ClassDependencyImpl.java:239) at org.netbeans.modules.java.codesync.ClassDependencyImpl.refreshClass(ClassDependencyImpl.java:119) at org.netbeans.modules.java.codesync.SourceConnectionSupport.refreshLinks(SourceConnectionSupport.java:349) at org.netbeans.modules.java.codesync.SourceConnectionSupport.access$000(SourceConnectionSupport.java:42) at org.netbeans.modules.java.codesync.SourceConnectionSupport$2.run(SourceConnectionSupport.java:215) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:670) *********** Exception occurred ************ at Wed Feb 18 15:31:21 GMT-07:00 2004 java.lang.IllegalArgumentException: A node selection cannot contain nodes (super) not underneath the root (Name). at org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:150) at org.openide.explorer.ExplorerManager.setSelectedNodes1(ExplorerManager.java:344) at org.openide.explorer.ExplorerManager.setExploredContextAndSelection(ExplorerManager.java:294) at org.openide.explorer.view.BeanTreeView.selectionChanged(BeanTreeView.java:86) at org.openide.explorer.view.TreeView.callSelectionChanged(TreeView.java:613) at org.openide.explorer.view.TreeView$TreePropertyListener.run(TreeView.java:934) at org.openide.util.Mutex.postRequest(Mutex.java:875) at org.openide.util.Mutex.postReadRequest(Mutex.java:358) at org.openide.explorer.view.TreeView$TreePropertyListener.valueChanged(TreeView.java:904) at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629) at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1076) at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287) at javax.swing.JTree.setSelectionPaths(JTree.java:1181) at org.openide.explorer.view.TreeTableModelAdapter$Listener.updateNodes(TreeTableModelAdapter.java:180) at org.openide.explorer.view.TreeTableModelAdapter$Listener.run(TreeTableModelAdapter.java:169) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) [catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
seems like org.netbeans.modules.java.ParserAnnotation.attachToLineSet is passing wrong line number.
This should be already fixed for nb3.6 *** This issue has been marked as a duplicate of 40351 ***