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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Twebserviceinput giving NUllpointer exception

Hi,

I have a simple webservice whihc gives me an xml output .There are 7 INPUTSto be given to the  webservice input along with username password also ,where i had used tfixedflowinput component,connected tfolwtoiterate component and then conncted twebserviceinput given the WSDL and called the 7 inputs in parameters section.The menthod which request to be raised is also given and also the proxy setting are given.When i run i am nullpointer exception though i had hardcoded the values.testes the values by displaying using java component.Request you to please help in this regard what would had went wrong.

 

ERROR:

 

Exception in component tWebServiceInput_1
java.lang.NullPointerException
at org.talend.DynamicInvoker.main(DynamicInvoker.java:129)
at demo.j_webservice_0_1.j_webservice.tFixedFlowInput_1Process(j_webservice.java:990)
at demo.j_webservice_0_1.j_webservice.runJobInTOS(j_webservice.java:1486)
at demo.j_webservice_0_1.j_webservice.main(j_webservice.java:1343)

 

Scre0683p000009LuqJ.pngWebservice conponent properties0683p000009Luml.pngJob design

 

I had tried the same web service through SOAPUI which is giving me the response ..Also the same job works with some public Web-service .

Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

After changing JRE and JDK settings,the exception turned out to be as output as null.

View solution in original post

8 Replies
Anonymous
Not applicable
Author

Hi,

tWebServiceInput component is generally used as a Start component. Could you please use tWebService component in your work flow instead to see if it works?

Best regards

Sabrina

 
Anonymous
Not applicable
Author

We tried using twebservice also ,we are getting the same error.

vapukov
Master II
Master II

first run it debug mode and check all 7 variables

 

 

if debug mode will not print variables - add second FixedFlowInput component and print (tLogRow) them manually

Anonymous
Not applicable
Author

I ran in debug mode also,7 variables are displayed at fixedflowoutput.and the webservice component is giving null .

I tried to use advance java option in webservice component and use System.output.ptinln to check if the values are reaching that component thru tflowiterate.it displayed correctly all the 7 variables.but the output from webservice is null.
Anonymous
Not applicable
Author

0683p000009LucG.png

 

Screenshot attached for debug mode run

vapukov
Master II
Master II

and sorry - where on this screenshot NullPointer exception? 🙂

Anonymous
Not applicable
Author

After changing JRE and JDK settings,the exception turned out to be as output as null.
Anonymous
Not applicable
Author

Hi, What changes you had done to resolve the Null pointer exception