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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] tWebservice - nullpointer exception

I'm trying to add a category via webservice to virtuemart.
I receive the following error:
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)
I'm not able to debug this error (or I don't know how).

My job looks like the following pictures:
any ideas?
Thank you!
Regards,
Robert
0683p000009MEVn.png 0683p000009MEVs.png
Labels (3)
24 Replies
Anonymous
Not applicable
Author

Hi,
Here is a response for your related https://community.talend.com/t5/Design-and-Development/error-when-calling-WCF-webservice-with-authen..., could you please check it?
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

For everybody - I found it!
(Talend DI / TDI-25565)
The tWebservice components requires a JDK to work. Please select a JDK java.exe in the Preferences/Talend/Java interpreter in the studio.

Can it not work with jre6 ??
Anonymous
Not applicable
Author

Hi sansri,
You'd better install compatible JDK instead of JRE only  which will probably cause compile error when execute job.
Best regards
Sabrina
Anonymous
Not applicable
Author

Damn! I've just lost a lot of time troubleshooting this issue...
Sabrina, can you please add this information to the installation manual ("Please select a JDK java.exe in the Preferences/Talend/Java interpreter in the studio")?
Anonymous
Not applicable
Author

In my opinion, its weired behavior - use a JRE instead of installed JDK (by default).
It's easier for user to just forget to select appropriate Java variant and waste a lot of time - trying to understand "what's wrong with a (for example) tWebService's configuration which he (she) just made...", while the trouble is not in a component configuration at all.
 
Sabrina, can you please add a feature request for JDK auto-detection, or detection of all available JRE/JDK instances and asking user which of them the talend should use?
Anonymous
Not applicable
Author

Hi Harliff,
Thanks for your suggestion!
Feel free to open a feature jira issue on Talend Bug Tracker.
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks for your suggestion!
Feel free to open a feature jira issue on Talend Bug Tracker.

I've added new feature request: https://jira.talendforge.org/browse/TDI-32643
If there is grammatic mistakes in it - please forgive me, I'm not native English speaker.
Anonymous
Not applicable
Author

For everybody - I found it!
(Talend DI / TDI-25565)
The tWebservice components requires a JDK to work. Please select a JDK java.exe in the Preferences/Talend/Java interpreter in the studio.

God bless you for that!!!!! I've nearly lost any hope! I would be most glad to be helpful if needed (zilbernstein@gmail.com)
Anonymous
Not applicable
Author

Hi guys ,
I tried Java 7 and java 8 (JDK) for windows 10 64 bit .
Can any one advice which version is compatible with windows 10.
Anonymous
Not applicable
Author

Hi amit.dev.d9,
Have you already checked online documents about:TalendHelpCenter:Compatible Operating Systems and TalendHelpCenter:Java?
Best regards
Sabrina