Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Tmap null pointer exception

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

Labels (4)
32 Replies
amaumont
Contributor III
Contributor III

Sorry, we can't share variables between jobs for the moment, it will possible a day but I don't know when.
You can wait for the 2.4 RC4 or modify the templates like described above.
amaumont
Anonymous
Not applicable
Author

Ok thanks for your answer.
Regards,
ben23
Anonymous
Not applicable
Author

I have the same problem on Talend 4.0.2, but when I tried to execute the 1st workaround, I saw that the code was already removed in the files.
_AnonymousUser
Specialist III
Specialist III

Hi Everyone,
In my job.in tMap Component am getting null Pointer Exception Error.the error which am getting in my job is :
Exception in component tMap_1
java.lang.NullPointerException
at demo.bagmakers_new_0_1.BagMakers_New.tFileInputExcel_1Process(BagMakers_New.java:13692)
at demo.bagmakers_new_0_1.BagMakers_New.runJobInTOS(BagMakers_New.java:16145)
at demo.bagmakers_new_0_1.BagMakers_New.main(BagMakers_New.java:16016)
disconnected
Job BagMakers_New ended at 09:34 01/02/2012.
Can anyone help me out in resolving this error its urgent...
Thanks in Advance,
Sruthi
Anonymous
Not applicable
Author

Hi Sruthi
You'd better upload screenshots of tMap.
Then we can figure out and fix it.
Regards,
Pedro
Anonymous
Not applicable
Author

I have the exactly the same problem and when I executed the workaround the line of code was removed in the files. This post has been a great help.
Anonymous
Not applicable
Author

Sorry to restart the thread.
But I am getting the same error in Talend 5.3.
Checked the component java file, but I dont find anything to be commented on line 91 and 111.
Please help me to resolve this. This has happened suddenly. I didn't face this issue earlier.
Keyur
janhess
Creator II
Creator II

We need more info such as map rule. You are probably doing some java processing on a null value in your map rule.
Anonymous
Not applicable
Author

Thanks for the reply.
It is indeed the case. I have rectified it.
Anonymous
Not applicable
Author

Hey,
I am having the same problem too, how do i solve this error ,
even due the records are saved to the database successfully i just dont like seeing this error and i not sure if it might make the job fail in future .
 
Thanks
chidozie