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: 
Anonymous
Not applicable

tWebservice: Nullpointer exception

Hi all,

 

the problem described here https://community.talend.com/t5/Design-and-Development/resolved-tWebservice-nullpointer-exception/td... is not solved for me at all. I'm still getting a nullpointer exception when I try to run the talend example job for the tWebservice component.

 

Exception in component tWebService_1
java.lang.NullPointerException
    at org.apache.cxf.common.util.Compiler.useJava6Compiler(Compiler.java:190)
    at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:144)
    at org.apache.cxf.common.util.Compiler.compileFiles(Compiler.java:139)

Like suggested in previous posts, I switched to Java JDK 6 (u45) with no improvements (same error). I'm using talend open studio 6.4.0 on Windows 10.

 

Could you please help!

 

Kind regards

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi TalendDIUser

I have tested the scenario Getting country names trhrough a web service in the component document and it works. Below is my JRE configuration in preferences page.

0683p000009LuFJ.png0683p000009Lud4.png

As I suggested, have a try to copy the jar file tools.jar from <jdk installation dir>/lib to <jre installation dir>/lib, let me know if it works.

 

Regards

Shong

 

View solution in original post

14 Replies
vapukov
Master II
Master II

First of all - JDK6(!!!) it was actual in 2013 and may be 2015 .. 

 

Talend newer than 6.4 require 1.8

 

please attach Your screenshots , because at least in last part of previous thread - error do not have nothing common with Java version 

 

regards, Vlad

Anonymous
Not applicable
Author

I am also facing the same issue,i posted in the community stil with nohelp0683p000009MPcz.png. Itried using twebserviceinput and twebservice and setting the JDK path etc.

 

Also tried with tsoap component also, no luck,But tht is giving a different error.Please help wht might be gng wrong.Screenshots are mentioned in the post "Twebserviceinput-giving-NUllpointer-exception"

 

 

Anonymous
Not applicable
Author

Hello sanjana
Try to copy the jar file tools.jar from <JDK installation dir>/lib to <JRE installation dir>/lib.
Let me know if it works.

Regards
Shong
vapukov
Master II
Master II


@sanjana wrote:

I am also facing the same issue,i posted in the community stil with nohelp0683p000009MPcz.png. Itried using twebserviceinput and twebservice and setting the JDK path etc.

 

Also tried with tsoap component also, no luck,But tht is giving a different error.Please help wht might be gng wrong.Screenshots are mentioned in the post "Twebserviceinput-giving-NUllpointer-exception"

 

 


do You try to do suggested by Sabrina?

Anonymous
Not applicable
Author

yes vapukov  i did tried it long back only mapping the ports,but still the same error

Anonymous
Not applicable
Author

Shong,

 

After dng this shd i set the jre path in prefereneces/talend/java-jre path? 

Anonymous
Not applicable
Author

After dng this instead of job getting failed with null pointer exception,the ouput is displayed as null in tlogrow .
tarting job j_webservice at 10:18 08/06/2017.

[statistics] connecting to socket on port 3714
[statistics] connected
.----------------------------.
| #1. tLogRow_1 |
+--------------------+-------+
| key | value |
+--------------------+-------+
| GetTrackingDataXML | null |
+--------------------+-------+
Anonymous
Not applicable
Author

Hi sanjana
Can you paste the link of tutorial which you are practicing? I will check and test it.
Anonymous
Not applicable
Author

Shong,

 

This is not somehting which i am practising,actually ,this is one of the usecase from my project.