NullPointerException in MarkAndSweepGarbageCollector
----------------------------------------------------
Key: CDV-765
URL: https://jira.terracotta.org/jira//browse/CDV-765
Project: Community Development
Issue Type: Bug
Components: DSO:L2
Affects Versions: 2.5.4
Reporter: Stefan F
Assignee: Issue Review Board
Attachments: tc-config.xml
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:
[EMAIL PROTECTED]: 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 - [EMAIL PROTECTED] 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
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev