-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
core 1.532.1 LTS + Maven integration plugin 2.0.3
In various builds I have a NPE after tests execution (But I don't yet identify what they have in commons) :
... ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.exoplatform.commons.search.service.UnifiedSearchServiceTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.051 sec - in org.exoplatform.commons.search.service.UnifiedSearchServiceTest Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 1 [JENKINS] Recording test results [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] .... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2:47.877s [INFO] Finished at: Fri Feb 07 11:32:12 CET 2014 [INFO] Final Memory: 84M/1132M [INFO] ------------------------------------------------------------------------ Waiting for Jenkins to finish collecting data [ERROR] Internal error: java.lang.NullPointerException -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:117) 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:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239) at org.jvnet.hudson.maven3.agent.Maven3Main.launch(Maven3Main.java:178) 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:597) at hudson.maven.Maven3Builder.call(Maven3Builder.java:134) at hudson.maven.Maven3Builder.call(Maven3Builder.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.NullPointerException at hudson.tasks.junit.TestResultAction.getDataFile(TestResultAction.java:91) at hudson.tasks.junit.TestResultAction.load(TestResultAction.java:147) at hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:97) at hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:55) at hudson.tasks.test.AbstractTestResultAction.findCorrespondingResult(AbstractTestResultAction.java:183) at hudson.tasks.test.TestResult.getPreviousResult(TestResult.java:143) at hudson.tasks.junit.SuiteResult.getPreviousResult(SuiteResult.java:290) at hudson.tasks.junit.CaseResult.getPreviousResult(CaseResult.java:440) at hudson.tasks.junit.CaseResult.freeze(CaseResult.java:569) at hudson.tasks.junit.SuiteResult.freeze(SuiteResult.java:332) at hudson.tasks.junit.TestResult.freeze(TestResult.java:619) at hudson.tasks.junit.TestResultAction.setResult(TestResultAction.java:74) at hudson.tasks.junit.TestResultAction.(TestResultAction.java:67) at hudson.maven.reporters.SurefireReport.(SurefireReport.java:45) at hudson.maven.reporters.SurefireArchiver$2.call(SurefireArchiver.java:166) at hudson.maven.reporters.SurefireArchiver$2.call(SurefireArchiver.java:160) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:413) at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:530) at sun.reflect.GeneratedMethodAccessor144.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.model.Executor$1.call(Executor.java:555) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at com.sun.proxy.$Proxy62.execute(Unknown Source) at sun.reflect.GeneratedMethodAccessor834.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:280) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:239) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [JENKINS] Archiving /srv/jenkins/jobs/integration-4.0.x-ci/workspace/sources/integ-search-portlet/pom.xml to org.exoplatform.integration/integ-search-portlet/4.0.x-SNAPSHOT/integ-search-portlet-4.0.x-SNAPSHOT.pom [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
Few recent builds like this KO :
https://ci.exoplatform.org/job/integration-weemo-addon-fb-ci/28/
https://ci.exoplatform.org/job/integration-stabilization-fb-ci/595/
https://ci.exoplatform.org/job/integration-4.0.x-translation-fb-ci/521/
https://ci.exoplatform.org/job/integration-4.0.x-ci/355/
https://ci.exoplatform.org/job/platform-stabilization-fb-ci/658/
https://ci.exoplatform.org/job/integration-stabilization-fb-ci/594/
....
I will try to downgrade the maven plugin
- duplicates
-
JENKINS-21315 NPE when collection JUnit test results
- Resolved