I got a NullPointerException. How do I fix it?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Alex_Chaffee
Posted On:   Wednesday, November 20, 2002 05:38 PM

Answer:



Whenever you get a null pointer exception, it's because you tried to access an object whose value was null.



So figure out what line it was on, look at what object you were accessing, and then figure out why it was null.



Easy!



(TODO: example)

Re: I got a NullPointerException. How do I fix it?

Posted By:   Simon_Ablett  
Posted On:   Thursday, November 21, 2002 04:41 AM

And the point of this posting was....?
About | Sitemap | Contact