unitTest not working with 5162


Apparently 5162 had changes in OpenAPI that break unitTest
As an aside, when looking at the exception from inside IDEA (clicking on the blinking red button), i can see a lable with "blame unitTest", but the buttons that used to allow automatic reporting of the exception are disabled, any idea why ?


com.intellij.psi.PsiFile.canContainJavaCode()Z
java.lang.NoSuchMethodError: com.intellij.psi.PsiFile.canContainJavaCode()Z
at org.intellij.plugins.adaptors.IridaFileEditor.isJavaFile(IridaFileEditor.java:49)
at org.intellij.plugins.junit.UntestedMethodHighlighter.isJavaFile(UntestedMethodHighlighter.java:111)
at org.intellij.plugins.junit.UntestedMethodHighlighter.markUntestedMethodsInEditor(UntestedMethodHighlighter.java:93)
at org.intellij.plugins.junit.UntestedMethodHighlighter.selectionChanged(UntestedMethodHighlighter.java:79)
at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.util.EventDispatcher.dispatch(EventDispatcher.java:74)
at com.intellij.util.EventDispatcher.access$100(EventDispatcher.java:19)
at com.intellij.util.EventDispatcher$1.invoke(EventDispatcher.java:52)
at $Proxy26.selectionChanged(Unknown Source)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:66)
at com.intellij.openapi.fileEditor.impl.EditorsSplitters.setCurrentWindow(EditorsSplitters.java:23)
at com.intellij.openapi.fileEditor.impl.EditorWindow.setEditor(EditorWindow.java:303)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:183)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane$1.run(EditorTabbedContainer.java:0)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:18)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:62)
at com.intellij.openapi.fileEditor.impl.EditorTabbedContainer$MyTabbedPane.setSelectedIndex(EditorTabbedContainer.java:70)
at javax.swing.JTabbedPane.insertTab(JTabbedPane.java:595)
at com.intellij.ui.TabbedPaneWrapper.insertTab(TabbedPaneWrapper.java:86)
at com.intellij.openapi.fileEditor.impl.EditorWindow.setEditor(EditorWindow.java:302)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:183)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$4.run(FileEditorManagerImpl.java:0)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:18)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:62)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:263)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl(FileEditorManagerImpl.java:178)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:37)
at com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:2)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$5.run(FileEditorManagerImpl.java:11)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:66)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:62)
at com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openEditor(FileEditorManagerImpl.java:207)
at com.intellij.openapi.fileEditor.OpenFileDescriptor.openFileAskingType(OpenFileDescriptor.java:136)
at com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:102)
at com.intellij.psi.impl.source.TreeWrapperPsiElement.navigate(TreeWrapperPsiElement.java:63)
at com.intellij.ide.projectView.impl.nodes.BasePsiNode.navigate(BasePsiNode.java:50)
at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:41)
at com.intellij.util.OpenSourceUtil.openSourcesFrom(OpenSourceUtil.java:29)
at com.intellij.util.EditSourceOnDoubleClickHandler$1.mouseClicked(EditSourceOnDoubleClickHandler.java:49)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at com.intellij.util.ui.Tree.processMouseEvent(Tree.java:70)
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:3901)
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:178)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:179)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:147)
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)

1 comment
Comment actions Permalink

Ahh well did not think it would take too long to catch up with me, started already to create a demetra version, won't be able to get anything up until the weekend at the earliest though.

Thanx for reporting it.

0

Please sign in to leave a comment.