Uploaded image for project: 'Apache Trafodion (Retired)'
  1. Apache Trafodion (Retired)
  2. TRAFODION-2717

DCSMaster can't solve error data send from odbc and hang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      odbc 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)

      Attachments

        Issue Links

          Activity

            People

              shengchen.ma mashengchen
              shengchen.ma mashengchen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: