java.lang.NullPointerException

Jenkins JIRA | michartmann | 7 years ago
  1. 0

    I get a Nullpointer exception when I try to run a maven 2 job using clean install through an Slave Connected via JNLP agent I suspect it is something to do with the way out project i setup in module in a flat hierarchy. ################Hudson console output################################## Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.NullPointerException at hudson.remoting.Which.jarFile(Which.java:134) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:349) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:347) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) project=hudson.maven.MavenModuleSet@1f14fd[optagelsedk-mainline-test-and-deploy] project.getModules()=[hudson.maven.MavenModule@1854d1f[optagelsedk-mainline-test-and-deploy/dk.optagelse:administration-gui], hudson.maven.MavenModule@8a6351[optagelsedk-mainline-test-and-deploy/dk.optagelse:administration-service-ws], hudson.maven.MavenModule@17e8c5b[optagelsedk-mainline-test-and-deploy/dk.optagelse:citizen-gui], hudson.maven.MavenModule@130b97d[optagelsedk-mainline-test-and-deploy/dk.optagelse:institution-gui], hudson.maven.MavenModule@1e1ee5d[optagelsedk-mainline-test-and-deploy/dk.optagelse:integration-gateway], hudson.maven.MavenModule@1e85928[optagelsedk-mainline-test-and-deploy/dk.optagelse:integration-service-ws], hudson.maven.MavenModule@1355a47[optagelsedk-mainline-test-and-deploy/dk.optagelse:offer-gui], hudson.maven.MavenModule@1ba0281[optagelsedk-mainline-test-and-deploy/dk.optagelse:offer-service-ws], hudson.maven.MavenModule@fa6824[optagelsedk-mainline-test-and-deploy/dk.optagelse:optsec], hudson.maven.MavenModule@1cb1d37[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-module], hudson.maven.MavenModule@15d6184[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-parent], hudson.maven.MavenModule@ae0840[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-parent-deploy], hudson.maven.MavenModule@1eb424b[optagelsedk-mainline-test-and-deploy/dk.optagelse:util]] project.getRootModule()=hudson.maven.MavenModule@1cb1d37[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-module] FATAL: null java.lang.NullPointerException at hudson.remoting.Which.jarFile(Which.java:134) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:349) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:347) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) ################Hudson console output################################## Both master and slave runs WinXP and Hudson is on ver. 1.312

    Jenkins JIRA | 7 years ago | michartmann
    java.lang.NullPointerException
  2. 0

    I get a Nullpointer exception when I try to run a maven 2 job using clean install through an Slave Connected via JNLP agent I suspect it is something to do with the way out project i setup in module in a flat hierarchy. ################Hudson console output################################## Parsing POMs ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.NullPointerException at hudson.remoting.Which.jarFile(Which.java:134) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:349) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:347) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) project=hudson.maven.MavenModuleSet@1f14fd[optagelsedk-mainline-test-and-deploy] project.getModules()=[hudson.maven.MavenModule@1854d1f[optagelsedk-mainline-test-and-deploy/dk.optagelse:administration-gui], hudson.maven.MavenModule@8a6351[optagelsedk-mainline-test-and-deploy/dk.optagelse:administration-service-ws], hudson.maven.MavenModule@17e8c5b[optagelsedk-mainline-test-and-deploy/dk.optagelse:citizen-gui], hudson.maven.MavenModule@130b97d[optagelsedk-mainline-test-and-deploy/dk.optagelse:institution-gui], hudson.maven.MavenModule@1e1ee5d[optagelsedk-mainline-test-and-deploy/dk.optagelse:integration-gateway], hudson.maven.MavenModule@1e85928[optagelsedk-mainline-test-and-deploy/dk.optagelse:integration-service-ws], hudson.maven.MavenModule@1355a47[optagelsedk-mainline-test-and-deploy/dk.optagelse:offer-gui], hudson.maven.MavenModule@1ba0281[optagelsedk-mainline-test-and-deploy/dk.optagelse:offer-service-ws], hudson.maven.MavenModule@fa6824[optagelsedk-mainline-test-and-deploy/dk.optagelse:optsec], hudson.maven.MavenModule@1cb1d37[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-module], hudson.maven.MavenModule@15d6184[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-parent], hudson.maven.MavenModule@ae0840[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-parent-deploy], hudson.maven.MavenModule@1eb424b[optagelsedk-mainline-test-and-deploy/dk.optagelse:util]] project.getRootModule()=hudson.maven.MavenModule@1cb1d37[optagelsedk-mainline-test-and-deploy/dk.optagelse:project-module] FATAL: null java.lang.NullPointerException at hudson.remoting.Which.jarFile(Which.java:134) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:349) at hudson.maven.MavenProcessFactory$GetRemotingJar.call(MavenProcessFactory.java:347) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Unknown Source) ################Hudson console output################################## Both master and slave runs WinXP and Hudson is on ver. 1.312

    Jenkins JIRA | 7 years ago | michartmann
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.remoting.Which.jarFile()
    2. Hudson :: Remoting Layer
      Which.jarFile
      1. hudson.remoting.Which.jarFile(Which.java:134)
      1 frame