axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sagara Gunathunga <sagara.gunathu...@gmail.com>
Subject Re: Jenkins build became unstable: Axis2 » Apache Axis2 - Java2WSDL #935
Date Mon, 22 Aug 2011 14:17:53 GMT
I noticed following error trace on build server due to a new test case
introduced by me but I can't recreate this issue locally ( Ubuntu
11.04 /64 bit - JDk 1.6 ) I will try to test this on JDK 1.5.

BTW any one have any clue ?

Error Message

Generated directory does not exists  expected:<true> but was:<false>

Stacktrace

junit.framework.AssertionFailedError: Generated directory does not
exists  expected:<true> but was:<false>
	at junit.framework.Assert.fail(Assert.java:47)
	at junit.framework.Assert.failNotEquals(Assert.java:277)
	at junit.framework.Assert.assertEquals(Assert.java:64)
	at junit.framework.Assert.assertEquals(Assert.java:143)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngineTest.verifyGeneration(JAXWS2WSDLCodegenEngineTest.java:98)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngineTest.testGenerateWithAxisOptions(JAXWS2WSDLCodegenEngineTest.java:81)
	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:592)
	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.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:592)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

Standard Output

error: Could not create declaration for annotation type javax.jws.WebMethod
error: Could not create declaration for annotation type javax.jws.WebService
Note: 	ap round: 1
Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.annotation.IncompleteAnnotationException:
javax.jws.WebMethod missing element exclude
	at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:53)
	at $Proxy4.exclude(Unknown Source)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.hasWebMethods(WebServiceVisitor.java:343)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:319)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:123)
	at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:326)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:267)
	at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
	at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
	at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
	at com.sun.tools.apt.main.Main.compile(Main.java:1075)
	at com.sun.tools.apt.main.Main.compile(Main.java:938)
	at com.sun.tools.apt.Main.processing(Main.java:95)
	at com.sun.tools.apt.Main.process(Main.java:85)
	at com.sun.tools.apt.Main.process(Main.java:67)
	at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:194)
	at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:119)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngine.generate(JAXWS2WSDLCodegenEngine.java:81)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngineTest.testGenerateWithMixOptions(JAXWS2WSDLCodegenEngineTest.java:69)
	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:592)
	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.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:592)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
error: Could not create declaration for annotation type javax.jws.WebMethod
error: Could not create declaration for annotation type javax.jws.WebService
Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.annotation.IncompleteAnnotationException:
javax.jws.WebMethod missing element exclude
	at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:53)
	at $Proxy4.exclude(Unknown Source)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.hasWebMethods(WebServiceVisitor.java:343)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:319)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:123)
	at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:326)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:267)
	at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
	at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
	at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
	at com.sun.tools.apt.main.Main.compile(Main.java:1075)
	at com.sun.tools.apt.main.Main.compile(Main.java:938)
	at com.sun.tools.apt.Main.processing(Main.java:95)
	at com.sun.tools.apt.Main.process(Main.java:85)
	at com.sun.tools.apt.Main.process(Main.java:67)
	at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:194)
	at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:119)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngine.generate(JAXWS2WSDLCodegenEngine.java:81)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngineTest.testGenerateWithAxisOptions(JAXWS2WSDLCodegenEngineTest.java:80)
	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:592)
	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.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:592)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
error: Could not create declaration for annotation type javax.jws.WebMethod
error: Could not create declaration for annotation type javax.jws.WebService
Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.annotation.IncompleteAnnotationException:
javax.jws.WebMethod missing element exclude
	at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:53)
	at $Proxy4.exclude(Unknown Source)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.hasWebMethods(WebServiceVisitor.java:343)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:319)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:123)
	at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:326)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:267)
	at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
	at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
	at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
	at com.sun.tools.apt.main.Main.compile(Main.java:1075)
	at com.sun.tools.apt.main.Main.compile(Main.java:938)
	at com.sun.tools.apt.Main.processing(Main.java:95)
	at com.sun.tools.apt.Main.process(Main.java:85)
	at com.sun.tools.apt.Main.process(Main.java:67)
	at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:194)
	at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:119)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngine.generate(JAXWS2WSDLCodegenEngine.java:81)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngineTest.testGenerateWithJAXWSOptions(JAXWS2WSDLCodegenEngineTest.java:91)
	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:592)
	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.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:592)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

Standard Error

error: Could not create declaration for annotation type javax.jws.WebMethod
error: Could not create declaration for annotation type javax.jws.WebService
Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.annotation.IncompleteAnnotationException:
javax.jws.WebMethod missing element exclude
	at sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:53)
	at $Proxy4.exclude(Unknown Source)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.hasWebMethods(WebServiceVisitor.java:343)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.shouldProcessWebService(WebServiceVisitor.java:319)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceVisitor.visitClassDeclaration(WebServiceVisitor.java:123)
	at com.sun.tools.apt.mirror.declaration.ClassDeclarationImpl.accept(ClassDeclarationImpl.java:95)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.buildModel(WebServiceAP.java:326)
	at com.sun.tools.ws.processor.modeler.annotation.WebServiceAP.process(WebServiceAP.java:267)
	at com.sun.mirror.apt.AnnotationProcessors$CompositeAnnotationProcessor.process(AnnotationProcessors.java:60)
	at com.sun.tools.apt.comp.Apt.main(Apt.java:454)
	at com.sun.tools.apt.main.JavaCompiler.compile(JavaCompiler.java:448)
	at com.sun.tools.apt.main.Main.compile(Main.java:1075)
	at com.sun.tools.apt.main.Main.compile(Main.java:938)
	at com.sun.tools.apt.Main.processing(Main.java:95)
	at com.sun.tools.apt.Main.process(Main.java:85)
	at com.sun.tools.apt.Main.process(Main.java:67)
	at com.sun.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:194)
	at com.sun.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:119)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngine.generate(JAXWS2WSDLCodegenEngine.java:81)
	at org.apache.ws.java2wsdl.jaxws.JAXWS2WSDLCodegenEngineTest.testGenerateWithAxisOptions(JAXWS2WSDLCodegenEngineTest.java:80)
	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:592)
	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.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
	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:592)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)

Thanks !

On Mon, Aug 22, 2011 at 7:22 PM, Apache Jenkins Server
<jenkins@builds.apache.org> wrote:
> See <https://builds.apache.org/job/Axis2/org.apache.axis2$axis2-java2wsdl/935/changes>
>
>
>



-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message