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

JFrog JIRA | Aviad Shikloshi | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {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}

    JFrog JIRA | 2 years ago | Aviad Shikloshi
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  2. 0

    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}

    JFrog JIRA | 2 years ago | Aviad Shikloshi
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  3. 0

    {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}

    JFrog JIRA | 2 years ago | Aviad Shikloshi
    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 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}

    JFrog JIRA | 2 years ago | Aviad Shikloshi
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  6. 0

    Exception is thown when using Artifactory Plugin in Jenkins

    GitHub | 2 years ago | eddi-weiss
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException

    3 unregistered visitors
    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 org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension()
    2. org.jfrog.build
      BuildInfoRecorder.projectSucceeded
      1. org.jfrog.build.extractor.maven.BuildInfoRecorder.getExtension(BuildInfoRecorder.java:630)
      2. org.jfrog.build.extractor.maven.BuildInfoRecorder.addDependenciesToCurrentModule(BuildInfoRecorder.java:614)
      3. org.jfrog.build.extractor.maven.BuildInfoRecorder.addFilesToCurrentModule(BuildInfoRecorder.java:478)
      4. org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeAndAddModule(BuildInfoRecorder.java:464)
      5. org.jfrog.build.extractor.maven.BuildInfoRecorder.finalizeModule(BuildInfoRecorder.java:392)
      6. org.jfrog.build.extractor.maven.BuildInfoRecorder.projectSucceeded(BuildInfoRecorder.java:210)
      6 frames
    3. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74)
      2. org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42)
      3. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:125)
      4. org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
      5. org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
      6. org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
      8 frames
    4. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
      2. org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
      3. org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
      3 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:483)
      4 frames
    6. Plexus
      Launcher.main
      1. org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
      2. org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
      3. org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
      4. org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
      4 frames