0 Replies Latest reply: Jan 20, 2013 1:09 AM by 985945 RSS

    xeres- Unexpected runtime&NullPointer exceptions under load-multithread app

      Issue in production, throws nullpointer exception on simple load - URGENT, need to resolve on priority

      XML Messages posted to IBM MQ Queue wnith MQ API -

      Exception occurs when simple load of messages (approx. 5000 messages of 4 - 5KB) posted

      Unexpected runtime exception; nested exception is: java.lang.NullPointerException

      Please find complete stacktrace below -

      Unexpected runtime exception; nested exception is: t
      at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
      at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
      at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)

      Have put synchronization in code wherever required assuming DOM (xerces) API is not thread safe. Still throws NPE..

      ** Pls note it happens under load only > 4K
      ** Using xercesImpl.jar

      Need resolution on top priority, issue in production.
      Any help is appreciated.