CDV ❯ Server can throw an Assertion and crash if a client disconnects before sending any transactions to the server.
-
Bug
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
DSO:L2
-
-
ssubbiah
-
Reporter: ssubbiah
-
January 23, 2007
-
0
-
Watchers: 0
-
July 27, 2012
-
January 23, 2007
Description
The server throws this Assertin error and exists if a client disconnects before sending any transactions to the server.
java.lang.NullPointerException: object is null at com.tc.util.Assert.assertNotNull(Assert.java:80) at com.tc.util.Assert.assertNotNull(Assert.java:84) at com.tc.objectserver.tx.TransactionBatchManagerImpl.shutdownClient(TransactionBatchManagerImpl.java:47) at com.tc.objectserver.handler.ChannelLifeCycleHandler.channelRemoved(ChannelLifeCycleHandler.java:64) at com.tc.objectserver.handler.ChannelLifeCycleHandler.handleEvent(ChannelLifeCycleHandler.java:46) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:141)
Even though this is an unllikely case, it can still happen in the enterprise kit where there is license restrictions or when client run for a very short time and dont modify any data.
This was fixed by Gary in the trunk but it needs to be back ported to 2.2.1
pushed to 2.2.1 for ga