+ 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???
2 Respuestas
+ 1
Without see the code we can't help you. Maybe your connection is getting null.
+ 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.