Idea 7.0.* & junit 4.5 Follow
Hi,
I'm experiencing problems while migrating to junit 4.5. An attempt to run single test ends up like that:
1. Debug - process exits with no output.
2. Run: process crashes with error java.lang.NoClassDefFoundError: org/unit/nternal/unners/estClassRunner
From bugtracker I learned that this issue is addressed in later versions of idea 7. Is it correct, and in case it is, when can we expect the release?
Please sign in to leave a comment.
Hello Peter,
junit 4.5 is already supported in 7.0.4
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Judging by this,
http://www.jetbrains.net/jira/browse/IDEADEV-29648
that problem appeared already. If a have the proper release and the issue persisted nevertheless, what may I be doing wrong?
BTW,
is a quote from that bug.
Edited by: Peter Ivanov on Oct 20, 2008 1:37 PM
Peter,
What build do you use?
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Ver. 7.0.4, build 7941
p.s. This error occurs only when I try to run a single test. All tests in class and in package run perfectly fine.
p.p.s. Well, the bug must have been fixed in build 7,953 (http://www.jetbrains.net/jira/browse/IDEADEV-29648), that is newer that 7.0.4 release build (http://www.jetbrains.com/idea/download/). Which returns me to my question - when will the stable release with this fix be available?
Edited by: Peter Ivanov on Oct 21, 2008 11:02 AM
Edited by: Peter Ivanov on Oct 21, 2008 12:41 PM
Hi!
The problem still exists in 7962 (latest available build from Oct. 1st).
Greetings,
Andreas
Hello Andreas,
Could you please paste a stacktrace here? I've fixed compatibility with pre
4.5 junit in build 7963
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hi Anna!
Sure. No Problem. ;)
Exception in thread "main" java.lang.NoClassDefFoundError: org/unit/nternal/unners/Unit4ClassRunner
at com.intellij.rt.junit4.Junit4TestMethodAdapter.run(Junit4TestMethodAdapter.java:38)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at com.intellij.rt.execution.junit.IdeaTestRunner.doRun(IdeaTestRunner.java:65)
at junit.textui.TestRunner.doRun(TestRunner.java:109)
at com.intellij.rt.execution.junit.IdeaTestRunner.startRunnerWithArgs(IdeaTestRunner.java:24)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:118)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
Thanx for your help,
Andreas
Andreas,
It is fixed in 7963. Hope EAP will be available soon.
Sorry for inconvenience
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"