> > Ruleset Null Pointer Exception Error during Addition Task

Ruleset Null Pointer Exception Error during Addition Task

EBI 3 Scenario:

In our ruleset we are looking to add SAC allowances and charges in our outbound 810 (invoice) transaction.

EBI 3 Issue:

As we add values we are finding that the SAC record does not exist due to allowances not being present. This causes an error when we go to generate the outbound EDI 810 data.

EBI 3 Auditor Error:

Translation Messages:
Message ID: 78 - Source connector (com.extol.transformation.connectors.ConvertDocumentToDocumentSrc) started.
Message ID: 78 - Source connector (com.extol.transformation.connectors.ConvertDocumentToDocumentSrc) ended.
Message ID: 78 - State table processor started.
Message ID: 142 - java.lang.NullPointerException
Message ID: 71 - Error executing rule reference 70, state table entry "105" for OpCode "(1)Addition".
Message ID: 74 - Document transformation ended abnormally

EBI 3 Resolution:

To avoid the java.lang.NullPointerException error, we need to apply a condition on the addition task. By applying the greater than 0 task to the rule, we will avoid errors.


By: on