JUnit not running in build 5622

FYI, I just opened jira bug IDEA-8932 - you cannot run JUnit tests via IDEA in build 5622. You get a ClassNotFoundException for com.intellij.rt.junit4.JUnit4Util

2 comments
Comment actions Permalink

Hello Mark,

That's fixed, thanks. As a workaround until fresh EAP build arrives you may
take idea_rt.jar from the previous EAP build.

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

FYI, I just opened jira bug IDEA-8932 - you cannot run JUnit tests
via IDEA in build 5622. You get a ClassNotFoundException for
com.intellij.rt.junit4.JUnit4Util

 java.lang.ClassNotFoundException: com.intellij.rt.junit4.JUnit4Util
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:164)
> at
> com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JU
> nitStarter.java:115)
> at
> com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40
> )
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
> ava:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
> orImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at
> com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> ]]>



0
Comment actions Permalink

Thanks Maxim.

My apologies as I had seen the other Jira entry for this issue (IDEADEV-8600), but I must have glanced too quickly at the build numbers involved as I had thought that entry was reported against and fixed in a much older version. So I thought it was a resurfacing of the issue. I guess that's what happens when trying to report an issue when your mind is focused on the upcoming weekend. :)

-Mark

0

Please sign in to leave a comment.