Link related issues

You might encounter a fatal error when running a Java™ Integration stage job with multiple input links or reject links.

Symptoms

  1. You might encounter the following fatal error when running a Java Integration stage job with multiple input links:
    [Input link 0] com.ascential.e2.common.CC_Exception: 
    User code returned the bean class "YourInput" for this link, 
    but this is not matched to "MyInput" specified in the design. 
    Launch the Column mapping editor to reconfigure the column mappings.
    at com.ibm.is.cc.javastage.connector.CC_JavaInputLinkImpl.setBeanClass 
    (CC_JavaInputLinkImpl.java: 123)
    at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.updateLinkWithBeanInfo 
    (CC_JavaAdapter.java: 208)
    at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.preRunNode 
    (CC_JavaAdapter.java: 421)
  2. You might encounter the following fatal error when running a Java Integration stage job with reject links:
    com.ascential.e2.common.CC_Exception: Reject link is not configured. 
    Configure reject link and save it.
    at com.ibm.is.cc.javastage.connector.
    CC_JavaRecordDataSetConsumer.setRejectManager
    (CC_JavaRecordDataSetConsumer.java: 182)
    at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.getRejectDataSetProducer 
    (CC_JavaAdapter.java: 349)

Resolving the problem

The first error might occur because you might have changed the link order after configuring the column mapping.

To fix the error, click the Configure button on the Java Integration stage property editor and configure the column mapping again. You always need to verify the link order on the Link Ordering tab on the Java Integration stage property editor if your job has multiple input and output links to prevent any inconsistencies between your job design and Java code.

To fix the second error, open the Reject tab and confirm the right input row was selected at the stage property Reject - From Link on the Java Integration stage property editor.