+ 1

NullPointerException: Getting this error in my projects while entering data or retrieving data from database?

This problem occurs when i insert data through html form and retrieving data from database. Although all the values I'm getting properly no values contains null but still getting this error don't know why please provide me solution if you have???

21st Apr 2020, 6:59 AM
Rajeev Loghade
Rajeev Loghade - avatar
2 ответов
+ 1
Without see the code we can't help you. Maybe your connection is getting null.
21st Apr 2020, 7:02 AM
A͢J
A͢J - avatar
+ 1
NullPointerException pertains to an object. Check your error again and see which object is being referenced for this error. This means that the object doesn't exist when trying to access it. In other words the variable hasn't been instantiated or given a value.
21st Apr 2020, 7:18 AM
ChaoticDawg
ChaoticDawg - avatar