| initializationError0 When Running JUnits Through Eclipse [message #330668] | 
Thu, 07 August 2008 16:28  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Originally posted by: ian.dees.gmail.com 
 
Hi everyone, 
 
On some of my JUnits that I run through Eclipse's JUnit interface  
(alt-shift-x + t), I get an "initializationError0" as the only test, with  
a Failure Trace of: 
 
java.lang.VerifyError: (class: com/xx/yy/zzTest, method: unmarshall  
signature: ([B[B)Lcom/xx/yy/zz;) Incompatible argument to function 
	at java.lang.Class.getDeclaredConstructors0(Native Method) 
	at  java.lang.Class.privateGetDeclaredConstructors(Class.java:23 89) 
	at java.lang.Class.getConstructor0(Class.java:2699) 
	at java.lang.Class.getConstructor(Class.java:1657) 
	at  junit.framework.TestSuite.getTestConstructor(TestSuite.java: 177) 
	at junit.framework.TestSuite.<init>(TestSuite.java:59) 
	at  
org.junit.internal.runners.OldTestClassRunner.<init>(OldTestClassRunner.java:23) 
	at  sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method) 
	at  
 sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39) 
	at  
 sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27) 
	at  java.lang.reflect.Constructor.newInstance(Constructor.java:5 13) 
	at  
 org.junit.internal.requests.ClassRequest.getRunner(ClassRequ est.java:27) 
	at  
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init >(JUnit4TestReference.java:28) 
	at  
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassRefere nce. <init>(JUnit4TestClassReference.java:24) 
	at  
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.crea teTest(JUnit4TestLoader.java:40) 
	at  
 org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.load Tests(JUnit4TestLoader.java:30) 
	at  
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:445) 
	at  
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673) 
	at  
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386) 
	at  
 org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main( RemoteTestRunner.java:196) 
 
These tests are working on others' machines and on the build server, so  
I'm convinced that it is my copy of Eclipse having the issue. 
 
I'm running Version: 3.4.0, Build id: I20080617-2000. 
 
Please forgive me if this is not the right place to ask a question, the  
eclipse website is pretty unclear about where to go for a question like  
this. 
 
-Ian
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.05648 seconds