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.
I get the error below when I right click anywhere in the file and the explorer reports parse error for the file AuthorizeSessionSLSEJB.java. The Java source module version is 200112041930-jdk14. Tue Dec 18 13:58:11 CET 2001: java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@120de2 java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@120de2 at org.netbeans.modules.java.JavaParserGlue.getBinding(Unknown Source) at org.netbeans.modules.java.JavaParserGlue.sourceToText(Unknown Source) at org.netbeans.modules.java.JavaParserGlue.findElement(Unknown Source) at org.netbeans.modules.editor.java.NbJavaSyntaxSupport.getElementAtPos(NbJavaS yntaxSupport.java:151) at org.netbeans.modules.editor.java.NbJavaSyntaxSupport.getClassElement(NbJavaS yntaxSupport.java:160) at org.netbeans.modules.editor.java.NbJavaSyntaxSupport.getClass(NbJavaSyntaxSu pport.java:172) at org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveItem(JavaCom pletionQuery.java:386) at org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveExp(JavaComp letionQuery.java:312) at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.j ava:104) at org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.j ava:52) at org.netbeans.modules.editor.java.JavaKit$JavaGotoSourceAction.openSource(Jav aKit.java:413) at org.netbeans.modules.editor.java.JavaKit$JavaGotoSourceAction.getPopupMenuTe xt(JavaKit.java:470) at org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.getItemText(ExtKit.java: 261) at org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.addAction(ExtKit.java:23 0) at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.addAction(NbE ditorKit.java:243) at org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.buildPopupMenu(ExtKit.ja va:205) at org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.buildPopupMen u(NbEditorKit.java:165) at org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.actionPerformed(ExtKit.j ava:187) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:133) at org.netbeans.editor.ext.ExtEditorUI.showPopupMenu(ExtEditorUI.java:87) at org.netbeans.editor.ext.ExtCaret.mouseReleased(ExtCaret.java:369) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231) [catch] at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230) at java.awt.Component.processMouseEvent(Component.java:3715) at java.awt.Component.processEvent(Component.java:3544) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2593) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:926) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja va:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java :98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Created attachment 3884 [details] The file that causes the parse error
I am sorry, cannot reproduce here. File is parsed OK, no exception with right click.
I reinstalled NB 3.3, recreated the project and reinstalled the JavaSource module version 200112041930-jdk14. Now the file is parsed fine. I guess this issue can be closed as a non bug depending och some unknown bad state of the project or installation.
This is a really strange bug. Now three other files report this error. The only thing the three (and the first one attached in this Issue) has in common is that they are implementation classes of an EJB.
Check issue #18584 and related issue #18858, issue #18844, issue #18585. I guess this one can be caused by the same problem.
Björn, please reopen this bug, if it is not duplicate of issue 18584. Thanks. *** This issue has been marked as a duplicate of 18584 ***
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.