java.lang.NullPointerException

Jenkins JIRA | sogabe | 8 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

    Hudson: trunk When I built my projects(Free style, M2 style), I got NPE. ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.NullPointerException at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1944) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveProxyClass(MultiClassLoaderSerializer.java:102) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:94) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.UserRequest.deserialize(UserRequest.java:168) at hudson.remoting.UserRequest.perform(UserRequest.java:88) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:236) 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) project=hudson.maven.MavenModuleSet@1a5049a[Hudson] project.getModules()=[hudson.maven.MavenModule@feaf9c[Hudson/org.jvnet.hudson.main:cli], hudson.maven.MavenModule@1c506f7[Hudson/org.jvnet.hudson.main:hudson-core], hudson.maven.MavenModule@9c8a10[Hudson/org.jvnet.hudson.main:hudson-test-harness], hudson.maven.MavenModule@854dc9[Hudson/org.jvnet.hudson.main:hudson-war], hudson.maven.MavenModule@119b8ae[Hudson/org.jvnet.hudson.main:maven-agent], hudson.maven.MavenModule@633079[Hudson/org.jvnet.hudson.main:maven-interceptor], hudson.maven.MavenModule@5855bd[Hudson/org.jvnet.hudson.main:maven-plugin], hudson.maven.MavenModule@15d060d[Hudson/org.jvnet.hudson.main:pom], hudson.maven.MavenModule@1e219e7[Hudson/org.jvnet.hudson.main:remoting]] project.getRootModule()=hudson.maven.MavenModule@15d060d[Hudson/org.jvnet.hudson.main:pom] FATAL: null java.lang.NullPointerException at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1944) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveProxyClass(MultiClassLoaderSerializer.java:102) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:94) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.UserRequest.deserialize(UserRequest.java:168) at hudson.remoting.UserRequest.perform(UserRequest.java:88) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:236) 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)

    Jenkins JIRA | 8 years ago | sogabe
    java.lang.NullPointerException
  2. 0

    Hudson: trunk When I built my projects(Free style, M2 style), I got NPE. ERROR: Processing failed due to a bug in the code. Please report this to users@hudson.dev.java.net java.lang.NullPointerException at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1944) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveProxyClass(MultiClassLoaderSerializer.java:102) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:94) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.UserRequest.deserialize(UserRequest.java:168) at hudson.remoting.UserRequest.perform(UserRequest.java:88) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:236) 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) project=hudson.maven.MavenModuleSet@1a5049a[Hudson] project.getModules()=[hudson.maven.MavenModule@feaf9c[Hudson/org.jvnet.hudson.main:cli], hudson.maven.MavenModule@1c506f7[Hudson/org.jvnet.hudson.main:hudson-core], hudson.maven.MavenModule@9c8a10[Hudson/org.jvnet.hudson.main:hudson-test-harness], hudson.maven.MavenModule@854dc9[Hudson/org.jvnet.hudson.main:hudson-war], hudson.maven.MavenModule@119b8ae[Hudson/org.jvnet.hudson.main:maven-agent], hudson.maven.MavenModule@633079[Hudson/org.jvnet.hudson.main:maven-interceptor], hudson.maven.MavenModule@5855bd[Hudson/org.jvnet.hudson.main:maven-plugin], hudson.maven.MavenModule@15d060d[Hudson/org.jvnet.hudson.main:pom], hudson.maven.MavenModule@1e219e7[Hudson/org.jvnet.hudson.main:remoting]] project.getRootModule()=hudson.maven.MavenModule@15d060d[Hudson/org.jvnet.hudson.main:pom] FATAL: null java.lang.NullPointerException at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1944) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveProxyClass(MultiClassLoaderSerializer.java:102) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:82) at hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:94) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at hudson.remoting.UserRequest.deserialize(UserRequest.java:168) at hudson.remoting.UserRequest.perform(UserRequest.java:88) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:236) 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)

    Jenkins JIRA | 8 years ago | sogabe
    java.lang.NullPointerException
  3. 0

    NullPointerException from FileInputStream readObject()

    Stack Overflow | 2 years ago | Michael Ignoto
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to pass a jFrame with jTable via sockets?

    Stack Overflow | 5 years ago | eliorsh
    java.lang.NullPointerException
  6. 0

    Ensuring that the serialization of an object is done correctly

    Stack Overflow | 6 years ago | lemoos
    java.lang.NullPointerException

  1. ben.slama.jihed 1 times, last 11 months ago
  2. bayukresno 2 times, last 11 months ago
  3. dmitry 2 times, last 11 months ago
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 java.io.ObjectInputStream.defaultReadFields()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1944)
    2. java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
    3. java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
    4. java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    5. java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    5 frames