Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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
Support
Support

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