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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
chinmay-lumen
Contributor
Contributor

Getting null pointer exception in tJavaRow while using tRestRequest with different URL patterns

The tRestRequest is called for a particular URL pattern but instead a tJavaRow component is invoked with null values resulting into NPE like :

Exception in component tJava_2 (<job name>) java.lang.NullPointerException

Can anyone please help us to avoid and resolve this issue ?

Labels (1)
  • REST

2 Replies
Shicong_Hong
Employee
Employee

Hi 

Can you post the tJava's code? Need to find out where the error occurred. 

Regards

Shicong

 

chinmay-lumen
Contributor
Contributor
Author

Hi,

Actually I need to avoid call to tJavaRow_2 while the request is for other URL path.

chinmaylumen_0-1719395890571.png

But tJavaRow_2 is invoked and NPE occurs at the very first line.

Thanks,

Chinmay