When I was testing my project, I got a null pointer exception.
Ans:
Because it was not set/sent through params in jmeter. So it is getting null. But when I want to convert it to long. It gives null pointer exception.
What I have done?
In DTO file, I just set it as 0. It solves my issue.
/* locationTimestampDetected */
private Long ltd = 0l;
Ans:
Because it was not set/sent through params in jmeter. So it is getting null. But when I want to convert it to long. It gives null pointer exception.
What I have done?
In DTO file, I just set it as 0. It solves my issue.
/* locationTimestampDetected */
private Long ltd = 0l;
No comments:
Post a Comment