See <
http://hudson.sfbay/job/Jersey/2539/>
------------------------------------------
[...truncated 65873 lines...]
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
Dec 9, 2009 4:21:32 AM com.sun.jersey.server.impl.application.WebApplicationImpl _handleRequest
SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container
com.sun.jersey.api.container.ContainerException: Unable to create resource class com.sun.jersey.impl.methodparams.FormParamTest$FormResourceBeanConstructor
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.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:990)
at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:941)
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:457)
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
Dec 9, 2009 4:21:32 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.976 sec
Running com.sun.jersey.impl.entity.ParameterTypeArgumentOrderTest
Dec 9, 2009 4:21:34 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Dec 9, 2009 4:21:37 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Dec 9, 2009 4:21:38 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Dec 9, 2009 4:21:38 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.876 sec
Running com.sun.jersey.impl.client.AsyncHttpMethodTest
Dec 9, 2009 4:21:40 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:21:48 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:21:53 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:21:59 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:03 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:05 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:09 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:12 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:16 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:20 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:24 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:31 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:35 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:39 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Starting GrizzlyServer port number = 39246
Started GrizzlyServer
Sleeping for 2000 ms
Dec 9, 2009 4:22:42 AM com.sun.jersey.api.client.AsyncWebResource$3 done
SEVERE: Throwable caught on call to ITypeListener.onComplete
java.lang.IllegalStateException
at com.sun.jersey.impl.client.AsyncHttpMethodTest$3.onComplete(AsyncHttpMethodTest.java:342)
at com.sun.jersey.api.client.AsyncWebResource$3.done(AsyncWebResource.java:695)
at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:243)
at java.util.concurrent.FutureTask.setException(FutureTask.java:115)
at com.sun.jersey.client.impl.async.FutureClientResponseListener.onComplete(FutureClientResponseListener.java:109)
at com.sun.jersey.api.client.AsyncWebResource$6.done(AsyncWebResource.java:749)
at java.util.concurrent.FutureTask$Sync.innerSet(FutureTask.java:229)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.lang.Thread.run(Thread.java:595)
Tests run: 14, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 61.863 sec <<< FAILURE!
Running com.sun.jersey.impl.resource.EmptyPathSegSRMTest
Dec 9, 2009 4:22:43 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Dec 9, 2009 4:22:46 AM 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
Dec 9, 2009 4:22:46 AM 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: 3.387 sec
Running com.sun.jersey.impl.template.ImplicitProducesTemplateProcessorTest
Dec 9, 2009 4:22:48 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Dec 9, 2009 4:22:51 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Dec 9, 2009 4:22:52 AM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.5-ea-SNAPSHOT 12/09/2009 03:20 AM'
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.554 sec
Results :
Failed tests:
Tests run: 1202, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
Please refer to /home/hudson/workspace/Jersey/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 /home/hudson/workspace/Jersey/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 /home/hudson/workspace/Jersey/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: 63 minutes 21 seconds
[INFO] Finished at: Wed Dec 09 04:22:54 PST 2009
[INFO] Final Memory: 137M/495M
[INFO] ------------------------------------------------------------------------
2009-12-09 04:23:05.470::INFO: Shutdown hook executing
2009-12-09 04:23:05.470::INFO: Shutdown hook complete
2009-12-09 04:23:06.470::INFO: Shutdown hook complete
2009-12-09 04:23:07.470::INFO: Shutdown hook complete
2009-12-09 04:23:08.471::INFO: Shutdown hook complete
2009-12-09 04:23:09.471::INFO: Shutdown hook complete
2009-12-09 04:23:10.471::INFO: Shutdown hook complete
2009-12-09 04:23:11.471::INFO: Shutdown hook complete
2009-12-09 04:23:12.471::INFO: Shutdown hook complete
2009-12-09 04:23:13.471::INFO: Shutdown hook complete
2009-12-09 04:23:14.471::INFO: Shutdown hook complete
2009-12-09 04:23:15.472::INFO: Shutdown hook complete
2009-12-09 04:23:16.472::INFO: Shutdown hook complete
2009-12-09 04:23:17.472::INFO: Shutdown hook complete
2009-12-09 04:23:18.472::INFO: Shutdown hook complete
2009-12-09 04:23:19.472::INFO: Shutdown hook complete
Recording test results