Skip to main content
Announcements
Join us on Sept. 17 to hear how our new GenAI Assistant empowers data professionals: REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
PMurari1675362631
Contributor
Contributor

java.lang.NullPointerException while connecting snowflake with using user defined Java routine

Hello,

We are using user defined encryption and decryption java routine and calling it in tmap, it's working fine but when we open snowflake connection within job, it's throwing "NullPonter Exception" error.

The Bonnycastle libraries that being used in java code not supporting snowflake connection. 

Please find attached job and log and let me know if you need anything else.

Thanks

Labels (3)
3 Replies
Anonymous
Not applicable

Hello @Prasad Murari​ ,

To help us understand your issue, could you please give a snapshot of the issue and provide the job execution error log for more investigation? thanks a lot

Anonymous
Not applicable

I don't see any relationship between tDBConnection (snowflake connection) and the subjob you use the java routine, if you deactivate the subjob (starting from tFileInputDelimited_7) and only keep tDBConnection component in the job, run the job again and let us know if you have the same error?

 

PMurari1675362631
Contributor
Contributor
Author

It will work if only tDBConnection but when we keep it and run the flow it thrown error, see another example below it trying to brings the data from snowflake and loads into file but it thrown same error.

Basically, whenever it uses snowflake connection component, its giving same error. Our observation is uses of Bonnycastle libraries in java routine ne causing it ?

 

0695b00000ch6CpAAI.png