Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by GoogleCodeExporter
, 1 year ago
Found class com.intellij.lexer.Lexer, but interface was expected
java.lang.IncompatibleClassChangeError: Found class com.intellij.lexer.Lexer, 
but interface was expected	at com.ansorgit.plugins.bash.lang.lexer.MergingLexer.start(MergingLexer.java:38)	at com.ansorgit.plugins.bash.lang.lexer.BashLexer.start(BashLexer.java:14)	at com.intellij.lexer.Lexer.start(Lexer.java:45)	at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.(LexerEditorHighlighter.java:61)	at com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:36)	at com.intellij.openapi.fileTypes.LanguageFileType.getEditorHighlighter(LanguageFileType.java:63)	at com.intellij.openapi.editor.highlighter.EditorHighlighterFactoryImpl.createEditorHighlighter(EditorHighlighterFactoryImpl.java:64)	at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.b(TextEditorComponent.java:175)	at com.intellij.openapi.fileEditor.impl.text.TextEditorComponent.(TextEditorComponent.java:114)	at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.(PsiAwareTextEditorImpl.java:63)	at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl$PsiAwareTextEditorComponent.(PsiAwareTextEditorImpl.java:56)	at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.createEditorComponent(PsiAwareTextEditorImpl.java:42)	at com.intellij.openapi.fileEditor.impl.text.TextEditorImpl.(TextEditorImpl.java:46)	at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorImpl.(PsiAwareTextEditorImpl.java:38)	at com.intellij.openapi.fileEditor.impl.text.PsiAwareTextEditorProvider.createEditor(PsiAwareTextEditorProvider.java:50)	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:650)	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$7.run(FileEditorManagerImpl.java:587)	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:108)	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:79)	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:585)	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:577)	at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:126)	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$10.run(FileEditorManagerImpl.java:841)	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:115)	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:91)	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:79)	at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:838)	at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInAnyFileEditor(OpenFileDescriptor.java:133)	at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigateInEditor(OpenFileDescriptor.java:118)	at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:105)	at com.intellij.psi.impl.source.PsiFileImpl.navigate(PsiFileImpl.java:851)	at com.intellij.codeInsight.navigation.NavigationUtil.activateFileWithPsiElement(NavigationUtil.java:93)	at com.intellij.ide.projectView.impl.nodes.AbstractPsiBasedNode.navigate(AbstractPsiBasedNode.java:194)	at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:51)	at com.intellij.util.OpenSourceUtil.openSourcesFrom(OpenSourceUtil.java:29)	at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.processDoubleClick(EditSourceOnDoubleClickHandler.java:128)	at com.intellij.util.EditSourceOnDoubleClickHandler$TreeMouseListener.mouseClicked(EditSourceOnDoubleClickHandler.java:123)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)	at java.awt.Component.processMouseEvent(Component.java:6270)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)	at com.intellij.ui.treeStructure.Tree.processMouseEvent(Tree.java:293)	at com.intellij.ide.dnd.aware.DnDAwareTree.processMouseEvent(DnDAwareTree.java:49)	at java.awt.Component.processEvent(Component.java:6032)	at java.awt.Container.processEvent(Container.java:2041)	at java.awt.Component.dispatchEventImpl(Component.java:4630)	at java.awt.Container.dispatchEventImpl(Container.java:2099)	at java.awt.Component.dispatchEvent(Component.java:4460)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)	at java.awt.Container.dispatchEventImpl(Container.java:2085)	at java.awt.Window.dispatchEventImpl(Window.java:2478)	at java.awt.Component.dispatchEvent(Component.java:4460)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)	at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:652)	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:502)	at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:405)	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:369)	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)