UnitTest plugin and build 3326

I can't open any files with this plugin installed.

--
"A man's ethical behavior should be based effectually on sympathy,
education, and social ties and needs; no religious basis is necessary. Man
would indeed be in a poor way if he had to be restrained by fear of
punishment and hope of reward after death."
[Albert Einstein, "Religion and Science", New York Times Magazine, 9
November 1930]


2 comments
Comment actions Permalink

What version of the plugin are you running? Things seem to be
ok here on 3326.

Vince.


0
Comment actions Permalink

I don't know what version I was using but I just installed the version in
PluginManager and I can now open files but I get the following Exception
when opening a jsp:

com.intellij.psi.search.LocalSearchScope
java.lang.ClassCastException: com.intellij.psi.search.LocalSearchScope
at
org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.getTestCasePsiClass(ToggleTestCaseTestedClassAction.java:128)
at
org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.isUnitTest(ToggleTestCaseTestedClassAction.java:103)
at
org.intellij.plugins.junit.UntestedMethodHighlighter.isTestClass(UntestedMethodHighlighter.java:184)
at
org.intellij.plugins.junit.UntestedMethodHighlighter.isClassTestable(UntestedMethodHighlighter.java:292)
at
org.intellij.plugins.junit.UntestedMethodHighlighter.markUntestedMethodsInEditor(UntestedMethodHighlighter.java:99)
at
org.intellij.plugins.junit.UntestedMethodHighlighter.selectionChanged(UntestedMethodHighlighter.java:72)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.fireSelectionChanged(FileEditorManagerImpl.java:49)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl3(FileEditorManagerImpl.java:292)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$2.run(FileEditorManagerImpl.java)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:13)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:51)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl2(FileEditorManagerImpl.java:146)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileImpl(FileEditorManagerImpl.java:232)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openFileWithProviders(FileEditorManagerImpl.java:79)
at
com.intellij.openapi.fileEditor.ex.FileEditorManagerEx.openFile(FileEditorManagerEx.java:1)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl$3.run(FileEditorManagerImpl.java:15)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:69)
at
com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:51)
at
com.intellij.openapi.fileEditor.impl.FileEditorManagerImpl.openTextEditor(FileEditorManagerImpl.java:54)
at
com.intellij.openapi.fileEditor.OpenFileDescriptor.openFileAskingType(OpenFileDescriptor.java:99)
at
com.intellij.openapi.fileEditor.OpenFileDescriptor.navigate(OpenFileDescriptor.java:81)
at com.intellij.util.OpenSourceUtil.navigate(OpenSourceUtil.java:26)
at
com.intellij.util.OpenSourceUtil.openSourcesFrom(OpenSourceUtil.java:14)
at
com.intellij.util.EditSourceOnDoubleClickHandler$1.mouseClicked(EditSourceOnDoubleClickHandler.java:32)
at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:212)
at
java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:211)
at java.awt.Component.processMouseEvent(Component.java:5491)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
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:148)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:120)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:98)
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)

"Vincent Mallet" <xmalletva@tripos.com> wrote in message
news:d5gi47$m9k$1@is.intellij.net...

What version of the plugin are you running? Things seem to be
ok here on 3326.

>

Vince.

>



0

Please sign in to leave a comment.