Hi devs,
There is an test failure in the latest trunk
[INFO] Test Source directory:
/home/sandakith/ProjectCheckouts/axis2/Axis2_m2_trunk/modules/jaxbri/target/schema/src
added.
[INFO] [compiler:testCompile]
[INFO] Compiling 76 source files to
/home/sandakith/ProjectCheckouts/axis2/Axis2_m2_trunk/modules/jaxbri/target/test-classes
[INFO] [surefire:test]
[INFO] Surefire report directory:
/home/sandakith/ProjectCheckouts/axis2/Axis2_m2_trunk/modules/jaxbri/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.temp.doclitbare.DocLitBareWSDLTest
Error in WSDL : DocLitBareService.wsdl
Exception: java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at org.apache.ws.commons.schema.XmlSchemaSerializer.setupNamespaces(
XmlSchemaSerializer.java:291)
at
org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchemaElement(
XmlSchemaSerializer.java:102)
at org.apache.ws.commons.schema.XmlSchemaSerializer.serializeSchema(
XmlSchemaSerializer.java:83)
at org.apache.ws.commons.schema.XmlSchema.serialize_internal(
XmlSchema.java:418)
at org.apache.ws.commons.schema.XmlSchema.write(XmlSchema.java:391)
at org.apache.axis2.description.AxisService2WSDL11.generateOM(
AxisService2WSDL11.java:204)
at org.apache.ws.java2wsdl.Java2WSDLBuilder.generateWSDL(
Java2WSDLBuilder.java:255)
at org.temp.doclitbare.DocLitBareWSDLTest.testVersion(
DocLitBareWSDLTest.java:43)
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:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.OldTestClassRunner.run(
OldTestClassRunner.java:76)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(
JUnit4TestSet.java:62)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(
AbstractDirectoryTestSuite.java:138)
at
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(
AbstractDirectoryTestSuite.java:125)
at org.apache.maven.surefire.Surefire.run(Surefire.java:132)
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.booter.SurefireBooter.runSuitesInProcess(
SurefireBooter.java:308)
at org.apache.maven.surefire.booter.SurefireBooter.main(
SurefireBooter.java:879)
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.118 sec
<<< FAILURE!
Results :
Failed tests:
testVersion(org.temp.doclitbare.DocLitBareWSDLTest)
Thoughts ?
--
Thanks
Lahiru Sandakith
http://sandakith.wordpress.com/
GPG Key Fingerprint : 8CD8 68E0 4CBC 75CB 25BC 1AB1 FE5E 7464 1F01 9A0F