Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
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