Re: Null pointer exception with Java 1.4.2, ok with 1.5
From: Andrew Thompson (SeeMySites_at_www.invalid)
Date: 11/27/04
- Next message: VK: "Re: transmit gprs-data (from mobile to server)"
- Previous message: Bill_Richie: "OOP question. Are these Objects right?"
- In reply to: Luke: "Null pointer exception with Java 1.4.2, ok with 1.5"
- Next in thread: Luke: "Re: Null pointer exception with Java 1.4.2, ok with 1.5"
- Reply: Luke: "Re: Null pointer exception with Java 1.4.2, ok with 1.5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 27 Nov 2004 13:30:00 GMT
On Sat, 27 Nov 2004 12:05:14 GMT, Luke wrote:
> I'm working on an image applet, and I've developed an object from
> JPanel to show images... this is the simple code:
You're problem is pretty obvious from the code and stacktrace
you posted, but it is an important skill to be able to debug
code yourself.
I'll give you a hint...
<hint>
Ingore everything in the stacktrace except the first line
identifying the error, and the line that refers to your code.
</hint>
Then have a look over this description of how to proceed.
<http://www.physci.org/codes/javafaq.jsp#exact>
Come back to us with your 'best explanation' of what is happening.
-- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane
- Next message: VK: "Re: transmit gprs-data (from mobile to server)"
- Previous message: Bill_Richie: "OOP question. Are these Objects right?"
- In reply to: Luke: "Null pointer exception with Java 1.4.2, ok with 1.5"
- Next in thread: Luke: "Re: Null pointer exception with Java 1.4.2, ok with 1.5"
- Reply: Luke: "Re: Null pointer exception with Java 1.4.2, ok with 1.5"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|