I haven't changed anything and can't debug junittests anymore

Hi,

java.lang.ClassFormatError: Unknown constant tag 0 in class file sun/misc/URLClassPath$JarLoader$2
    at sun.misc.URLClassPath$JarLoader.checkResource(URLClassPath.java:684)
    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:756)
    at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Warning: classic VM not supported; client VM will be used
Could not find the main class: com.intellij.rt.execution.junit.JUnitStarter.  Program will exit.

I have nothing changed, but now i get this error if i wan't to debugging my junittests. Yesterdays it works normally fine...but now.
Running tests works also fine.
What is the Problem? (i have no breakpoints at the moment, but if i set some..its the same)
I have also uninstalled and installed the ide 93.13 and all my projects have the problems.. also this, which are unchanged sins two weeks.

Need help please;)

1 comment
Comment actions Permalink

Hello olku,

could you please send us a command line from the debugger console? What is
the difference with 'run' command line?

Thank you
-


Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

java.lang.ClassFormatError: Unknown constant tag 0 in class file
sun/misc/URLClassPath$JarLoader$2
at
sun.misc.URLClassPath$JarLoader.checkResource(URLClassPath.java:684)
at
sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:756)
at sun.misc.URLClassPath.getResource(URLClassPath.java:168)
at java.net.URLClassLoader$1.run(URLClassLoader.java:192)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Warning: classic VM not supported; client VM will be used
Could not find the main class:
com.intellij.rt.execution.junit.JUnitStarter.  Program will exit.

I have nothing changed, but now i get this error if i wan't to
debugging my junittests. Yesterdays it works normally fine...but now.

Running tests works also fine.

What is the Problem? (i have no breakpoints at the moment, but if i
set some..its the same)

I have also uninstalled and installed the ide 93.13 and all my
projects have the problems.. also this, which are unchanged sins two
weeks.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5252907#5252907



0

Please sign in to leave a comment.