Posted: Tue Feb 25, 2014 3:49 am Post subject: Null pointer while creating JMS Message
Apprentice
Joined: 24 Aug 2012 Posts: 43
Hello.
I use WMB 8.0.0.2 on RHEL.
WMQ is 7.5.0.0.
I encountered an error at JMSOutputNode:
Code:
RecoverableException
File:CHARACTER:/build/slot1/S800_P/src/DataFlowEngine/PluginInterface/ImbJniNode.cpp
Line:INTEGER:1267
Function:CHARACTER:ImbJniNode::evaluate
Type:CHARACTER:ComIbmJMSClientOutputNode
Name:CHARACTER:<flow name>#FCMComposite_1_14.<subflow name>#FCMComposite_1_3
Label:CHARACTER:<flow name>.JMSOutput
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:2230
Text:CHARACTER:Caught exception and rethrowing
RecoverableException
File:CHARACTER:JMSClientErrors.java
Line:INTEGER:694
Function:CHARACTER:JMSClientOutputNode::createOutputMessage()
Type:CHARACTER:
Name:CHARACTER:
Label:CHARACTER:
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:4362
Text:CHARACTER:Null pointer while creating JMS Message
Insert
Type:INTEGER:5
Text:CHARACTER:Broker '<value>'; Execution Group '<value>'; Message Flow '<value>'; Node 'JMSOutput::ComIbmJMSClientOutputNode' Exception Message ' '; Exception Stack 'java.lang.NullPointerException at com.ibm.broker.jmsclientnodes.JMSClientMessageFormatterMbToJms.createJMSMessage(JMSClientMessageFormatterMbToJms.java:753) at com.ibm.broker.jmsclientnodes.JMSClientOutputNode.createOutputMessage(JMSClientOutputNode.java:967) at com.ibm.broker.jmsclientnodes.JMSClientOutputNode.evaluate(JMSClientOutputNode.java:467) at com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1480) at com.ibm.broker.plugin.MbOutputTerminal._propagate(Native Method) at com.ibm.broker.plugin.MbOutputTerminal.propagate(MbOutputTerminal.java:133) at com.ibm.broker.plugin.MbOutputTerminal.propagate(MbOutputTerminal.java:88) at com.ibm.broker.transportheadernodes.jms.JMSHeaderNode.evaluate(JMSHeaderNode.java:254) at com.ibm.broker.plugin.MbNode.evaluate(MbNode.java:1480) '
Insert
Type:INTEGER:5
Text:CHARACTER:
My message flow is:
Quote:
Timeout Notification (creates message once a day) -> ESQL node (create message body in XMLNSC domain) -> JMS Header node (JMS Header option = "Add header") -> ESQL node (fill up log info at Application_Properties) and propagating to log and out terminals ->(to log terminal)-> JMS Output node (sends messages to log queue) -> returns to ESQL and propagate message to out terminal ->(to out terminal)-> JMS Output node (sends messages to destination)
Posted: Tue Feb 25, 2014 4:31 am Post subject: Re: Null pointer while creating JMS Message
Yatiri
Joined: 15 Apr 2008 Posts: 637 Location: Germany
I know of the rule, that there shouldn't be null pointer exceptions (in Java) in production code.
So it's probably something IBM could have a look into... on how to fix it and change the exception text into something more meaningful.
Elsewise it is very likely that you are leaving a (mandatory) field empty.
To fix it, you may (just for testing) fill in all fields you see (and which are empty), then test "if fixed" and then try to focus down (onto the values actually needed).
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