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

Jenkins JIRA | banoss | 6 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Getting this at the start of the build. Its reporting FAILURE building the parent module (aggregated poms) this is after upgrading from Jenkins 1.432 to 1.436. Reverting back to 1.432 problem goes away. Config is a M3 project I've tried 1 or more threads with same result. 15:04:36 mavenExecutionResult exceptions not empty 15:04:36 message : Internal error: java.lang.NullPointerException 15:04:36 cause : null 15:04:36 Stack trace : 15:04:36 org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException 15:04:36 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164) 15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 15:04:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 15:04:36 at java.lang.Thread.run(Thread.java:662) 15:04:36 Caused by: java.lang.NullPointerException 15:04:36 at hudson.maven.AbstractMavenBuilder$FilterImpl.executeAsync(AbstractMavenBuilder.java:174) 15:04:36 at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:128) 15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectSucceeded(Maven3Builder.java:378) 15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:352) 15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) 15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) 15:04:36 ... 10 more

    Jenkins JIRA | 6 years ago | banoss
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  2. 0

    Getting this at the start of the build. Its reporting FAILURE building the parent module (aggregated poms) this is after upgrading from Jenkins 1.432 to 1.436. Reverting back to 1.432 problem goes away. Config is a M3 project I've tried 1 or more threads with same result. 15:04:36 mavenExecutionResult exceptions not empty 15:04:36 message : Internal error: java.lang.NullPointerException 15:04:36 cause : null 15:04:36 Stack trace : 15:04:36 org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException 15:04:36 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164) 15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 15:04:36 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 15:04:36 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 15:04:36 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 15:04:36 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 15:04:36 at java.lang.Thread.run(Thread.java:662) 15:04:36 Caused by: java.lang.NullPointerException 15:04:36 at hudson.maven.AbstractMavenBuilder$FilterImpl.executeAsync(AbstractMavenBuilder.java:174) 15:04:36 at hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:128) 15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectSucceeded(Maven3Builder.java:378) 15:04:36 at hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:352) 15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:74) 15:04:36 at org.apache.maven.lifecycle.internal.DefaultExecutionEventCatapult.fire(DefaultExecutionEventCatapult.java:42) 15:04:36 at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:91) 15:04:36 ... 10 more

    Jenkins JIRA | 6 years ago | banoss
    org.apache.maven.InternalErrorException: Internal error: java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Getting a nullpointer exception when switching displayables in J2ME

    Stack Overflow | 6 years ago | Pallinder
    java.lang.NullPointerException: 0 at javax.microedition.lcdui.Display$ChameleonTunnel.callScreenListener(), bci=46 at com.sun.midp.chameleon.layers.SoftButtonLayer.processCommand(), bci=74 at com.sun.midp.chameleon.layers.SoftButtonLayer.soft1(), bci=37 at com.sun.midp.chameleon.layers.SoftButtonLayer.keyInput(), bci=36 at com.sun.midp.chameleon.CWindow.keyInput(), bci=38 at javax.microedition.lcdui.Display$DisplayEventConsumerImpl.handleKeyEvent(), bci=17 at com.sun.midp.lcdui.DisplayEventListener.process(), bci=277 at com.sun.midp.events.EventQueue.run(), bci=179

    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.maven.AbstractMavenBuilder$FilterImpl.executeAsync()
    2. Hudson Maven Embedder
      AbstractMavenBuilder$FilterImpl.executeAsync
      1. hudson.maven.AbstractMavenBuilder$FilterImpl.executeAsync(AbstractMavenBuilder.java:174)
      1 frame
    3. Legacy Maven 2 job type Plugin
      MavenArtifactArchiver.postBuild
      1. hudson.maven.reporters.MavenArtifactArchiver.postBuild(MavenArtifactArchiver.java:128)
      1 frame
    4. Hudson Maven Embedder
      Maven3Builder$MavenExecutionListener.projectSucceeded
      1. hudson.maven.Maven3Builder$MavenExecutionListener.recordProjectSucceeded(Maven3Builder.java:378)
      2. hudson.maven.Maven3Builder$MavenExecutionListener.projectSucceeded(Maven3Builder.java:352)
      2 frames
    5. Maven Core
      LifecycleThreadedBuilder$1.call
      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:91)
      4. org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:167)
      5. org.apache.maven.lifecycle.internal.LifecycleThreadedBuilder$1.call(LifecycleThreadedBuilder.java:164)
      5 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      3. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      4. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      5. java.util.concurrent.FutureTask.run(FutureTask.java:138)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      8. java.lang.Thread.run(Thread.java:662)
      8 frames