org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException

Jenkins JIRA | Vincent Massol | 3 years ago
  1. 0

    I was on 1.544, I upgraded to 1.546 found some blocker (see JENKINS-21250) and rolled-back to 1.546 and then it started failing (I don't remember it failing before). The error I get now is: {noformat} ... [INFO] ------------------------------------------------------------------------ [INFO] Building XWiki Commons - XML 5.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ xwiki-commons-xml --- [INFO] Deleting /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-plugins) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-jcl-log4j-isolation) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-commons-lang3) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-upper-bounds) @ xwiki-commons-xml --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-legacy-dependencies) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-platform-rendering-isolation) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-dependency-version) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (xwiki-license-resources) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ xwiki-commons-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ xwiki-commons-xml --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 25 source files to /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/classes [INFO] [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ xwiki-commons-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/resources [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ xwiki-commons-xml --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ xwiki-commons-xml --- [INFO] Surefire report directory: /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.xwiki.xml.XMLUtilsTest Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.246 sec - in org.xwiki.xml.XMLUtilsTest Running org.xwiki.xml.html.HTMLUtilsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec - in org.xwiki.xml.html.HTMLUtilsTest Running org.xwiki.xml.internal.html.DefaultHTMLCleanerTest Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.252 sec - in org.xwiki.xml.internal.html.DefaultHTMLCleanerTest Results : Tests run: 37, Failures: 0, Errors: 0, Skipped: 1 [JENKINS] Recording test results [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] XWiki Commons - Parent POM ........................ SUCCESS [3.766s] [INFO] XWiki Commons - Tools - Parent POM ................ SUCCESS [1.390s] [INFO] XWiki Commons - Tools - License Resources ......... SUCCESS [2.547s] [INFO] XWiki Commons - Tools - Enforcers ................. SUCCESS [1.442s] [INFO] XWiki Commons - Tools - Banned Dependencies Enforcer SUCCESS [2.639s] [INFO] XWiki Commons - Root POM .......................... SUCCESS [1.574s] [INFO] XWiki Commons - Tools - Verification Resources .... SUCCESS [2.675s] [INFO] XWiki Commons - Core - Parent POM ................. SUCCESS [2.909s] [INFO] XWiki Commons - Stability ......................... SUCCESS [3.231s] [INFO] XWiki Commons - Test Framework - Parent POM ....... SUCCESS [2.317s] [INFO] XWiki Commons - Test Framework - Simple ........... SUCCESS [3.510s] [INFO] XWiki Commons - Text .............................. SUCCESS [4.185s] [INFO] XWiki Commons - Component - Parent POM ............ SUCCESS [2.311s] [INFO] XWiki Commons - Component - API ................... SUCCESS [4.083s] [INFO] XWiki Commons - ClassLoader - Parent POM .......... SUCCESS [2.277s] [INFO] XWiki Commons - ClassLoader - API ................. SUCCESS [3.416s] [INFO] XWiki Commons - ClassLoader - Protocols - Parent POM SUCCESS [2.333s] [INFO] XWiki Commons - ClassLoader - Protocols - JAR ..... SUCCESS [3.206s] [INFO] XWiki Commons - Observation - Parent POM .......... SUCCESS [2.281s] [INFO] XWiki Commons - Observation - API ................. SUCCESS [3.506s] [INFO] XWiki Commons - Component - Observation ........... SUCCESS [3.170s] [INFO] XWiki Commons - Component - Default Implementation SUCCESS [4.279s] [INFO] XWiki Commons - Context ........................... SUCCESS [3.797s] [INFO] XWiki Commons - Script ............................ SUCCESS [3.391s] [INFO] XWiki Commons - Configuration - Parent POM ........ SUCCESS [2.281s] [INFO] XWiki Commons - Configuration - API ............... SUCCESS [3.208s] [INFO] XWiki Commons - Test Framework - Component ........ SUCCESS [3.563s] [INFO] XWiki Commons - Component - Component Archetype ... SUCCESS [7.298s] [INFO] XWiki Commons - Environment - Parent POM .......... SUCCESS [2.344s] [INFO] XWiki Commons - Environment - API ................. SUCCESS [3.188s] [INFO] XWiki Commons - Environment - Common .............. SUCCESS [3.318s] [INFO] XWiki Commons - Environment - Standard ............ SUCCESS [3.914s] [INFO] XWiki Commons - Environment - Servlet ............. SUCCESS [5.733s] [INFO] XWiki Commons - Properties ........................ SUCCESS [4.444s] [INFO] XWiki Commons - Loggging .......................... SUCCESS [2.348s] [INFO] XWiki Commons - Logging - API ..................... SUCCESS [3.777s] [INFO] XWiki Commons - Observation - Local ............... SUCCESS [3.814s] [INFO] XWiki Commons - Job ............................... SUCCESS [4.460s] [INFO] XWiki Commons - Logging - Logback ................. SUCCESS [4.680s] [INFO] XWiki Commons - Extension - Parent POM ............ SUCCESS [2.412s] [INFO] XWiki Commons - Extension - API ................... SUCCESS [11.302s] [INFO] XWiki Commons - Extension - Handler - Parent POM .. SUCCESS [2.256s] [INFO] XWiki Commons - Extension - Handler - JAR ......... SUCCESS [6.727s] [INFO] XWiki Commons - Extension - Repository - Parent POM SUCCESS [2.375s] [INFO] XWiki Commons - Extension - Repository - HTTP ..... SUCCESS [3.451s] [INFO] XWiki Commons - Extension - Repository - Maven .... SUCCESS [7.266s] [INFO] XWiki Commons - Repository ........................ SUCCESS [2.249s] [INFO] XWiki Commons - Repository - Model ................ SUCCESS [3.935s] [INFO] XWiki Commons - Repository - API .................. SUCCESS [3.304s] [INFO] XWiki Commons - Extension - Repository - XWiki .... SUCCESS [3.977s] [INFO] XWiki Commons - Filter - Parent POM ............... SUCCESS [2.334s] [INFO] XWiki Commons - Filter - API ...................... SUCCESS [4.584s] [INFO] XWiki Commons - XML ............................... FAILURE [1.669s] [INFO] XWiki Commons - Filter - XML ...................... SKIPPED [INFO] XWiki Commons - Groovy ............................ SKIPPED [INFO] XWiki Commons - Management ........................ SKIPPED [INFO] XWiki Commons - Velocity .......................... SKIPPED [INFO] XWiki Commons - Diff .............................. SKIPPED [INFO] XWiki Commons - Diff API .......................... SKIPPED [INFO] XWiki Commons - Diff Display API .................. SKIPPED [INFO] XWiki Commons - Diff Script API ................... SKIPPED [INFO] XWiki Commons - Legacy ............................ SKIPPED [INFO] XWiki Commons - Legacy - Component - Parent POM ... SKIPPED [INFO] XWiki Commons - Legacy - Component - API .......... SKIPPED [INFO] XWiki Commons - Legacy - Component - Default Implementation SKIPPED [INFO] XWiki Commons - Legacy - Configuration ............ SKIPPED [INFO] XWiki Commons - Properties ........................ SKIPPED [INFO] XWiki Commons - Tools - XAR Tools ................. SKIPPED [INFO] XWiki Commons - Tools - XAR Tools - XAR Plugin .... SKIPPED [INFO] XWiki Commons - Tools - XAR Tools - XAR Handlers .. SKIPPED [INFO] XWiki Commons - Tools - XAR Tools - Functional Tests SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6:36.068s [INFO] Finished at: Thu Jan 09 15:01:41 CET 2014 [INFO] Final Memory: 76M/252M [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:328) 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:283) 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:325) at hudson.tasks.junit.TestResult.freeze(TestResult.java:618) at hudson.tasks.junit.TestResultAction.setResult(TestResultAction.java:74) at hudson.tasks.junit.TestResultAction.<init>(TestResultAction.java:67) at hudson.maven.reporters.SurefireReport.<init>(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.GeneratedMethodAccessor264.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.model.Executor$1.call(Executor.java:559) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy52.execute(Unknown Source) at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) [JENKINS] Archiving /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/pom.xml to org.xwiki.commons/xwiki-commons-configuration-api/5.4-SNAPSHOT/xwiki-commons-configuration-api-5.4-SNAPSHOT.pom at hudson.remoting.Request$2.run(Request.java:328) [JENKINS] Archiving /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/target/xwiki-commons-configuration-api-5.4-SNAPSHOT.jar to org.xwiki.commons/xwiki-commons-configuration-api/5.4-20140109.135836-13/xwiki-commons-configuration-api-5.4-20140109.135836-13.jar 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [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 ... {noformat} See http://ci.xwiki.org/job/xwiki-commons/1175/console Thanks

    Jenkins JIRA | 3 years ago | Vincent Massol
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  2. 0

    I was on 1.544, I upgraded to 1.546 found some blocker (see JENKINS-21250) and rolled-back to 1.546 and then it started failing (I don't remember it failing before). The error I get now is: {noformat} ... [INFO] ------------------------------------------------------------------------ [INFO] Building XWiki Commons - XML 5.4-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ xwiki-commons-xml --- [INFO] Deleting /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-plugins) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-jcl-log4j-isolation) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-commons-lang3) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-upper-bounds) @ xwiki-commons-xml --- [INFO] Skipping Rule Enforcement. [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-no-legacy-dependencies) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (enforce-platform-rendering-isolation) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-enforcer-plugin:1.3.1:enforce (check-dependency-version) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-remote-resources-plugin:1.4:process (xwiki-license-resources) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ xwiki-commons-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ xwiki-commons-xml --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 25 source files to /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/classes [INFO] [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ xwiki-commons-xml --- [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ xwiki-commons-xml --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/src/test/resources [INFO] Copying 2 resources [INFO] [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ xwiki-commons-xml --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 4 source files to /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/test-classes [INFO] [INFO] --- maven-surefire-plugin:2.16:test (default-test) @ xwiki-commons-xml --- [INFO] Surefire report directory: /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-xml/target/surefire-reports ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.xwiki.xml.XMLUtilsTest Tests run: 21, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.246 sec - in org.xwiki.xml.XMLUtilsTest Running org.xwiki.xml.html.HTMLUtilsTest Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.102 sec - in org.xwiki.xml.html.HTMLUtilsTest Running org.xwiki.xml.internal.html.DefaultHTMLCleanerTest Tests run: 14, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.252 sec - in org.xwiki.xml.internal.html.DefaultHTMLCleanerTest Results : Tests run: 37, Failures: 0, Errors: 0, Skipped: 1 [JENKINS] Recording test results [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] XWiki Commons - Parent POM ........................ SUCCESS [3.766s] [INFO] XWiki Commons - Tools - Parent POM ................ SUCCESS [1.390s] [INFO] XWiki Commons - Tools - License Resources ......... SUCCESS [2.547s] [INFO] XWiki Commons - Tools - Enforcers ................. SUCCESS [1.442s] [INFO] XWiki Commons - Tools - Banned Dependencies Enforcer SUCCESS [2.639s] [INFO] XWiki Commons - Root POM .......................... SUCCESS [1.574s] [INFO] XWiki Commons - Tools - Verification Resources .... SUCCESS [2.675s] [INFO] XWiki Commons - Core - Parent POM ................. SUCCESS [2.909s] [INFO] XWiki Commons - Stability ......................... SUCCESS [3.231s] [INFO] XWiki Commons - Test Framework - Parent POM ....... SUCCESS [2.317s] [INFO] XWiki Commons - Test Framework - Simple ........... SUCCESS [3.510s] [INFO] XWiki Commons - Text .............................. SUCCESS [4.185s] [INFO] XWiki Commons - Component - Parent POM ............ SUCCESS [2.311s] [INFO] XWiki Commons - Component - API ................... SUCCESS [4.083s] [INFO] XWiki Commons - ClassLoader - Parent POM .......... SUCCESS [2.277s] [INFO] XWiki Commons - ClassLoader - API ................. SUCCESS [3.416s] [INFO] XWiki Commons - ClassLoader - Protocols - Parent POM SUCCESS [2.333s] [INFO] XWiki Commons - ClassLoader - Protocols - JAR ..... SUCCESS [3.206s] [INFO] XWiki Commons - Observation - Parent POM .......... SUCCESS [2.281s] [INFO] XWiki Commons - Observation - API ................. SUCCESS [3.506s] [INFO] XWiki Commons - Component - Observation ........... SUCCESS [3.170s] [INFO] XWiki Commons - Component - Default Implementation SUCCESS [4.279s] [INFO] XWiki Commons - Context ........................... SUCCESS [3.797s] [INFO] XWiki Commons - Script ............................ SUCCESS [3.391s] [INFO] XWiki Commons - Configuration - Parent POM ........ SUCCESS [2.281s] [INFO] XWiki Commons - Configuration - API ............... SUCCESS [3.208s] [INFO] XWiki Commons - Test Framework - Component ........ SUCCESS [3.563s] [INFO] XWiki Commons - Component - Component Archetype ... SUCCESS [7.298s] [INFO] XWiki Commons - Environment - Parent POM .......... SUCCESS [2.344s] [INFO] XWiki Commons - Environment - API ................. SUCCESS [3.188s] [INFO] XWiki Commons - Environment - Common .............. SUCCESS [3.318s] [INFO] XWiki Commons - Environment - Standard ............ SUCCESS [3.914s] [INFO] XWiki Commons - Environment - Servlet ............. SUCCESS [5.733s] [INFO] XWiki Commons - Properties ........................ SUCCESS [4.444s] [INFO] XWiki Commons - Loggging .......................... SUCCESS [2.348s] [INFO] XWiki Commons - Logging - API ..................... SUCCESS [3.777s] [INFO] XWiki Commons - Observation - Local ............... SUCCESS [3.814s] [INFO] XWiki Commons - Job ............................... SUCCESS [4.460s] [INFO] XWiki Commons - Logging - Logback ................. SUCCESS [4.680s] [INFO] XWiki Commons - Extension - Parent POM ............ SUCCESS [2.412s] [INFO] XWiki Commons - Extension - API ................... SUCCESS [11.302s] [INFO] XWiki Commons - Extension - Handler - Parent POM .. SUCCESS [2.256s] [INFO] XWiki Commons - Extension - Handler - JAR ......... SUCCESS [6.727s] [INFO] XWiki Commons - Extension - Repository - Parent POM SUCCESS [2.375s] [INFO] XWiki Commons - Extension - Repository - HTTP ..... SUCCESS [3.451s] [INFO] XWiki Commons - Extension - Repository - Maven .... SUCCESS [7.266s] [INFO] XWiki Commons - Repository ........................ SUCCESS [2.249s] [INFO] XWiki Commons - Repository - Model ................ SUCCESS [3.935s] [INFO] XWiki Commons - Repository - API .................. SUCCESS [3.304s] [INFO] XWiki Commons - Extension - Repository - XWiki .... SUCCESS [3.977s] [INFO] XWiki Commons - Filter - Parent POM ............... SUCCESS [2.334s] [INFO] XWiki Commons - Filter - API ...................... SUCCESS [4.584s] [INFO] XWiki Commons - XML ............................... FAILURE [1.669s] [INFO] XWiki Commons - Filter - XML ...................... SKIPPED [INFO] XWiki Commons - Groovy ............................ SKIPPED [INFO] XWiki Commons - Management ........................ SKIPPED [INFO] XWiki Commons - Velocity .......................... SKIPPED [INFO] XWiki Commons - Diff .............................. SKIPPED [INFO] XWiki Commons - Diff API .......................... SKIPPED [INFO] XWiki Commons - Diff Display API .................. SKIPPED [INFO] XWiki Commons - Diff Script API ................... SKIPPED [INFO] XWiki Commons - Legacy ............................ SKIPPED [INFO] XWiki Commons - Legacy - Component - Parent POM ... SKIPPED [INFO] XWiki Commons - Legacy - Component - API .......... SKIPPED [INFO] XWiki Commons - Legacy - Component - Default Implementation SKIPPED [INFO] XWiki Commons - Legacy - Configuration ............ SKIPPED [INFO] XWiki Commons - Properties ........................ SKIPPED [INFO] XWiki Commons - Tools - XAR Tools ................. SKIPPED [INFO] XWiki Commons - Tools - XAR Tools - XAR Plugin .... SKIPPED [INFO] XWiki Commons - Tools - XAR Tools - XAR Handlers .. SKIPPED [INFO] XWiki Commons - Tools - XAR Tools - Functional Tests SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6:36.068s [INFO] Finished at: Thu Jan 09 15:01:41 CET 2014 [INFO] Final Memory: 76M/252M [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:328) 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:283) 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:325) at hudson.tasks.junit.TestResult.freeze(TestResult.java:618) at hudson.tasks.junit.TestResultAction.setResult(TestResultAction.java:74) at hudson.tasks.junit.TestResultAction.<init>(TestResultAction.java:67) at hudson.maven.reporters.SurefireReport.<init>(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.GeneratedMethodAccessor264.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.model.Executor$1.call(Executor.java:559) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy52.execute(Unknown Source) at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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) [JENKINS] Archiving /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/pom.xml to org.xwiki.commons/xwiki-commons-configuration-api/5.4-SNAPSHOT/xwiki-commons-configuration-api-5.4-SNAPSHOT.pom at hudson.remoting.Request$2.run(Request.java:328) [JENKINS] Archiving /home/hudsonagent/hudson_root/workspace/xwiki-commons/xwiki-commons-core/xwiki-commons-configuration/xwiki-commons-configuration-api/target/xwiki-commons-configuration-api-5.4-SNAPSHOT.jar to org.xwiki.commons/xwiki-commons-configuration-api/5.4-20140109.135836-13/xwiki-commons-configuration-api-5.4-20140109.135836-13.jar 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [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 ... {noformat} See http://ci.xwiki.org/job/xwiki-commons/1175/console Thanks

    Jenkins JIRA | 3 years ago | Vincent Massol
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  3. 0

    In various builds I have a NPE after tests execution (But I don't yet identify what they have in commons) : {code} ... ------------------------------------------------------- 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 {code} 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

    Jenkins JIRA | 3 years ago | Arnaud Héritier
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    In various builds I have a NPE after tests execution (But I don't yet identify what they have in commons) : {code} ... ------------------------------------------------------- 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 {code} 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

    Jenkins JIRA | 3 years ago | Arnaud Héritier
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  6. 0

    I tested the new plugin system "without restart". After upgraded xUnit 1.31 => 1.32 (and some others) (Auto) trigger some build: internal NPE at the end => KO Restart Jenkins and launch another build => OK {noformat} mavenExecutionResult exceptions not empty message : Internal error: java.lang.NullPointerException cause : null Stack trace : 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:314) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:151) at org.jvnet.hudson.maven3.launcher.Maven3Launcher.main(Maven3Launcher.java:79) 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:158) at hudson.maven.Maven3Builder.call(Maven3Builder.java:112) at hudson.maven.Maven3Builder.call(Maven3Builder.java:70) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.NullPointerException at hudson.tasks.junit.TestResultAction.setResult(TestResultAction.java:74) at hudson.tasks.junit.TestResultAction.<init>(TestResultAction.java:67) at hudson.maven.reporters.SurefireReport.<init>(SurefireReport.java:45) at hudson.maven.reporters.SurefireArchiver$1.call(SurefireArchiver.java:148) at hudson.maven.reporters.SurefireArchiver$1.call(SurefireArchiver.java:142) at hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:390) at hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:463) at sun.reflect.GeneratedMethodAccessor219.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at hudson.model.Executor$1.call(Executor.java:533) at hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23) at $Proxy35.execute(Unknown Source) 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.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 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:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) channel stopped {noformat}

    Jenkins JIRA | 5 years ago | Sylvain Veyrié
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at hudson.tasks.junit.TestResultAction.getDataFile()
    2. Hudson
      TestResultAction.<init>
      1. hudson.tasks.junit.TestResultAction.getDataFile(TestResultAction.java:91)
      2. hudson.tasks.junit.TestResultAction.load(TestResultAction.java:147)
      3. hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:97)
      4. hudson.tasks.junit.TestResultAction.getResult(TestResultAction.java:55)
      5. hudson.tasks.test.AbstractTestResultAction.findCorrespondingResult(AbstractTestResultAction.java:183)
      6. hudson.tasks.test.TestResult.getPreviousResult(TestResult.java:143)
      7. hudson.tasks.junit.SuiteResult.getPreviousResult(SuiteResult.java:283)
      8. hudson.tasks.junit.CaseResult.getPreviousResult(CaseResult.java:440)
      9. hudson.tasks.junit.CaseResult.freeze(CaseResult.java:569)
      10. hudson.tasks.junit.SuiteResult.freeze(SuiteResult.java:325)
      11. hudson.tasks.junit.TestResult.freeze(TestResult.java:618)
      12. hudson.tasks.junit.TestResultAction.setResult(TestResultAction.java:74)
      13. hudson.tasks.junit.TestResultAction.<init>(TestResultAction.java:67)
      13 frames
    3. Legacy Maven 2 job type Plugin
      SurefireArchiver$2.call
      1. hudson.maven.reporters.SurefireReport.<init>(SurefireReport.java:45)
      2. hudson.maven.reporters.SurefireArchiver$2.call(SurefireArchiver.java:166)
      3. hudson.maven.reporters.SurefireArchiver$2.call(SurefireArchiver.java:160)
      3 frames
    4. Hudson Maven Embedder
      MavenBuild$ProxyImpl2.execute
      1. hudson.maven.MavenBuild$ProxyImpl.execute(MavenBuild.java:413)
      2. hudson.maven.MavenBuild$ProxyImpl2.execute(MavenBuild.java:530)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor264.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    6. Hudson
      InterceptingProxy$1.invoke
      1. hudson.model.Executor$1.call(Executor.java:559)
      2. hudson.util.InterceptingProxy$1.invoke(InterceptingProxy.java:23)
      2 frames
    7. Unknown
      $Proxy52.execute
      1. $Proxy52.execute(Unknown Source)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. Hudson :: Remoting Layer
      UserRequest.perform
      1. hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:299)
      2. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:280)
      3. hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:239)
      4. hudson.remoting.UserRequest.perform(UserRequest.java:118)
      5. hudson.remoting.UserRequest.perform(UserRequest.java:48)
      5 frames