java.lang.NullPointerException

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.

  • {noformat} java.lang.NullPointerException at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:370) at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:431) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1129) at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1872) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1777) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataPersistence.load(BeanMetadataPersistence.java:108) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataPersistence.loadMetadata(BeanMetadataPersistence.java:81) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataModel.start(BeanMetadataModel.java:133) at org.springframework.ide.eclipse.beans.core.metadata.BeansMetadataPlugin$1.run(BeansMetadataPlugin.java:46) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}
    via by Oliver Gierke,
  • {noformat} java.lang.NullPointerException at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:370) at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:431) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1129) at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1872) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1777) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataPersistence.load(BeanMetadataPersistence.java:108) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataPersistence.loadMetadata(BeanMetadataPersistence.java:81) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataModel.start(BeanMetadataModel.java:133) at org.springframework.ide.eclipse.beans.core.metadata.BeansMetadataPlugin$1.run(BeansMetadataPlugin.java:46) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}
    via by Oliver Gierke,
  • GitHub comment 22#29222079
    via GitHub by rosenfeld
    ,
  • Testing servlets
    via by incognito_dev,
  • 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)
    via by sogabe,
    • java.lang.NullPointerException at java.util.concurrent.locks.ReentrantLock.tryLock(ReentrantLock.java:370) at java.util.concurrent.ConcurrentHashMap$Segment.put(ConcurrentHashMap.java:431) at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1129) at java.util.concurrent.ConcurrentHashMap.readObject(ConcurrentHashMap.java:1560) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1004) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1872) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1777) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1347) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:369) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataPersistence.load(BeanMetadataPersistence.java:108) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataPersistence.loadMetadata(BeanMetadataPersistence.java:81) at org.springframework.ide.eclipse.beans.core.metadata.internal.model.BeanMetadataModel.start(BeanMetadataModel.java:133) at org.springframework.ide.eclipse.beans.core.metadata.BeansMetadataPlugin$1.run(BeansMetadataPlugin.java:46) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Users with the same issue

    ben.slama.jihedben.slama.jihed
    1 times, last one,
    bayukresnobayukresno
    2 times, last one,
    dmitrydmitry
    2 times, last one,