org.apache.maven.InternalErrorException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • {code:java} org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:129) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) build 30-Aug-2015 09:30:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) build 30-Aug-2015 09:30:06 at java.lang.reflect.Method.invoke(Method.java:483) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) build 30-Aug-2015 09:30:06 Caused by: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:630) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:614) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:478) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:464) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:392) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:210) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:125) build 30-Aug-2015 09:30:06 ... 16 more build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 30-Aug-2015 09:30:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 30-Aug-2015 09:30:06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException {code}
    via by Aviad Shikloshi,
  • In some cases when building maven project build info throws NPE from BuildInfoRecorder {code:java} org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:129) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) build 30-Aug-2015 09:30:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) build 30-Aug-2015 09:30:06 at java.lang.reflect.Method.invoke(Method.java:483) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) build 30-Aug-2015 09:30:06 Caused by: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:630) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:614) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:478) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:464) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:392) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:210) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:125) build 30-Aug-2015 09:30:06 ... 16 more build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 30-Aug-2015 09:30:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 30-Aug-2015 09:30:06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException {code}
    via by Aviad Shikloshi,
  • {code:java} org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:129) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) build 30-Aug-2015 09:30:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) build 30-Aug-2015 09:30:06 at java.lang.reflect.Method.invoke(Method.java:483) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) build 30-Aug-2015 09:30:06 Caused by: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:630) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:614) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:478) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:464) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:392) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:210) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:125) build 30-Aug-2015 09:30:06 ... 16 more build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 30-Aug-2015 09:30:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 30-Aug-2015 09:30:06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException {code}
    via by Aviad Shikloshi,
  • In some cases when building maven project build info throws NPE from BuildInfoRecorder {code:java} org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:129) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) build 30-Aug-2015 09:30:06 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) build 30-Aug-2015 09:30:06 at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) build 30-Aug-2015 09:30:06 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) build 30-Aug-2015 09:30:06 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) build 30-Aug-2015 09:30:06 at java.lang.reflect.Method.invoke(Method.java:483) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) build 30-Aug-2015 09:30:06 at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) build 30-Aug-2015 09:30:06 Caused by: java.lang.NullPointerException build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:630) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:614) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:478) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:464) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:392) build 30-Aug-2015 09:30:06 at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:210) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) build 30-Aug-2015 09:30:06 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:125) build 30-Aug-2015 09:30:06 ... 16 more build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 30-Aug-2015 09:30:06 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 30-Aug-2015 09:30:06 [ERROR] build 30-Aug-2015 09:30:06 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 30-Aug-2015 09:30:06 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException {code}
    via by Aviad Shikloshi,
  • When trying to build one specific project, I keep getting these exceptions: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.703s [INFO] Finished at: Tue Oct 06 14:02:22 CEST 2015 [INFO] Final Memory: 30M/73M [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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:610) at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:594) at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:460) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:446) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:376) at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:196) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) ... 27 more [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [JENKINS] Archiving /var/lib/jenkins/jobs/config-object/workspace/pom.xml to mt.com.vodafone/config-object/1.1.3-SNAPSHOT/config-object-1.1.3-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/config-object/workspace/target/config-object-1.1.3-SNAPSHOT.jar to mt.com.vodafone/config-object/1.1.3-SNAPSHOT/config-object-1.1.3-SNAPSHOT.jar [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 Version of Jenkins is 1.631, version of Artifactory is 4.1.3, version of the plugin is 2.3.1. If I look at that getExtension method, the cause of the NPE seems pretty obvious.
    via by Peter Korsten,
  • When trying to build one specific project, I keep getting these exceptions: [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 24.703s [INFO] Finished at: Tue Oct 06 14:02:22 CEST 2015 [INFO] Final Memory: 30M/73M [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:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) 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:181) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at hudson.maven.Maven3Builder.call(Maven3Builder.java:136) at hudson.maven.Maven3Builder.call(Maven3Builder.java:71) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException at org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:610) at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:594) at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:460) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:446) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:376) at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:196) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) ... 27 more [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [JENKINS] Archiving /var/lib/jenkins/jobs/config-object/workspace/pom.xml to mt.com.vodafone/config-object/1.1.3-SNAPSHOT/config-object-1.1.3-SNAPSHOT.pom [JENKINS] Archiving /var/lib/jenkins/jobs/config-object/workspace/target/config-object-1.1.3-SNAPSHOT.jar to mt.com.vodafone/config-object/1.1.3-SNAPSHOT/config-object-1.1.3-SNAPSHOT.jar [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 Version of Jenkins is 1.631, version of Artifactory is 4.1.3, version of the plugin is 2.3.1. If I look at that getExtension method, the cause of the NPE seems pretty obvious.
    via by Peter Korsten,
  • GitHub comment 52#141071411
    via GitHub by adetalhouet
    ,
  • We are using jenkins 2.32.3 with installed: * Maven Integration plugin 2.15.1 * Artifactory Plugin 2.9.1 (try also 2.10.3) With a jenkins job of kind Free Style and a build step of kind "Invoke Artifactory Maven" and the same with a Maven Job during deploy of artifacts it fails with a NPE. I'm build a multi modules maven project, other info on GitHub https://github.com/JFrogDev/build-info/issues/52 (since 2015!!!!) {noformat} [main] ERROR org.apache.maven.cli.MavenCli - NullPointerException java.lang.NullPointerException at org.jfrog.build.api.builder.BuildInfoMavenBuilder.mergeModuleDependencies(BuildInfoMavenBuilder.java:400) at org.jfrog.build.api.builder.BuildInfoMavenBuilder.mergeModule(BuildInfoMavenBuilder.java:344) at org.jfrog.build.api.builder.BuildInfoMavenBuilder.addModule(BuildInfoMavenBuilder.java:301) at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:486) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:470) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:398) at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:214) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:126) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288) at org.apache.maven.cli.MavenCli.main(MavenCli.java:199) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) {noformat}
    via by Nikolas Falco,
    • org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException at org.apache.maven.lifecycle.internal.builder.BuilderCommon.handleBuildError(BuilderCommon.java:147) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:129) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.NullPointerException at org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:630) at org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:614) at org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:478) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:464) at org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:392) at org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:210) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:125) ... 16 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,