ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing exception when not in debugger mode

Post new topic  Reply to topic
 Parsing exception when not in debugger mode « View previous topic :: View next topic » 
Author Message
deeps1281
PostPosted: Mon Feb 20, 2006 12:26 am    Post subject: Parsing exception when not in debugger mode Reply with quote

Apprentice

Joined: 31 Aug 2005
Posts: 29

I have a method which parses my message according to a defined message set.When i run the message through the flow i get a parser exception
<ErrorText>Invalid HL7 service string within bitstream</ErrorText>
<File>F:\build\S500_P\src\DataFlowEngine\ImbComputeNode.cpp</File>
<Function>MtiImbParser::parseRightSibling</Function>
<Type>ComIbmMQInputNode</Type>

If i try to debug the problem in the debugger mode and go step by step in the source code i get no problem and the message parses through the flow.

Could you help me out as to why i could be facing this difference
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Mon Feb 20, 2006 3:38 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi deeps1281,

You are getting a parser exception when the message is being outputted from the output node and not in the compute...

I presume that you aer debugging the code in the compute and finding that the code is working ??

Please post the outputted message right before the output node and also the entire exception.

Regards.
Back to top
View user's profile Send private message Send e-mail
deeps1281
PostPosted: Wed Feb 22, 2006 5:10 am    Post subject: Re:Parsing exception Reply with quote

Apprentice

Joined: 31 Aug 2005
Posts: 29

Hi

I am getting the parser exception in the compute node itself when i run the flow without attaching the debugger.If i try to resolve the problem and run the message in the debugger mode the message passes through the compute node and reaches the output queue without any problem.

The message that i am sending in the flow gets parsed perfectly and fits in the message set structure defined when im running in the debug mode.
Here is the error i get when i dont attach the debugger

<ErrorMessage>
<DateOfError>2005-07-22</DateOfError>
<TimeOfError>17:26:27.508</TimeOfError>
<ErrorNumber>5288</ErrorNumber>
<ErrorText>MTI. Not all the buffer was used when reading message</ErrorText>
<ErrorLabel></ErrorLabel>
<Insert>
<ErrorInsert></ErrorInsert>
</Insert>
<EntireErrorTree>
<RecoverableException>
<File>F:\build\S500_P\src\DataFlowEngine\ImbComputeNode.cpp</File>
<Line>472</Line>
<Function>ImbComputeNode::evaluate</Function>
<Type>ComIbmComputeNode</Type>
<Name>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM#FCMComposite_1_2</Name>
<Label>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM.IMPAC CHARGERECORD MAPPING TO CIM</Label>
<Text>Caught exception and rethrowing</Text>
<Catalog>BIPv500</Catalog>
<Severity>3</Severity>
<Number>2230</Number>
<RecoverableException>
<File>F:\build\S500_P\src\DataFlowEngine\ImbRdl\ImbRdlStatementGroup.cpp</File>
<Line>158</Line>
<Function>SqlStatementGroup::execute</Function>
<Type>ComIbmComputeNode</Type>
<Name>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM#FCMComposite_1_2</Name>
<Label>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM.IMPAC CHARGERECORD MAPPING TO CIM</Label>
<Text>Error detected, rethrowing</Text>
<Catalog>BIPv500</Catalog>
<Severity>3</Severity>
<Number>2488</Number>
<Insert>
<Type>5</Type>
<Text>.SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM.Main</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>49.3</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>PROC_CreateInputTree(ref_EnvInputTree, InputRoot);</Text>
</Insert>
<RecoverableException>
<File>F:\build\S500_P\src\DataFlowEngine\ImbRdl\ImbRdlRoutine.cpp</File>
<Line>492</Line>
<Function>SqlRoutine::invoke</Function>
<Type>ComIbmComputeNode</Type>
<Name>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM#FCMComposite_1_2</Name>
<Label>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM.IMPAC CHARGERECORD MAPPING TO CIM</Label>
<Text>Error occured in procedure</Text>
<Catalog>BIPv500</Catalog>
<Severity>3</Severity>
<Number>2934</Number>
<Insert>
<Type>5</Type>
<Text>PROC_CreateInputTree</Text>
</Insert>
<RecoverableException>
<File>F:\build\S500_P\src\DataFlowEngine\ImbRdl\ImbRdlStatementGroup.cpp</File>
<Line>158</Line>
<Function>SqlStatementGroup::execute</Function>
<Type>ComIbmComputeNode</Type>
<Name>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM#FCMComposite_1_2</Name>
<Label>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM.IMPAC CHARGERECORD MAPPING TO CIM</Label>
<Text>Error detected, rethrowing</Text>
<Catalog>BIPv500</Catalog>
<Severity>3</Severity>
<Number>2488</Number>
<Insert>
<Type>5</Type>
<Text>.SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM.PROC_CreateInputTree</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>3.3</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>DECLARE blb_Input BLOB ASBITSTREAM(ref_InputRoot.MRM OPTIONS ref_InputRoot.MQMD.Encoding ENCODING ref_InputRoot.MQMD.CodedCharSetId CCSID 'MS_SJHMC_IMPAC_CHARGERECORD' SET 'IMPAC_CHARGERECORD_MESSAGE' TYPE 'TDS1');</Text>
</Insert>
<ParserException>
<File>F:\build\S500_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbParser.cpp</File>
<Line>1876</Line>
<Function>MtiImbParser::parse_remaining</Function>
<Type>ComIbmMQInputNode</Type>
<Name>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM#FCMComposite_1_1</Name>
<Label>SJHMC70_IMPAC_CHARGERECORD_MAP_2_CIM.SJHMC70.IMPCHG.TX.MF</Label>
<Text>ImbRecoverableException caught from worker-&gt;parse.</Text>
<Catalog>BIPv500</Catalog>
<Severity>3</Severity>
<Number>5285</Number>
<Insert>
<Type>5</Type>
<Text>MS_SJHMC_IMPAC_CHARGERECORD</Text>
</Insert>
<Insert>
<Type>2</Type>
<Text>1</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>TDS1</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>IMPAC_CHARGERECORD_MESSAGE</Text>
</Insert>
<ParserException>
<File>F:\build\S500_P\src\cpi\pwf\tds\tdsworker.cpp</File>
<Line>318</Line>
<Function>CTDSWorker::hasNext</Function>
<Type></Type>
<Name></Name>
<Label></Label>
<Text>TDS General Error</Text>
<Catalog>BIPv500</Catalog>
<Severity>3</Severity>
<Number>5421</Number>
<Insert>
<Type>5</Type>
<Text>IMPAC_CHARGERECORD_MESSAGE</Text>
</Insert>
<Insert>
<Type>5</Type>
<Text>/IMPAC_CHARGERECORD_MESSAGE</Text>
</Insert>
<Insert>
<Type>2</Type>
<Text>320</Text>
</Insert>
<ParserException>
<File>F:\build\S500_P\src\MTI\MTIforBroker\MtiImbParser2\MtiImbFIHandler.cpp</File>
<Line>598</Line>
<Function>MtiImbFIHandler::endMessageContent</Function>
<Type></Type>
<Name></Name>
<Label></Label>
<Text>MTI. Not all the buffer was used when reading message</Text>
<Catalog>BIPv500</Catalog>
<Severity>3</Severity>
<Number>5288</Number>
<Insert>
<Type>5</Type>
<Text></Text>
</Insert>
</ParserException>
</ParserException>
</ParserException>
</RecoverableException>
</RecoverableException>
</RecoverableException>
</RecoverableException>
</EntireErrorTree>
</ErrorMessage>
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Parsing exception when not in debugger mode
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.