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

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
abhinav5
Contributor
Contributor

how to read list return from method in dll using tDotNETRow

I am trying to read list<String> return from method in dll ,but got error in transforming datatype. Stacktrace is

Exception in component tDotNETRow_1 (DllUtility)
java.lang.NullPointerException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.talend.net.Object$Helper.convert(Object.java:141)
at org.talend.net.Object.invokeGeneric(Object.java:517)
at talend_poc.dllutility_0_1.DllUtility.tDotNETRow_1Process(DllUtility.java:721)
at talend_poc.dllutility_0_1.DllUtility.tDotNETInstantiate_1Process(DllUtility.java:403)
at talend_poc.dllutility_0_1.DllUtility.runJobInTOS(DllUtility.java:1096)
at talend_poc.dllutility_0_1.DllUtility.main(DllUtility.java:946)

 

Please let me know how we can display this list or export in file. 

Labels (2)
3 Replies
fdenis
Master
Master

for nullpointer run your job step by step to isolate error on java code.
abhinav5
Contributor
Contributor
Author

Hi @fdenis

Have you tried tdotnetcomponent in which method returns list type. could not able to find any example like that. 

Thanks,

Abhinav

fdenis
Master
Master

no I do not test this component but java.lang.NullPointerException is a typique java error when a variables are not initialised.
variable are sometime due to a non closed string.