New posts are disabled while we improve the user experience.
You can browse the site, or for urgent issues, raise a query at MyAccount.
Hello @treasuryit
According to case 09130742, the application prints the error when it cannot find the required fields in a data message. Based on the info I have, the application expects primact_1 field is in every UPDATE messages but the feed does not publish the field in every UPDATE messages. Hence, the application prints the Hex error for the data messages which do not contain primact_1 field.
I suggest you create a variable which keeps primact_1 data and update the variable according to a data message containing the primact_1 field. Hence, the application can show up-to-date primact_1 data. For a data message which does not contain primact_1 field, you should not print the error because this is not the error but it is data expected behavior that primact_1 field is not necessary to be contained in every data messages. Anyway, you may print the info or the warning that the data message does not contain the field.
Normally, the error should be printed when a data message cannot be unpacked as shown in MDSubDemoClient.java shipped with RFA packages:
catch (TibException te) { System.out.println("Unable to unpack data with TibMsg. Displaying hex."); String rawData = HexDump.hexDump(data, length); System.out.println(rawData); }
Hope this help.