java.lang.IncompatibleClassChangeError: Found class com.intellij.lexer.Lexer, but interface was expected

GitHub | GoogleCodeExporter | 2 years 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

    IncompatibleClassChangeError

    GitHub | 2 years ago | GoogleCodeExporter
    java.lang.IncompatibleClassChangeError: Found class com.intellij.lexer.Lexer, but interface was expected

    Root Cause Analysis

    1. java.lang.IncompatibleClassChangeError

      Found class com.intellij.lexer.Lexer, but interface was expected

      at com.ansorgit.plugins.bash.lang.lexer.MergingLexer.start()
    2. com.ansorgit.plugins
      BashLexer.start
      1. com.ansorgit.plugins.bash.lang.lexer.MergingLexer.start(MergingLexer.java:38)
      2. com.ansorgit.plugins.bash.lang.lexer.BashLexer.start(BashLexer.java:14)
      2 frames
    3. IDEA
      FileEditorManagerImpl.openEditor
      1. com.intellij.lexer.Lexer.start(Lexer.java:45)
      2. com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.<init>(LexerEditorHighlighter.java:61)
      3. com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:36)
      4. com.intellij.openapi.fileTypes.LanguageFileType.getEditorHighlighter(LanguageFileType.java:63)
      5. com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:64)
      6. com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.b(TextEditorComponent.java:175)
      7. com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.<init>(TextEditorComponent.java:114)
      8. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:63)
      9. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.<init>(PsiAwareTextEditorImpl.java:56)
      10. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:42)
      11. com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.<init>(TextEditorImpl.java:46)
      12. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.<init>(PsiAwareTextEditorImpl.java:38)
      13. com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:50)
      14. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:650)
      15. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$7.run(FileEditorManagerImpl.java:587)
      16. com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:108)
      17. com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
      18. com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:79)
      19. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:585)
      20. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:577)
      21. com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:126)
      22. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$10.run(FileEditorManagerImpl.java:841)
      23. com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:115)
      24. com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)
      25. com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:79)
      26. com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:838)
      26 frames
    4. Openapi
      OpenFileDescriptor.navigate
      1. com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInAnyFileEditor(OpenFileDescriptor.java:133)
      2. com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInEditor(OpenFileDescriptor.java:118)
      3. com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:105)
      3 frames
    5. IDEA
      EditSourceOnDoubleClickHandler$TreeMouseListener.mouseClicked
      1. com.intellij.psi.impl.source.PsiFileImpl.navigate(PsiFileImpl.java:851)
      2. com.intellij.codeInsight.navigation.NavigationUtil.activateFileWithPsiElement(NavigationUtil.java:93)
      3. com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:194)
      4. com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:51)
      5. com.intellij.util.OpenSourceUtil.openSourcesFrom(OpenSourceUtil.java:29)
      6. com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.processDoubleClick(EditSourceOnDoubleClickHandler.java:128)
      7. com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.mouseClicked(EditSourceOnDoubleClickHandler.java:123)
      7 frames
    6. Java RT
      JComponent.processMouseEvent
      1. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
      2. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
      3. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
      4. java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
      5. java.awt.Component.processMouseEvent(Component.java:6270)
      6. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      6 frames
    7. Openapi
      Tree.processMouseEvent
      1. com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:293)
      1 frame
    8. IDEA
      DnDAwareTree.processMouseEvent
      1. com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:49)
      1 frame
    9. Java RT
      EventQueue.dispatchEvent
      1. java.awt.Component.processEvent(Component.java:6032)
      2. java.awt.Container.processEvent(Container.java:2041)
      3. java.awt.Component.dispatchEventImpl(Component.java:4630)
      4. java.awt.Container.dispatchEventImpl(Container.java:2099)
      5. java.awt.Component.dispatchEvent(Component.java:4460)
      6. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      7. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
      8. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      9. java.awt.Container.dispatchEventImpl(Container.java:2085)
      10. java.awt.Window.dispatchEventImpl(Window.java:2478)
      11. java.awt.Component.dispatchEvent(Component.java:4460)
      12. java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
      12 frames
    10. IDEA
      IdeEventQueue.dispatchEvent
      1. com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)
      2. com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:502)
      3. com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:405)
      4. com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:369)
      4 frames
    11. Java RT
      EventDispatchThread.run
      1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      6. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      6 frames