Posted: Wed Jun 15, 2005 5:05 am Post subject: Null assignment compute node error message
Apprentice
Joined: 14 Jun 2005 Posts: 34
Hi all,
I have a problem which is driving me - and my colleagues - mad!!!
We have a version 2.1 message flow which accepts a MRM input format and converts this to a separate MRM output format.
When I run a test message through the flow, I get the following error in the debug trace output:
Code:
2005-06-15 11:32:45.322883 3347 ParserException BIP5286E: Message Translation Interface Writing Errors have occurred:
Message Set Name : 'IZ_MCSdesp_UK_MS02'
Message Set Level : '1'
Message Format : 'CWF03'
Message Type Path : 'IJSTD_DESP_OUT_MES'
Review further error messages for an indication to the cause of the errors.
2005-06-15 11:32:45.322944 3347 ParserException BIP5167E: Custom Wire Format error while parsing/writing message 'IJSTD_DESP_OUT_MES'.
2005-06-15 11:32:45.322986 3347 ParserException BIP5350E: Custom Wire Format writing error. While writing the message quoted above, the CWF writer encountered an error.
The error occurred during or after the writing of element '/IJSTD_DESP_OUT_MES/MCS_IJSTD_DESP_ELEMENT'.
Check that you have built the message correctly.
See following messages for more details.
2005-06-15 11:32:45.323036 3347 ParserException BIP5461E: CWF Worker. Cannot assign MRM-defined null value.
An attempt was made to assign a null value to element '', but the message set does not allow null values to be used.
Check your ESQL for statements like 'ESQL VALUE = NULL'
Check the properties of the message set.
See following messages for details of the message set and message.
Does anybody know what the line : An attempt was made to assign a null value to element '', but the message set does not allow null values to be used means?
I have placed a trace node (containing ${Root}) after the compute node and all the fields defined in the output MRM are present and contain the correct values. One part of the output MRM repeats using a value from the input MRM and that is working fine too.
I have tried to find BIP5461E in the WMQI 2.1 Messages PDF manual but it doesn't seem to be in there.
The message is self explanatory. You attempted to assign a NULL value to a field that is either a mandatory field or constrained to not have a NULL value.
The element in question is either IJSTD_DESP_OUT_MES/MCS_IJSTD_DESP_ELEMENT or the next element your ESQL writes to or the next element in the message model. _________________ I am *not* the model of the modern major general.
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