XML Stage - Reject Link Error
Posted: Mon Oct 30, 2017 7:29 am
Hi,
I am trying to load XML Messages to Teradata database using the XML stage.
The XML messages are first loaded in teradata tables with MQ Connector stage and then parsed using XML stage.
The job looks like
Now there's a requirement of rejecting the XML Messages if the XML has structural difference or if the XML is corrupted etc.
I tried adding a reject link to the XML stage but the job is getting aborted with below error :-
Let me know what did I miss ?
I am trying to load XML Messages to Teradata database using the XML stage.
The XML messages are first loaded in teradata tables with MQ Connector stage and then parsed using XML stage.
The job looks like
Code: Select all
TD Conn ---> XML Stage---> Tfr ----> TD Conn
|
| (reject link)
File
I tried adding a reject link to the XML stage but the job is getting aborted with below error :-
Code: Select all
XML_Parse: java.lang.NullPointerException
at com.ibm.e2.connector.datastage.cc.CC_E2Adapter.getRejectDataSetProducer (CC_E2Adapter.java: 416)
XML_Parse: Java runtime exception occurred: java.lang.NullPointerException (com.ibm.e2.connector.datastage.cc.CC_E2Adapter::getRejectDataSetProducer, file CC_E2Adapter.java, line 416)