See
http://parada.czech/hudson/job/Jersey-trunk/55/changes
Changes:
[japod] osgi: war deployment: updated jersey servlet url pattern
[spericas] Added entry for issue 466.
------------------------------------------
[...truncated 24170 lines...]
at com.sun.jersey.server.impl.application.WebApplicationContext.getResource(WebApplicationContext.java:181)
at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:66)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:133)
at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:71)
at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:996)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:947)
at com.sun.jersey.impl.TestResourceClientHandler.handle(TestResourceClientHandler.java:116)
at com.sun.jersey.impl.AbstractResourceTester$1.handle(AbstractResourceTester.java:139)
at com.sun.jersey.api.client.Client.handle(Client.java:459)
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:557)
at com.sun.jersey.api.client.WebResource.post(WebResource.java:227)
at com.sun.jersey.impl.methodparams.FormParamTest.testFormParamBeanConstructorIllegalState(FormParamTest.java:599)
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.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:165)
at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
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:289)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:993)
Caused by: com.sun.jersey.api.container.ContainerException: Unable to create resource class com.sun.jersey.impl.methodparams.FormParamTest$ParamBean
at com.sun.jersey.server.impl.resource.PerRequestFactory$PerRequest._getInstance(PerRequestFactory.java:190)
at com.sun.jersey.server.impl.resource.PerRequestFactory$AbstractPerRequest.getInstance(PerRequestFactory.java:141)
at com.sun.jersey.server.impl.application.WebApplicationImpl$8$1.getValue(WebApplicationImpl.java:692)
at com.sun.jersey.server.impl.inject.AbstractHttpContextInjectable$1.getValue(AbstractHttpContextInjectable.java:100)
at com.sun.jersey.server.spi.component.ResourceComponentConstructor._construct(ResourceComponentConstructor.java:175)
at com.sun.jersey.server.spi.component.ResourceComponentConstructor.construct(ResourceComponentConstructor.java:159)
at com.sun.jersey.server.impl.resource.PerRequestFactory$PerRequest._getInstance(PerRequestFactory.java:179)
... 39 more
Caused by: java.lang.IllegalStateException: The @FormParam is utilized when the content type of the request entity is not application/x-www-form-urlencoded
at com.sun.jersey.server.impl.model.parameter.FormParamInjectableProvider$FormParamInjectable.getValue(FormParamInjectableProvider.java:78)
at com.sun.jersey.server.spi.component.ResourceComponentInjector.inject(ResourceComponentInjector.java:221)
at com.sun.jersey.server.spi.component.ResourceComponentConstructor.construct(ResourceComponentConstructor.java:160)
at com.sun.jersey.server.impl.resource.PerRequestFactory$PerRequest._getInstance(PerRequestFactory.java:179)
... 45 more
Jan 29, 2010 4:47:46 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.679 sec
Running com.sun.jersey.impl.entity.ParameterTypeArgumentOrderTest
Jan 29, 2010 4:47:48 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Jan 29, 2010 4:47:50 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Jan 29, 2010 4:47:51 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Jan 29, 2010 4:47:51 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.17 sec
Running com.sun.jersey.impl.resource.EmptyPathSegSRMTest
Jan 29, 2010 4:47:53 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Jan 29, 2010 4:47:55 PM com.sun.jersey.server.impl.application.WebApplicationImpl newResourceClass
WARNING: A sub-resource method, public java.lang.String com.sun.jersey.impl.resource.EmptyPathSegSRMTest$SlashResource.get(), with URI template, "/", is treated as a resource method
Jan 29, 2010 4:47:55 PM com.sun.jersey.server.impl.application.WebApplicationImpl newResourceClass
WARNING: A sub-resource method, public java.lang.String com.sun.jersey.impl.resource.EmptyPathSegSRMTest$Resource3.get(), with URI template, "", is treated as a resource method
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.209 sec
Running com.sun.jersey.impl.client.AsyncHttpMethodTest
Jan 29, 2010 4:47:56 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:03 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:08 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:12 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:17 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:21 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:25 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:29 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:33 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:38 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:42 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:50 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:55 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 4:48:59 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 04:00 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.304 sec
Results :
Failed tests:
Tests run: 1225, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/jersey-tests/target/surefire-reports for the individual test results.
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: There are test failures.
Please refer to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/jersey-tests/target/surefire-reports for the individual test results.
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:579)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoFailureException: There are test failures.
Please refer to
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/jersey-tests/target/surefire-reports for the individual test results.
at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:530)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
... 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 50 minutes 5 seconds
[INFO] Finished at: Fri Jan 29 16:49:03 CET 2010
[INFO] Final Memory: 100M/550M
[INFO] ------------------------------------------------------------------------
2010-01-29 16:49:06.851::INFO: Shutdown hook executing
2010-01-29 16:49:06.851::INFO: Shutdown hook complete
2010-01-29 16:49:07.854::INFO: Shutdown hook complete
2010-01-29 16:49:08.864::INFO: Shutdown hook complete
2010-01-29 16:49:09.874::INFO: Shutdown hook complete
2010-01-29 16:49:10.884::INFO: Shutdown hook complete
2010-01-29 16:49:11.894::INFO: Shutdown hook complete
2010-01-29 16:49:12.904::INFO: Shutdown hook complete
2010-01-29 16:49:13.914::INFO: Shutdown hook complete
2010-01-29 16:49:14.924::INFO: Shutdown hook complete
2010-01-29 16:49:15.934::INFO: Shutdown hook complete
2010-01-29 16:49:16.944::INFO: Shutdown hook complete
2010-01-29 16:49:17.954::INFO: Shutdown hook complete
2010-01-29 16:49:18.964::INFO: Shutdown hook complete
2010-01-29 16:49:19.974::INFO: Shutdown hook complete
2010-01-29 16:49:20.984::INFO: Shutdown hook complete
Recording test results
ERROR: Failed to archive JUnit reports
hudson.util.IOException2: Failed to read
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/jersey-tests/target/surefire-reports/com.sun.jersey.api.core.ClassNamesResourceConfigTest.txt
Is this really a JUnit report file? Your configuration must be matching too many files
at hudson.tasks.junit.TestResult.parse(TestResult.java:168)
at hudson.tasks.junit.TestResult.parse(TestResult.java:118)
at hudson.tasks.junit.TestResult.<init>(TestResult.java:95)
at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:95)
at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:82)
at hudson.FilePath.act(FilePath.java:649)
at hudson.FilePath.act(FilePath.java:633)
at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:82)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372)
at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360)
at hudson.model.Build$RunnerImpl.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)
at hudson.model.Run.run(Run.java:948)
at hudson.model.Build.run(Build.java:112)
at hudson.model.ResourceController.execute(ResourceController.java:93)
at hudson.model.Executor.run(Executor.java:118)
Caused by: org.dom4j.DocumentException: Error on line 1 of document file://
http://parada.czech/hudson/job/Jersey-trunk/ws/jersey/jersey-tests/target/surefire-reports/com.sun.jersey.api.core.ClassNamesResourceConfigTest.txt : Content is not allowed in prolog. Nested exception: Content is not allowed in prolog.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:89)
at hudson.tasks.junit.TestResult.parse(TestResult.java:162)
... 15 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:236)
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:215)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:316)
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1438)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(XMLDocumentScannerImpl.java:899)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
... 18 more