mashengchen created TRAFODION-2717:
--------------------------------------
Summary: DCSMaster can't solve error data send from odb and hang
Key: TRAFODION-2717
URL: https://issues.apache.org/jira/browse/TRAFODION-2717
Project: Apache Trafodion
Issue Type: Bug
Reporter: mashengchen
Assignee: mashengchen
odb give a wrong length for dcsmaster when do new byte[length], then throw
exception, but not catch it, this lead to client can't get response, and
dcsmaster hang.
2017-08-09 18:13:57,497, ERROR,
org.trafodion.dcs.master.listener.ListenerWorker, Node Number: , CPU: , PID: ,
Process Name: , , ,Unexpected Exception
java.nio.BufferUnderflowException
at java.nio.HeapByteBuffer.get(HeapByteBuffer.java:151)
at org.trafodion.dcs.master.listener.Util.extractString(Util.java:59)
at
org.trafodion.dcs.master.listener.ConnectionContext.extractFromByteBuffer(ConnectionContext.java:170)
at
org.trafodion.dcs.master.listener.RequestGetObjectRef.buildConnectReply(RequestGetObjectRef.java:96)
at
org.trafodion.dcs.master.listener.RequestGetObjectRef.processRequest(RequestGetObjectRef.java:61)
at
org.trafodion.dcs.master.listener.ListenerWorker.run(ListenerWorker.java:113)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)