|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Why my code is running only on debug mode? |
« View previous topic :: View next topic » |
Author |
Message
|
sri4292 |
Posted: Wed Oct 03, 2018 1:26 am Post subject: Why my code is running only on debug mode? |
|
|
Newbie
Joined: 03 Oct 2018 Posts: 2
|
Hi All,
I am trying to parse blob to json by using Parse clause, if I am running in debug mode it is parsing properly.
when i am running in non-debug mode, the same application throwing (A JSON parsing error has occurred whilst parsing the JSON document) error.
Can anyone please help me with this? |
|
Back to top |
|
 |
timber |
Posted: Wed Oct 03, 2018 2:16 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
I agree that it's unusual for the debugger to make a difference (since WMB v7, anyway), but...it might be helpful if you post the error that you are receiving. |
|
Back to top |
|
 |
sri4292 |
Posted: Wed Oct 03, 2018 3:06 am Post subject: |
|
|
Newbie
Joined: 03 Oct 2018 Posts: 2
|
Please find below error
ParserException
File:CHARACTER:/build/S1000_slot1/S1000_P/src/DataFlowEngine/JSON/ImbJSONParser.cpp
Line:INTEGER:169
Function:CHARACTER:ImbJSONParser::refreshBitStreamFromElementsInner
Type:CHARACTER:ComIbmWSInputNode
Name:CHARACTER:gp/nucleus/matchapi/rest/Matchapi_REST_MF#FCMComposite_1_1
Label:CHARACTER:gp.nucleus.matchapi.rest.Matchapi_REST_MF.HTTP Input
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:5706
Text:CHARACTER:JSON writing errors have occurred
ParserException
File:CHARACTER:/build/S1000_slot1/S1000_P/src/DataFlowEngine/JSON/ImbJSONParser.cpp
Line:INTEGER:295
Function:CHARACTER:ImbJSONParser::parseRightSibling
Type:CHARACTER:ComIbmWSInputNode
Name:CHARACTER:gp/nucleus/matchapi/rest/Matchapi_REST_MF#FCMComposite_1_1
Label:CHARACTER:gp.nucleus.matchapi.rest.Matchapi_REST_MF.HTTP Input
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:5705
Text:CHARACTER:JSON parsing errors have occurred
ParserException
File:CHARACTER:/build/S1000_slot1/S1000_P/src/DataFlowEngine/JSON/ImbJSONDocHandler.cpp
Line:INTEGER:550
Function:CHARACTER:ImbJSONDocHandler::onInvalidCharacter
Type:CHARACTER:ComIbmWSInputNode
Name:CHARACTER:gp/nucleus/matchapi/rest/Matchapi_REST_MF#FCMComposite_1_1
Label:CHARACTER:gp.nucleus.matchapi.rest.Matchapi_REST_MF.HTTP Input
Catalog:CHARACTER:BIPmsgs
Severity:INTEGER:3
Number:INTEGER:5701
Text:CHARACTER:A JSON parsing error has occurred whilst parsing the JSON document
Insert
Type:INTEGER:2
Text:CHARACTER:1
Insert
Type:INTEGER:2
Text:CHARACTER:11585
Insert
Type:INTEGER:5
Text:CHARACTER:0x00000000
Insert
Type:INTEGER:5
Text:CHARACTER:0x00000000
Insert
Type:INTEGER:5
Text:CHARACTER: |
|
Back to top |
|
 |
abhi_thri |
Posted: Thu Oct 04, 2018 12:28 am Post subject: |
|
|
 Knight
Joined: 17 Jul 2017 Posts: 516 Location: UK
|
hi...the first thing you could check is whether the input json is a valid one or not, there are numerous sites available which validates json.
PS: Historically there are some minor differences when debugger is on, you can use the flow usertrace instead |
|
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
|
|
|
|