|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Runtime Error when navigating to MQRFH2.pcs.Topic |
« View previous topic :: View next topic » |
Author |
Message
|
lium |
Posted: Thu May 13, 2010 9:33 am Post subject: Runtime Error when navigating to MQRFH2.pcs.Topic |
|
|
Disciple
Joined: 17 Jul 2002 Posts: 184
|
The message flow I am developing has a compute node to assign MQRFH2 header before it is wired to Publish node to get published. One input MQ message will result in multiple message published. Each published message has MQRFH2 header, the MQRFH2.pcs.Topic is assigned to a constant. But after message is published, only the first message has Topic assigned correctly, all the left has NULL value. Even if I have a trace node right after the compute node and before the publish node, the trace shows the Topic was really blank except the first message.
When I debug through the message flow, Everything seems fine in term that the value assigned to the MQRFH2 header. But after the compute node, when I navigate to MQRFH2.pcs.Command, it is fine with value "Publish", but when I navigate to MQRFH2.pcs.Topic, I got error as:
Computing hasChildren(Time of error xxxxx): An internal error occurred during: "Computing ahsChildren" java.lang.NullPointerException
Retrieving labels(Time of error: xxxxx): An internal error occurred during: "Retrieving labels" java.lang.NullPointerException.
My understanding is: there is runtime error, so even if the compute node has assgin an constant value to the Topic, the Topic is set to NULL after it comes out the compute node. All other fields are ok except the Topic field
Could anyone give me clue?
Great Thanks |
|
Back to top |
|
 |
Svp |
Posted: Thu May 13, 2010 10:08 am Post subject: |
|
|
Apprentice
Joined: 18 Feb 2010 Posts: 40
|
How about using
Outputroot.Properties.Topic = Topic string ? |
|
Back to top |
|
 |
lium |
Posted: Thu May 13, 2010 10:18 am Post subject: |
|
|
Disciple
Joined: 17 Jul 2002 Posts: 184
|
Thanks for reply, SVP.
My concern is the error might beyond the topic itself. It could be somewhere else wrong. I want to find the root cause. |
|
Back to top |
|
 |
lium |
Posted: Thu May 13, 2010 1:00 pm Post subject: |
|
|
Disciple
Joined: 17 Jul 2002 Posts: 184
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|