dev@jersey.java.net

Build failed in Hudson: Jersey-trunk #54

From: Jersey Hudson <japod_at_sun.com>
Date: Fri, 29 Jan 2010 15:57:05 +0100 (CET)

See http://parada.czech/hudson/job/Jersey-trunk/54/changes

Changes:

[spericas] Applying patch for issue 466.

------------------------------------------
[...truncated 24198 lines...]
        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 3:55:21 PM 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: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 3:55:21 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 11.697 sec
Running com.sun.jersey.impl.entity.ParameterTypeArgumentOrderTest
Jan 29, 2010 3:55:23 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Jan 29, 2010 3:55:25 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Jan 29, 2010 3:55:26 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Jan 29, 2010 3:55:26 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.033 sec
Running com.sun.jersey.impl.resource.EmptyPathSegSRMTest
Jan 29, 2010 3:55:28 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Jan 29, 2010 3:55:30 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 3:55:30 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.181 sec
Running com.sun.jersey.impl.client.AsyncHttpMethodTest
Jan 29, 2010 3:55:32 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:55:38 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:55:43 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:55:47 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:55:52 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:55:56 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:00 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:04 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:08 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:13 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:17 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:25 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:30 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Jan 29, 2010 3:56:34 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.2-SNAPSHOT 01/29/2010 03:06 PM'
Starting GrizzlyServer port number = 34025
Started GrizzlyServer
Sleeping for 2000 ms
Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 66.479 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: 51 minutes 56 seconds
[INFO] Finished at: Fri Jan 29 15:56:38 CET 2010
[INFO] Final Memory: 100M/551M
[INFO] ------------------------------------------------------------------------
2010-01-29 15:56:42.036::INFO: Shutdown hook executing
2010-01-29 15:56:42.036::INFO: Shutdown hook complete
2010-01-29 15:56:43.044::INFO: Shutdown hook complete
2010-01-29 15:56:44.054::INFO: Shutdown hook complete
2010-01-29 15:56:45.064::INFO: Shutdown hook complete
2010-01-29 15:56:46.074::INFO: Shutdown hook complete
2010-01-29 15:56:47.084::INFO: Shutdown hook complete
2010-01-29 15:56:48.094::INFO: Shutdown hook complete
2010-01-29 15:56:49.104::INFO: Shutdown hook complete
2010-01-29 15:56:50.114::INFO: Shutdown hook complete
2010-01-29 15:56:51.124::INFO: Shutdown hook complete
2010-01-29 15:56:52.134::INFO: Shutdown hook complete
2010-01-29 15:56:53.144::INFO: Shutdown hook complete
2010-01-29 15:56:54.154::INFO: Shutdown hook complete
2010-01-29 15:56:55.164::INFO: Shutdown hook complete
2010-01-29 15:56:56.174::INFO: Shutdown hook complete