java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@b874d2

Oracle Community | 807581 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    exception during code completion

    Oracle Community | 1 decade ago | 807581
    java.lang.IllegalArgumentException: Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@b874d2

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Incompatible implementation: org.netbeans.modules.java.parser.SourceImplProxy@b874d2

      at org.netbeans.modules.java.JavaParserGlue.getBinding()
    2. org.netbeans.modules
      NbJavaSyntaxSupport.getMethodStartPosition
      1. org.netbeans.modules.java.JavaParserGlue.getBinding(JavaParserGlue.java:263)
      2. org.netbeans.modules.java.JavaParserGlue.sourceToText(JavaParserGlue.java:650)
      3. org.netbeans.modules.java.JavaParserGlue.findElement(JavaParserGlue.java:618)
      4. org.netbeans.modules.editor.java.NbJavaSyntaxSupport.getMethodStartPosition(NbJavaSyntaxSupport.java:100)
      4 frames
    3. abeille
      BaseAction.actionPerformed
      1. org.netbeans.editor.ext.ExtSyntaxSupport.buildLocalVariableMap(ExtSyntaxSupport.java:322)
      2. org.netbeans.editor.ext.ExtSyntaxSupport.getLocalVariableMap(ExtSyntaxSupport.java:315)
      3. org.netbeans.editor.ext.ExtSyntaxSupport.findType(ExtSyntaxSupport.java:296)
      4. org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveItem(JavaCompletionQuery.java:404)
      5. org.netbeans.editor.ext.java.JavaCompletionQuery$Context.resolveExp(JavaCompletionQuery.java:264)
      6. org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:104)
      7. org.netbeans.editor.ext.java.JavaCompletionQuery.query(JavaCompletionQuery.java:52)
      8. org.netbeans.editor.ext.Completion.actionPerformed(Completion.java:382)
      9. org.netbeans.editor.ext.Completion.popup(Completion.java:337)
      10. org.netbeans.editor.ext.Completion.setPaneVisible(Completion.java:281)
      11. org.netbeans.editor.ext.ExtKit$CompletionShowAction.actionPerformed(ExtKit.java:1031)
      12. org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:133)
      12 frames
    4. Java RT
      EventDispatchThread.run
      1. javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1512)
      2. javax.swing.JComponent.processKeyBinding(JComponent.java:2435)
      3. javax.swing.JComponent.processKeyBindings(JComponent.java:2470)
      4. javax.swing.JComponent.processKeyEvent(JComponent.java:2398)
      5. java.awt.Component.processEvent(Component.java:4902)
      6. java.awt.Container.processEvent(Container.java:1566)
      7. java.awt.Component.dispatchEventImpl(Component.java:3598)
      8. java.awt.Container.dispatchEventImpl(Container.java:1623)
      9. java.awt.Component.dispatchEvent(Component.java:3439)
      10. java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1688)
      11. java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:593)
      12. java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:765)
      13. java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:698)
      14. java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:559)
      15. java.awt.Component.dispatchEventImpl(Component.java:3468)[catch]
      16. java.awt.Container.dispatchEventImpl(Container.java:1623)
      17. java.awt.Window.dispatchEventImpl(Window.java:1585)
      18. java.awt.Component.dispatchEvent(Component.java:3439)
      19. java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
      20. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
      21. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
      23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
      24. java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
      24 frames