java.lang.NullPointerException

Terracotta | fuzy | 9 years ago
  1. 0

    The Terracotta Server on my production machine crashed 3 times within the last 8 hours, always caused by a NPE in MarkAndSweepGarbageCollector. See log of latest crash: 2008-05-27 09:20:05,685 [main] INFO com.terracottatech.console - Terracotta Server has started up as ACTIVE node on 0:0:0:0:0:0:0:0:9510 successfully, and is now ready for work. 2008-05-27 09:20:16,663 [TCWorkerComm # 2] INFO com.tc.net.protocol.transport.ServerMessageTransport - ConnectionID(41.d9c3bbd3a59b4e10a0832b98cffed290): Attaching new connection: com.tc.net.core.TCConnectionJDK14@430126690: connected: true, closed: false local=127.0.0.1:9510 remote=127.0.0.1:54778 connect=[Tue May 27 09:20:16 CEST 2008] idle=73ms 2008-05-27 09:20:16,683 [WorkerThread(client_handshake_stage,0)] INFO com.tc.objectserver.handshakemanager.ServerClientHandshakeManager - Client connected ClientID[41] 2008-05-27 09:20:16,773 [WorkerThread(jmxremote_tunnel_stage,0)] INFO com.tc.management.remote.protocol.terracotta.ClientTunnelingEventHandler - L1[ChannelID=[41]] notified us that their JMX server is now available 2008-05-27 09:23:11,602 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 1500 2008-05-27 09:23:19,143 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 750 2008-05-27 10:20:08,734 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 375 2008-05-27 10:20:10,123 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 150 2008-05-27 10:20:10,424 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 60 2008-05-27 10:20:11,007 [GC] ERROR com.tc.server.TCServerMain - Thread:Thread[GC,5,TC Thread Group] got an uncaught exception. About to sleep then exit. java.lang.NullPointerException at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.collectRoot(MarkAndSweepGarbageCollector.java:228) at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.collect(MarkAndSweepGarbageCollector.java:206) at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.rescue(MarkAndSweepGarbageCollector.java:109) at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.gc(MarkAndSweepGarbageCollector.java:146) at com.tc.objectserver.impl.ObjectManagerImpl$1.run(ObjectManagerImpl.java:705) 2008-05-27 10:20:14,008 [CommonShutDownHook - com.tc.object.msg.RequestManagedObjectResponseMessage$1@26aec755] INFO com.tc.net.protocol.TCNetworkMessage - No of times Buffers wasted = 0 Buffers wasted count = 0 I am using Terracotta 2.5.4 on Ubuntu Hardy Server amd64 with java -version java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode) See also http://forums.terracotta.org/forums/posts/list/1086.page

    Terracotta Project Issue Tracker | 9 years ago | Stefan F
    java.lang.NullPointerException
  2. 0

    The Terracotta Server on my production machine crashed 3 times within the last 8 hours, always caused by a NPE in MarkAndSweepGarbageCollector. See log of latest crash: 2008-05-27 09:20:05,685 [main] INFO com.terracottatech.console - Terracotta Server has started up as ACTIVE node on 0:0:0:0:0:0:0:0:9510 successfully, and is now ready for work. 2008-05-27 09:20:16,663 [TCWorkerComm # 2] INFO com.tc.net.protocol.transport.ServerMessageTransport - ConnectionID(41.d9c3bbd3a59b4e10a0832b98cffed290): Attaching new connection: com.tc.net.core.TCConnectionJDK14@430126690: connected: true, closed: false local=127.0.0.1:9510 remote=127.0.0.1:54778 connect=[Tue May 27 09:20:16 CEST 2008] idle=73ms 2008-05-27 09:20:16,683 [WorkerThread(client_handshake_stage,0)] INFO com.tc.objectserver.handshakemanager.ServerClientHandshakeManager - Client connected ClientID[41] 2008-05-27 09:20:16,773 [WorkerThread(jmxremote_tunnel_stage,0)] INFO com.tc.management.remote.protocol.terracotta.ClientTunnelingEventHandler - L1[ChannelID=[41]] notified us that their JMX server is now available 2008-05-27 09:23:11,602 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 1500 2008-05-27 09:23:19,143 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 750 2008-05-27 10:20:08,734 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 375 2008-05-27 10:20:10,123 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 150 2008-05-27 10:20:10,424 [TC Memory Monitor] INFO com.tc.runtime.TCMemoryManagerImpl - Sleep time changed to : 60 2008-05-27 10:20:11,007 [GC] ERROR com.tc.server.TCServerMain - Thread:Thread[GC,5,TC Thread Group] got an uncaught exception. About to sleep then exit. java.lang.NullPointerException at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.collectRoot(MarkAndSweepGarbageCollector.java:228) at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.collect(MarkAndSweepGarbageCollector.java:206) at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.rescue(MarkAndSweepGarbageCollector.java:109) at com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.gc(MarkAndSweepGarbageCollector.java:146) at com.tc.objectserver.impl.ObjectManagerImpl$1.run(ObjectManagerImpl.java:705) 2008-05-27 10:20:14,008 [CommonShutDownHook - com.tc.object.msg.RequestManagedObjectResponseMessage$1@26aec755] INFO com.tc.net.protocol.TCNetworkMessage - No of times Buffers wasted = 0 Buffers wasted count = 0 I am using Terracotta 2.5.4 on Ubuntu Hardy Server amd64 with java -version java version "1.6.0_06" Java(TM) SE Runtime Environment (build 1.6.0_06-b02) Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode) See also http://forums.terracotta.org/forums/posts/list/1086.page

    Terracotta Project Issue Tracker | 9 years ago | Stefan F
    java.lang.NullPointerException
  3. 0

    NullPointerException in MarkAndSweepGarbageCollector

    Terracotta | 9 years ago | fuzy
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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

    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 com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.collectRoot()
    2. com.tc.objectserver
      ObjectManagerImpl$1.run
      1. com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.collectRoot(MarkAndSweepGarbageCollector.java:228)
      2. com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.collect(MarkAndSweepGarbageCollector.java:206)
      3. com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.rescue(MarkAndSweepGarbageCollector.java:109)
      4. com.tc.objectserver.core.impl.MarkAndSweepGarbageCollector.gc(MarkAndSweepGarbageCollector.java:146)
      5. com.tc.objectserver.impl.ObjectManagerImpl$1.run(ObjectManagerImpl.java:705)
      5 frames