Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I'm using Java TOS 2.4.0.RC1.
I'm using a tWaitForFile to start a mixing a xml File and doing a lookup on DB2 AS400 table.
During the first iteration i have no problem all succeed but the second iteration make a nullpointerException in Tmap.
Exception in component tMap_1
java.lang.NullPointerException
at rfid.rfid_0_1.rfid.tWaitForFile_1Process(rfid.java:2051)
at rfid.rfid_0_1.rfid.tAS400Connection_1Process(rfid.java:261)
at rfid.rfid_0_1.rfid.runJobInTOS(rfid.java:3940)
at rfid.rfid_0_1.rfid.main(rfid.java:3852)
It's seem due to lookup component but i' don't understand why.
Thanks for reply
@jlolling thanks for your reply
actually i have a job which picks form a flat file (text file ) and loads into oracle database , when i run the job i normally get these NullPointerExceptions error , but if i check the table the record was been loaded successfully .
i am worried that because of these error, the job might fail in the near future
thanks
Simply check which input column is nullable and is assigned to a none-nullable output column. These are potential assignments causing a NullPointerException.