cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrea Smyth <andrea.sm...@iona.com>
Subject Re: Validator tests failing with ClassFormat
Date Thu, 25 Jan 2007 14:06:30 GMT
I should add that I am working on Windows, using JDK 1.5.0_09.

> After cleaning at the top level and wiping out my local repository I 
> see several of the tools/validator tests failing with a 
> ClassFormatError (example stacktrace below).
> I tried reverting the change to the WSDL11Validator applied to fix a 
> problem with the ibm jdk, but that made no difference.
> Has anyone seen these errors before or have an idea what other change 
> could have introduced them?
>
> Thanks,
> Andrea.
>
>
> [surefire] Running org.apache.cxf.tools.validator.WSDLValidationTest
> [surefire] Tests run: 8, Failures: 0, Errors: 6, Time elapsed: 2.443 sec
> [surefire]
> [surefire] 
> testValidateUniqueBody(org.apache.cxf.tools.validator.WSDLValidationTest)  
> Time elapsed: 0.931 sec  <<< ERROR!
> java.lang.ClassFormatError: Truncated class file
>    at java.lang.ClassLoader.defineClass1(Native Method)
>    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
>    at 
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
>    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
>    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
>    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>    at 
> org.apache.cxf.tools.util.WSDLExtensionRegister.registerXMLHttpAddress(WSDLExtensionRegister.java:95)

>
>    at 
> org.apache.cxf.tools.util.WSDLExtensionRegister.registerExtensions(WSDLExtensionRegister.java:74)

>
>    at 
> org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:229)

>
>    at 
> org.apache.cxf.tools.validator.internal.SchemaValidator.validate(SchemaValidator.java:131)

>
>    at 
> org.apache.cxf.tools.validator.internal.SchemaValidator.isValid(SchemaValidator.java:111)

>
>    at 
> org.apache.cxf.tools.validator.internal.WSDL11Validator.isValid(WSDL11Validator.java:81)

>
>    at 
> org.apache.cxf.tools.validator.WSDLValidator.execute(WSDLValidator.java:66) 
>
>    at 
> org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:84) 
>
>    at 
> org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:52) 
>
>    at 
> org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:39) 
>
>    at 
> org.apache.cxf.tools.validator.WSDLValidator.main(WSDLValidator.java:92)
>    at 
> org.apache.cxf.tools.validator.WSDLValidationTest.testValidateUniqueBody(WSDLValidationTest.java:37)

>
>    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 junit.framework.TestCase.runTest(TestCase.java:154)
>    at junit.framework.TestCase.runBare(TestCase.java:127)
>    at junit.framework.TestResult$1.protect(TestResult.java:106)
>    at junit.framework.TestResult.runProtected(TestResult.java:124)
>    at junit.framework.TestResult.run(TestResult.java:109)
>    at junit.framework.TestCase.run(TestCase.java:118)
>    at junit.framework.TestSuite.runTest(TestSuite.java:208)
>    at junit.framework.TestSuite.run(TestSuite.java:203)
>    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 
> org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242) 
>
>    at 
> org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216) 
>
>    at 
> org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215)
>    at org.apache.maven.surefire.Surefire.run(Surefire.java:163)
>    at org.apache.maven.surefire.Surefire.run(Surefire.java:87)
>    at org.apache.maven.surefire.Surefire.run(Surefire.java:63)
>    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 
> org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785)



Mime
View raw message