Details
-
Type: Bug
-
Status: Closed
-
Priority: Default
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Windows, C#
Description
I am using following code inside toApp() and toAdmin()
message.getHeader().getInt(BodyLength.FIELD)
But I am getting FieldNotfound exception. I can see the BodyLength tag set in the message, but still it cannot be found at the runtime.
Same code works fine in fromApp() and fromAdmin().
Also following code works fine - msg.getHeader().getField(new BeginString()).getValue();
Its Bodylength tag which gives error.
Can you provide the resolution please.