![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
Exception in thread "main" java.lang.NullPointerExceptionI would like some help with this code i wrote whick keeps bringing me the same error msg, thx in advance:
Exception in thread "main" java.lang.NullPointerException at myproject.Main.epilogiastheni(Main.java:163) at myproject.Main.allagistoixeiwn(Main.java:220) at myproject.Main.main(Main.java:75 Java Result: 1 With this message my program doesnt let me to alter the elements of astheneis when i store them. JAVA Code:
Last edited by LuciWiz : 20-Aug-2009 at 09:05.
Reason: Please insert your Java code between [java] & [/java] tags
|
|||
|
#2
|
||||
|
||||
Re: Exception in thread "main" java.lang.NullPointerExceptionThere are other missing types, so we are unable to compile for verification...
Here's what I get: (after a few other 'tweaks') Code:
EDIT: Here's more information that might help following the callstack: Note1: Remember, bottom->up, that's why the numbering, below, is reversed. Note2: Also, my line# comments might be off, because a moderator had to edit your post, so you'll need to double check the lines in your editor. 3. at myproject.Main.epilogiastheni(Main.java:163) Appears to be here: JAVA Code:
2. at myproject.Main.allagistoixeiwn(Main.java:220) Appears to be here: JAVA Code:
1. at myproject.Main.main(Main.java:758) Appears to be here: JAVA Code:
That's the general idea about following the callstack. Post another reply if needed. __________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! Last edited by TurboPT : 20-Aug-2009 at 21:39.
|
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exception in thread "main" java.lang.NullPointerException | valley1girl | Java Forum | 12 | 18-Jun-2009 13:32 |
| Exception in thread "main" java.lang.NullPointerException | gedcraw555 | Java Forum | 3 | 25-Feb-2008 09:22 |
| Exception in thread "main" java.lang.NullPointerException | Magelloo | Java Forum | 3 | 06-May-2007 00:01 |
| Thread Stopping Exception | Gix | .NET Forum | 12 | 28-Nov-2006 05:30 |
| please help in solving: Exception in thread "main" java.lang.nullpointerexception | vkiran_v | Java Forum | 8 | 09-May-2006 08:06 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The