Re: java.lang.NullPointerException
Stanimir Stamenkov <[email protected]> Wed, 03 Mar 2010 15:36:37 +0200
| Newsgroups | gmane.comp.mozilla.devel.java |
|---|---|
| Message-ID | <[email protected]> |
[Cross-posted to mozilla.dev.tech.java, Followup to mozilla.dev.tech.java] Wed, 3 Mar 2010 14:17:20 +0800, /galuschka/: > What's meant about the error msg > > "Error : uncaught exception: java.lang.NullPointerException" It means somewhere in a Java code such an exception has been thrown and hasn't been caught explicitly prior exiting the thread of execution, or it could be caught by an event-handling loop preventing the thread from exit, but nevertheless couldn't do any more sensible handling than logging the exception (and the fact it hasn't been caught prior that, i.e. it appears unexpected). You should get a stack trace giving you exact information where in the code the exception has been thrown. This type [1] of exception is pretty general and could happen in all kind of places for all king of reasons. http://java.sun.com/javase/6/docs/api/java/lang/NullPointerException.html -- Stanimir