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 » Why my code is running only on debug mode?

Post new topic  Reply to topic
 Why my code is running only on debug mode? « View previous topic :: View next topic » 
Author Message
sri4292
PostPosted: Wed Oct 03, 2018 1:26 am    Post subject: Why my code is running only on debug mode? Reply with quote

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
View user's profile Send private message
timber
PostPosted: Wed Oct 03, 2018 2:16 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

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
View user's profile Send private message
sri4292
PostPosted: Wed Oct 03, 2018 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message
abhi_thri
PostPosted: Thu Oct 04, 2018 12:28 am    Post subject: Reply with quote

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
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 » Why my code is running only on debug 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.