6 comments
Comment actions Permalink

Jacques Morel wrote:

http://www.intellij.org/twiki/bin/view/Main/JUnitTestPlugin

Changes

  • Upgraded to 833 (not backward compatible)

  • Gutter icons are now refreshed automatically as you type

  • Fixed NPE when editing Default Project properties


Nice plugin! I really needed this, navigating to and from unit test is
so much easier now.
However I was just editing some code and got this exception that seemed
to be from the JUnitTestPlugin:

2003-06-23 17:15:40,240 ERROR -
tellij.psi.impl.PsiManagerImpl - Assertion failed: assertDocumentsCommited
2003-06-23 17:15:40,300 ERROR -
tellij.psi.impl.PsiManagerImpl - IntelliJ IDEA (Aurora) Build #833
2003-06-23 17:15:40,361 ERROR -
tellij.psi.impl.PsiManagerImpl - JDK: 1.4.1_02
2003-06-23 17:15:40,361 ERROR -
tellij.psi.impl.PsiManagerImpl - VM: Java HotSpot(TM) Client VM
2003-06-23 17:15:40,361 ERROR -
tellij.psi.impl.PsiManagerImpl - Vendor: Sun Microsystems Inc.
2003-06-23 17:15:40,361 ERROR -
tellij.psi.impl.PsiManagerImpl - OS: Windows 2000
2003-06-23 17:15:40,361 ERROR -
tellij.psi.impl.PsiManagerImpl - Last Action: EditorEnter
2003-06-23 17:15:40,401 ERROR -
tellij.psi.impl.PsiManagerImpl -
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)
at com.intellij.psi.impl.by.b(by.java:269)
at com.intellij.psi.impl.b.a.w.a(w.java:319)
at com.intellij.psi.impl.b.a.t.a(t.java)
at com.intellij.psi.impl.e.a.l.g(l.java:7)
at com.intellij.psi.impl.e.a.l.c(l.java:166)
at com.intellij.psi.impl.by.findClass(by.java:322)
at
org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.isUnitTest(ToggleTestCaseTestedClassAction.java:104)
at
org.intellij.plugins.junit.UntestedMethodHighlighter.isTestClass(UntestedMethodHighlighter.java:184)
at
org.intellij.plugins.junit.UntestedMethodHighlighter$4.actionPerformed(UntestedMethodHighlighter.java:298)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.t.a(t.java:78)
at com.intellij.ide.t.dispatchEvent(t.java:30)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl - Assertion failed
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl - IntelliJ IDEA (Aurora) Build #833
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl - JDK: 1.4.1_02
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl - VM: Java HotSpot(TM) Client VM
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl - Vendor: Sun Microsystems Inc.
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl - OS: Windows 2000
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl - Last Action: EditorEnter
2003-06-23 17:15:40,411 ERROR -
tellij.psi.impl.PsiManagerImpl -
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:48)
at com.intellij.psi.impl.by.a(by.java:52)
at com.intellij.psi.impl.source.bk.j(bk.java:117)
at com.intellij.psi.impl.source.bm.getPackageName(bm.java:1)
at com.intellij.psi.impl.b.a.w.a(w.java:120)
at com.intellij.psi.impl.b.a.w.a(w.java:300)
at com.intellij.psi.impl.b.a.w.a(w.java:189)
at com.intellij.psi.impl.b.a.t.a(t.java)
at com.intellij.psi.impl.e.a.l.g(l.java:7)
at com.intellij.psi.impl.e.a.l.c(l.java:166)
at com.intellij.psi.impl.by.findClass(by.java:322)
at
org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.isUnitTest(ToggleTestCaseTestedClassAction.java:104)
at
org.intellij.plugins.junit.UntestedMethodHighlighter.isTestClass(UntestedMethodHighlighter.java:184)
at
org.intellij.plugins.junit.UntestedMethodHighlighter$4.actionPerformed(UntestedMethodHighlighter.java:298)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.t.a(t.java:78)
at com.intellij.ide.t.dispatchEvent(t.java:30)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Regards,
Bas

0
Comment actions Permalink


"Jacques Morel" wrote:

Changes

  • Upgraded to 833 (not backward compatible)

  • Gutter icons are now refreshed automatically as you type

  • Fixed NPE when editing Default Project properties


I get some errors when clicking on a gutter icon to create a test class, and also when starting idea (see bottom)

2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler - IntelliJ IDEA (Aurora) Build #833
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler - JDK: 1.4.1_02
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler - VM: Java HotSpot(TM) Client VM
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler - Vendor: Sun Microsystems Inc.
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler - OS: Windows 2000
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler - Last Action: NewDir
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler - Current Command:
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
java.lang.NullPointerException

at org.intellij.plugins.junit.ClassLocator.createTestClass(ClassLocator.java:30)

at org.intellij.plugins.junit.actions.GoToUnitTestHandler.createTestClass(GoToUnitTestHandler.java:147)

at org.intellij.plugins.junit.actions.GoToUnitTestHandler.access$000(GoToUnitTestHandler.java:28)

at org.intellij.plugins.junit.actions.GoToUnitTestHandler$CreateTestClassCommand.run(GoToUnitTestHandler.java:77)

at org.intellij.plugins.util.CommandUtil$4.run(CommandUtil.java:80)

at com.intellij.openapi.application.a.d.runWriteAction(d.java:180)

at org.intellij.plugins.util.CommandUtil.runAction(CommandUtil.java:87)

at org.intellij.plugins.util.CommandUtil.access$100(CommandUtil.java:13)

at org.intellij.plugins.util.CommandUtil$3.run(CommandUtil.java:70)

at com.intellij.openapi.command.b.b.executeCommand(b.java:62)

at org.intellij.plugins.util.CommandUtil.executeCommand(CommandUtil.java:68)

at org.intellij.plugins.util.CommandUtil.executeWriteCommand(CommandUtil.java:25)

at org.intellij.plugins.junit.actions.GoToUnitTestHandler.findOrCreateTestClass(GoToUnitTestHandler.java:87)

at org.intellij.plugins.junit.actions.GoToUnitTestHandler.execute(GoToUnitTestHandler.java:46)

at org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.actionPerformed(ToggleTestCaseTestedClassAction.java:58)

at com.intellij.openapi.editor.c.dg.mouseReleased(dg.java:6)

at com.intellij.openapi.editor.c.x.h(x.java:264)

at com.intellij.openapi.editor.c.x.b(x.java:1278)

at com.intellij.openapi.editor.c.bu.run(bu.java:1)

at com.intellij.openapi.command.b.b.executeCommand(b.java:64)

at com.intellij.openapi.editor.c.x.c(x.java:530)

at com.intellij.openapi.editor.c.x.e(x.java:1122)

at com.intellij.openapi.editor.c.e.mouseReleased(e.java:5)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.intellij.ide.t.a(t.java:78)

at com.intellij.ide.t.dispatchEvent(t.java:71)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)




:

2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl - Assertion failed
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl - IntelliJ IDEA (Aurora) Build #833
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl - JDK: 1.4.1_02
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl - VM: Java HotSpot(TM) Client VM
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl - Vendor: Sun Microsystems Inc.
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl - OS: Windows 2000
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:48)

at com.intellij.psi.impl.d.z.resolve(z.java:31)

at com.intellij.psi.impl.source.ca.resolve(ca.java:1)

at com.intellij.psi.impl.source.c.b.b(b.java:51)

at com.intellij.psi.impl.source.c.b.a(b.java:481)

at com.intellij.psi.impl.source.c.b.suggestVariableName(b.java:60)

at com.intellij.psi.impl.d.l.b(l.java:32)

at com.intellij.psi.impl.d.l.a(l.java:47)

at com.intellij.psi.impl.d.m.a(m.java:10)

at com.intellij.psi.impl.d.w.a(w.java:313)

at com.intellij.psi.impl.d.t.a(t.java:145)

at com.intellij.psi.impl.d.v.a(v.java:96)

at com.intellij.openapi.fileEditor.a.e.b(e.java:12)

at com.intellij.openapi.fileEditor.a.e.a(e.java:86)

at com.intellij.openapi.fileEditor.a.e.getDocument(e.java:47)

at com.intellij.ui.b.a.a.p.readState(p.java:27)

at com.intellij.ui.b.a.bd.]]>(bd.java:9)

at com.intellij.ui.b.a.p.run(p.java:0)

at com.intellij.openapi.application.a.d.runReadAction(d.java:292)

at com.intellij.ui.b.a.o.run(o.java:1)

at com.intellij.ide.l.a.a.b(a.java:7)

at com.intellij.openapi.project.a.m.run(m.java:6)

at com.intellij.progress.c.a(c.java:23)

at com.intellij.openapi.project.a.l.run(l.java:2)

at java.lang.Thread.run(Unknown Source)

2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl - Assertion failed
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl - IntelliJ IDEA (Aurora) Build #833
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl - JDK: 1.4.1_02
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl - VM: Java HotSpot(TM) Client VM
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl - Vendor: Sun Microsystems Inc.
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl - OS: Windows 2000
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:48)

at com.intellij.psi.impl.d.z.resolve(z.java:31)

at com.intellij.psi.impl.source.ca.resolve(ca.java:1)

at com.intellij.psi.impl.source.c.b.b(b.java:51)

at com.intellij.psi.impl.source.c.b.a(b.java:481)

at com.intellij.psi.impl.source.c.b.suggestVariableName(b.java:60)

at com.intellij.psi.impl.d.l.b(l.java:32)

at com.intellij.psi.impl.d.l.a(l.java:47)

at com.intellij.psi.impl.d.m.a(m.java:10)

at com.intellij.psi.impl.d.w.a(w.java:313)

at com.intellij.psi.impl.d.t.a(t.java:145)

at com.intellij.psi.impl.d.v.a(v.java:96)

at com.intellij.openapi.fileEditor.a.e.b(e.java:12)

at com.intellij.openapi.fileEditor.a.e.a(e.java:86)

at com.intellij.openapi.fileEditor.a.e.getDocument(e.java:47)

at com.intellij.ui.b.a.a.p.readState(p.java:27)

at com.intellij.ui.b.a.bd.]]>(bd.java:9)

at com.intellij.ui.b.a.p.run(p.java:0)

at com.intellij.openapi.application.a.d.runReadAction(d.java:292)

at com.intellij.ui.b.a.o.run(o.java:1)

at com.intellij.ide.l.a.a.b(a.java:7)

at com.intellij.openapi.project.a.m.run(m.java:6)

at com.intellij.progress.c.a(c.java:23)

at com.intellij.openapi.project.a.l.run(l.java:2)

at java.lang.Thread.run(Unknown Source)






0
Comment actions Permalink

Here is one more "me too" exception.

ERROR - tellij.psi.impl.PsiManagerImpl - Assertion failed: assertDocu
mentsCommited
ERROR - tellij.psi.impl.PsiManagerImpl - IntelliJ IDEA (Aurora) Bui
ld #833
ERROR - tellij.psi.impl.PsiManagerImpl - JDK: 1.4.1_02
ERROR - tellij.psi.impl.PsiManagerImpl - VM: Java HotSpot(TM) Client
VM
ERROR - tellij.psi.impl.PsiManagerImpl - Vendor: Sun Microsystems Inc
.
ERROR - tellij.psi.impl.PsiManagerImpl - OS: Windows 2000
ERROR - tellij.psi.impl.PsiManagerImpl - Last Action: EditorBackSpace

ERROR - tellij.psi.impl.PsiManagerImpl -
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)
at com.intellij.psi.impl.by.b(by.java:269)
at com.intellij.psi.impl.b.a.w.a(w.java:319)
at com.intellij.psi.impl.b.a.t.a(t.java)
at com.intellij.psi.impl.e.a.l.g(l.java:7)
at com.intellij.psi.impl.e.a.l.c(l.java:166)
at com.intellij.psi.impl.by.findClass(by.java:322)
at com.intellij.psi.impl.d.h.resolve(h.java:65)
at com.intellij.psi.impl.u.a(u.java:120)
at com.intellij.psi.impl.u.h(u.java:211)
at com.intellij.psi.impl.d.t.getInterfaces(t.java:316)
at com.intellij.psi.util.PsiUtil.a(PsiUtil.java:105)
at com.intellij.psi.util.PsiUtil.b(PsiUtil.java:154)
at com.intellij.psi.util.PsiUtil.a(PsiUtil.java:116)
at com.intellij.psi.util.PsiUtil.isInheritor(PsiUtil.java:182)
at org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.is
UnitTest(ToggleTestCaseTestedClassAction.java:106)
at org.intellij.plugins.junit.UntestedMethodHighlighter.isTestClass(Unte
stedMethodHighlighter.java:184)
at org.intellij.plugins.junit.UntestedMethodHighlighter$4.actionPerforme
d(UntestedMethodHighlighter.java:298)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.t.a(t.java:78)
at com.intellij.ide.t.dispatchEvent(t.java:30)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)


Thanks for the cool plugin.

-Dash.

0
Comment actions Permalink

Yep, I have that one too. Should be fixed soon

Jacques

"Debabrata Dash" <idea@devbrat.com> wrote in message
news:29365242.1056760371104.JavaMail.itn@is.intellij.net...

Here is one more "me too" exception.

>

ERROR - tellij.psi.impl.PsiManagerImpl - Assertion failed:

assertDocu

mentsCommited
ERROR - tellij.psi.impl.PsiManagerImpl - IntelliJ IDEA (Aurora)

Bui

ld #833
ERROR - tellij.psi.impl.PsiManagerImpl - JDK: 1.4.1_02
ERROR - tellij.psi.impl.PsiManagerImpl - VM: Java HotSpot(TM)

Client

VM
ERROR - tellij.psi.impl.PsiManagerImpl - Vendor: Sun

Microsystems Inc

.
ERROR - tellij.psi.impl.PsiManagerImpl - OS: Windows 2000
ERROR - tellij.psi.impl.PsiManagerImpl - Last Action:

EditorBackSpace
>

ERROR - tellij.psi.impl.PsiManagerImpl -
java.lang.Throwable
at

com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)

at com.intellij.psi.impl.by.b(by.java:269)
at com.intellij.psi.impl.b.a.w.a(w.java:319)
at com.intellij.psi.impl.b.a.t.a(t.java)
at com.intellij.psi.impl.e.a.l.g(l.java:7)
at com.intellij.psi.impl.e.a.l.c(l.java:166)
at com.intellij.psi.impl.by.findClass(by.java:322)
at com.intellij.psi.impl.d.h.resolve(h.java:65)
at com.intellij.psi.impl.u.a(u.java:120)
at com.intellij.psi.impl.u.h(u.java:211)
at com.intellij.psi.impl.d.t.getInterfaces(t.java:316)
at com.intellij.psi.util.PsiUtil.a(PsiUtil.java:105)
at com.intellij.psi.util.PsiUtil.b(PsiUtil.java:154)
at com.intellij.psi.util.PsiUtil.a(PsiUtil.java:116)
at com.intellij.psi.util.PsiUtil.isInheritor(PsiUtil.java:182)
at

org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.is

UnitTest(ToggleTestCaseTestedClassAction.java:106)
at

org.intellij.plugins.junit.UntestedMethodHighlighter.isTestClass(Unte

stedMethodHighlighter.java:184)
at

org.intellij.plugins.junit.UntestedMethodHighlighter$4.actionPerforme

d(UntestedMethodHighlighter.java:298)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at com.intellij.ide.t.a(t.java:78)
at com.intellij.ide.t.dispatchEvent(t.java:30)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown

Source)
>
>

Thanks for the cool plugin.

>

-Dash.



0
Comment actions Permalink

Sorry, we are in the middle of rewriting the test case creation (using
velocity template).
Try it with the new version soon to come out and let me know if you get the
same problem

Jacques
"m.milicevic" <RE_THISjjooee@chello.nl> wrote in message
news:bdh1rj$o2k$1@is.intellij.net...

"Jacques Morel" wrote:

Changes

  • Upgraded to 833 (not backward compatible)

  • Gutter icons are now refreshed automatically as you type

  • Fixed NPE when editing Default Project properties


I get some errors when clicking on a gutter icon to create a test class, and
also when starting idea (see bottom)

2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
IntelliJ IDEA (Aurora) Build #833
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
JDK: 1.4.1_02
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
VM: Java HotSpot(TM) Client VM
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
Vendor: Sun Microsystems Inc.
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
OS: Windows 2000
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
Last Action: NewDir
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
Current Command:
2003-06-27 10:57:11,113 ERROR - t.actions.JUnitTestCaseHandler -
java.lang.NullPointerException

at
org.intellij.plugins.junit.ClassLocator.createTestClass(ClassLocator.java:30
)

at
org.intellij.plugins.junit.actions.GoToUnitTestHandler.createTestClass(GoToU
nitTestHandler.java:147)

at
org.intellij.plugins.junit.actions.GoToUnitTestHandler.access$000(GoToUnitTe
stHandler.java:28)

at
org.intellij.plugins.junit.actions.GoToUnitTestHandler$CreateTestClassComman
d.run(GoToUnitTestHandler.java:77)

at org.intellij.plugins.util.CommandUtil$4.run(CommandUtil.java:80)

at com.intellij.openapi.application.a.d.runWriteAction(d.java:180)

at org.intellij.plugins.util.CommandUtil.runAction(CommandUtil.java:87)

at org.intellij.plugins.util.CommandUtil.access$100(CommandUtil.java:13)

at org.intellij.plugins.util.CommandUtil$3.run(CommandUtil.java:70)

at com.intellij.openapi.command.b.b.executeCommand(b.java:62)

at
org.intellij.plugins.util.CommandUtil.executeCommand(CommandUtil.java:68)

at
org.intellij.plugins.util.CommandUtil.executeWriteCommand(CommandUtil.java:2
5)

at
org.intellij.plugins.junit.actions.GoToUnitTestHandler.findOrCreateTestClass
(GoToUnitTestHandler.java:87)

at
org.intellij.plugins.junit.actions.GoToUnitTestHandler.execute(GoToUnitTestH
andler.java:46)

at
org.intellij.plugins.junit.actions.ToggleTestCaseTestedClassAction.actionPer
formed(ToggleTestCaseTestedClassAction.java:58)

at com.intellij.openapi.editor.c.dg.mouseReleased(dg.java:6)

at com.intellij.openapi.editor.c.x.h(x.java:264)

at com.intellij.openapi.editor.c.x.b(x.java:1278)

at com.intellij.openapi.editor.c.bu.run(bu.java:1)

at com.intellij.openapi.command.b.b.executeCommand(b.java:64)

at com.intellij.openapi.editor.c.x.c(x.java:530)

at com.intellij.openapi.editor.c.x.e(x.java:1122)

at com.intellij.openapi.editor.c.e.mouseReleased(e.java:5)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Window.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at com.intellij.ide.t.a(t.java:78)

at com.intellij.ide.t.dispatchEvent(t.java:71)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)




:

2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
Assertion failed
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
IntelliJ IDEA (Aurora) Build #833
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
JDK: 1.4.1_02
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
VM: Java HotSpot(TM) Client VM
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
Vendor: Sun Microsystems Inc.
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
OS: Windows 2000
2003-06-27 10:59:29,884 ERROR - .ClsTypeParameterReferenceImpl -
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:48)

at com.intellij.psi.impl.d.z.resolve(z.java:31)

at com.intellij.psi.impl.source.ca.resolve(ca.java:1)

at com.intellij.psi.impl.source.c.b.b(b.java:51)

at com.intellij.psi.impl.source.c.b.a(b.java:481)

at com.intellij.psi.impl.source.c.b.suggestVariableName(b.java:60)

at com.intellij.psi.impl.d.l.b(l.java:32)

at com.intellij.psi.impl.d.l.a(l.java:47)

at com.intellij.psi.impl.d.m.a(m.java:10)

at com.intellij.psi.impl.d.w.a(w.java:313)

at com.intellij.psi.impl.d.t.a(t.java:145)

at com.intellij.psi.impl.d.v.a(v.java:96)

at com.intellij.openapi.fileEditor.a.e.b(e.java:12)

at com.intellij.openapi.fileEditor.a.e.a(e.java:86)

at com.intellij.openapi.fileEditor.a.e.getDocument(e.java:47)

at com.intellij.ui.b.a.a.p.readState(p.java:27)

at com.intellij.ui.b.a.bd.]]>(bd.java:9)

at com.intellij.ui.b.a.p.run(p.java:0)

at com.intellij.openapi.application.a.d.runReadAction(d.java:292)

at com.intellij.ui.b.a.o.run(o.java:1)

at com.intellij.ide.l.a.a.b(a.java:7)

at com.intellij.openapi.project.a.m.run(m.java:6)

at com.intellij.progress.c.a(c.java:23)

at com.intellij.openapi.project.a.l.run(l.java:2)

at java.lang.Thread.run(Unknown Source)

2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
Assertion failed
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
IntelliJ IDEA (Aurora) Build #833
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
JDK: 1.4.1_02
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
VM: Java HotSpot(TM) Client VM
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
Vendor: Sun Microsystems Inc.
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
OS: Windows 2000
2003-06-27 10:59:29,894 ERROR - .ClsTypeParameterReferenceImpl -
java.lang.Throwable

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:84)

at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:48)

at com.intellij.psi.impl.d.z.resolve(z.java:31)

at com.intellij.psi.impl.source.ca.resolve(ca.java:1)

at com.intellij.psi.impl.source.c.b.b(b.java:51)

at com.intellij.psi.impl.source.c.b.a(b.java:481)

at com.intellij.psi.impl.source.c.b.suggestVariableName(b.java:60)

at com.intellij.psi.impl.d.l.b(l.java:32)

at com.intellij.psi.impl.d.l.a(l.java:47)

at com.intellij.psi.impl.d.m.a(m.java:10)

at com.intellij.psi.impl.d.w.a(w.java:313)

at com.intellij.psi.impl.d.t.a(t.java:145)

at com.intellij.psi.impl.d.v.a(v.java:96)

at com.intellij.openapi.fileEditor.a.e.b(e.java:12)

at com.intellij.openapi.fileEditor.a.e.a(e.java:86)

at com.intellij.openapi.fileEditor.a.e.getDocument(e.java:47)

at com.intellij.ui.b.a.a.p.readState(p.java:27)

at com.intellij.ui.b.a.bd.]]>(bd.java:9)

at com.intellij.ui.b.a.p.run(p.java:0)

at com.intellij.openapi.application.a.d.runReadAction(d.java:292)

at com.intellij.ui.b.a.o.run(o.java:1)

at com.intellij.ide.l.a.a.b(a.java:7)

at com.intellij.openapi.project.a.m.run(m.java:6)

at com.intellij.progress.c.a(c.java:23)

at com.intellij.openapi.project.a.l.run(l.java:2)

at java.lang.Thread.run(Unknown Source)







0
Comment actions Permalink

Hi,

Just had te following occur on me


No editors open. clicked on project tab
the first editor I opened was a jsp

build i use is #873

gr,

Aiko


Jacques Morel wrote:

http://www.intellij.org/twiki/bin/view/Main/JUnitTestPlugin

Changes

  • Upgraded to 833 (not backward compatible)

  • Gutter icons are now refreshed automatically as you type

  • Fixed NPE when editing Default Project properties



java.lang.NullPointerException at
org.intellij.plugins.junit.UntestedMethodHighlighter.updateEditorElementAddedOrRemoved(UntestedMethodHighlighter.java:59)
at
org.intellij.plugins.junit.UntestedMethodHighlighter.updateTreeFromPsiTreeChange(UntestedMethodHighlighter.java:53)
at
org.intellij.plugins.junit.UntestedMethodHighlighter$3.childrenChanged(UntestedMethodHighlighter.java:200)
at com.intellij.psi.impl.cc.m(cc.java:39) at
com.intellij.psi.impl.cc.k(cc.java:85) at
com.intellij.psi.impl.source.g.c.a(c.java:303) at
com.intellij.psi.impl.source.b.a.c(a.java:96) at
com.intellij.psi.impl.source.b.a.b(a.java:184) at
com.intellij.psi.impl.cb.a(cb.java:119) at
com.intellij.psi.impl.p.run(p.java:3) at
com.intellij.openapi.application.b.d.runWriteAction(d.java:248) at
com.intellij.psi.impl.cb.commitDocument(cb.java:1) at
com.intellij.psi.impl.cb.documentChanged(cb.java:83) at
sun.reflect.GeneratedMethodAccessor41.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
com.intellij.util.EventUtil$1.invoke(EventUtil.java:13) at
$Proxy0.documentChanged(Unknown Source) at
com.intellij.openapi.editor.d.p.a(p.java:94) at
com.intellij.openapi.editor.d.p.a(p.java:74) at
com.intellij.openapi.editor.d.p.a(p.java:216) at
com.intellij.openapi.fileEditor.b.i.run(i.java:4) at
com.intellij.openapi.application.b.d.runWriteAction(d.java:248) at
com.intellij.openapi.fileEditor.b.e.contentsChanged(e.java:71) at
com.intellij.openapi.vfs.a.i.contentsChanged(i.java:44) at
com.intellij.openapi.vfs.VirtualFileSystem.fireContentsChanged(VirtualFileSystem.java:28)
at com.intellij.openapi.vfs.a.a.bj.fireContentsChanged(bj.java:81)
at com.intellij.openapi.vfs.a.a.y.run(y.java:5) at
com.intellij.openapi.application.b.d.runWriteAction(d.java:248) at
com.intellij.openapi.vfs.a.a.ba.run(ba.java:2) at
com.intellij.util.LaterInvokator$1.run(LaterInvokator.java:4) at
java.awt.event.InvocationEvent.dispatch(Unknown Source) at
java.awt.EventQueue.dispatchEvent(Unknown Source) at
com.intellij.ide.s.a(s.java:15) at
com.intellij.ide.s.dispatchEvent(s.java:53) at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at
java.awt.EventDispatchThread.pumpEvents(Unknown Source) at
java.awt.EventDispatchThread.run(Unknown Source)

0

Please sign in to leave a comment.