Posted: Tue Mar 12, 2013 10:46 am Post subject: evaluateXPath() in Java Compute node causing EG to restart
Centurion
Joined: 04 Oct 2008 Posts: 147 Location: US
All,
I have a scenario where I have to populate the XPath expression dynamically and execute that Xpath in Java Compute node using evaluateXpath() method. For some reason, our population of XPath expression fails to generate the right value and results in null. And when this null value gets evaluated against the message(XML) as below, the execution group gets shut down and restarted immediately. Even the abend file does not have enough information why this
Code:
Try{
String xpath = <some dynamic processing logic>; --resulted null in a scenario.
inputXMLMsg.evaluateXPath(xpath);
}catch(Throwable e){
--logic to handle exception
}
Abend file content:
Quote:
----------------------------- Stack dump for current thread ( 1
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so[0x2b628be5d80c]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend23dumpCurrentStacksToFileEPKvi+0x106)[0x2b628bcb6c06]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend10dumpToFileEPcPKciS2_RKNS_6InsertES5_S5_S5_S5_S5_PKv+0x72f)[0x2b628bcb7c8f]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend22logSystemErrorInternalEPKciS1_RKNS_6InsertES4_S4_S4_S4_S4_PKvb+0x25e)[0x2b628bcb82de]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend41logSystemErrorAndTerminateProcessInternalEPKciS1_RKNS_6InsertES4_S4_S4_S4_S4_PKvb+0xae)[0x2b628bcb8c8e]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend21signalHandlerInternalEiP7siginfoPv+0xf5)[0x2b628bcb8e65]
/lib64/libpthread.so.0[0x300060ebe0]
/opt/app/ibm/wtx/java/lib/amd64/default/libj9vm24.so[0x2aaaacc53b32]
I would like to know why this(null parameter to evaluateXPath() method) is not raising any exception but causing the EG to shut down and restart. Any help is appreciated. _________________ Regards
Paul
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum