Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Production : Solace PubSub+ connector version 1.3.0 Connector Issue #9

Open
teredpus opened this issue Jul 28, 2023 · 1 comment
Open

Comments

@teredpus
Copy link

Valid Json is published to solace using MuleSoft Solace PubSub+ connector version 1.3.0 but in subscribing API we are facing empty input error.
The error seems to be intermittent and could see successful transactions for same operation.

Have attached the Worker logs . PFB error trace :

17:18:01.063 07/19/2023 Worker-1 [MuleRuntime].uber.51: [mw-d2c-commercetools-sys-pr].imageStateChange.CPU_LITE @3084679d ERROR
event:1ce844d0-262a-11ee-b08f-0e8695b41541


Message : "org.mule.weave.v2.module.reader.ReaderParsingException: Unable to parse empty input, while reading payload as Json.

1|
^
" evaluating expression: "payload.orderNumber".
Element : imageStateChange/processors/1 @ mw-d2c-commercetools-sys-pr:mw-d2c-commercetools-sys.xml:72 (Request received)
Element DSL :
Error type : MULE:EXPRESSION
FlowStack : at imageStateChange(imageStateChange/processors/1 @ mw-d2c-commercetools-sys-pr:mw-d2c-commercetools-sys.xml:72 (Request received))
Payload Type : java.lang.String

Root Exception stack trace:
org.mule.runtime.api.el.ExpressionExecutionException: org.mule.weave.v2.module.reader.ReaderParsingException: Unable to parse empty input, while reading payload as Json.

@teredpus
Copy link
Author

We tried enabling debug logs and could notice that payload is getting emptied in publish connector "attLen=3"

11:42:43.119 08/09/2023 Worker-0 [MuleRuntime].uber.6463: [common-marspulse-product-sys-pr].marspulse-onetrust-implementationSub_Flow.CPU_LITE @6bc9ccce DEBUG
Client-6: [7247cfb6-6944-4590-a015-12784b97a560[common-marspulse-product-sys-cu@tcps://marsglbprod.internal-messaging.effem.com] (0006)] Want to send: com.solacesystems.jcsmp.impl.JCSMPGenericXMLMessage[messageId=2915608,ackMessageId=0,prevId=2915607,CID_count=0,userData=,type=PERSISTENT,priority=4,redelivered=false,timeToLive=0,expiration=0,dmqEligible=true,topicSeqNum=null,metadataLen=0,contentLen=0,attLen=3,sendAttemptedOnce=false,ackImmediately=false,safeToRelease=false,retransmitting=false,sendCount=0@2678dee0]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant