Exception in 'Copy as HTML'

Hi

Using Demetra #5245, the following exception occurred in the 'Copy as HTML' plugin when pressing Ctrl-Shift-A:

Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(46,55),button=1,modifiers=Button1,clickCount=1] on ###overrideRedirect###: com.intellij.lang.Language.getSyntaxHighlighter(Lcom/intellij/openapi/project/Project;)Lcom/intellij/openapi/fileTypes/SyntaxHighlighter;
java.lang.NoSuchMethodError: com.intellij.lang.Language.getSyntaxHighlighter(Lcom/intellij/openapi/project/Project;)Lcom/intellij/openapi/fileTypes/SyntaxHighlighter;
at com.eekboom.copy_as_html.CopyAsHtmlAction.copyAsHtml(CopyAsHtmlAction.java:158)
at com.eekboom.copy_as_html.CopyAsHtmlAction.actionPerformed(CopyAsHtmlAction.java:115)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:6)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:59)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:221)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:18)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:5)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:36)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:121)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:134)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Etienne

Please sign in to leave a comment.