The Artima Developer Community
Sponsored Link

Java Answers Forum
NullPointerException

2 replies on 1 page. Most recent reply: Dec 5, 2005 11:57 AM by Jaelyn

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Jaelyn

Posts: 6
Nickname: tarheel
Registered: Sep, 2005

NullPointerException Posted: Dec 4, 2005 5:53 PM
Reply to this message Reply
Advertisement
I have a GUI that has an open dialong box. Every time that I try to open a file I get a NullPointerException. How do I fix it.


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: NullPointerException Posted: Dec 4, 2005 10:41 PM
Reply to this message Reply
> I have a GUI that has an open dialong box. Every time
> that I try to open a file I get a NullPointerException.
> How do I fix it.

Stick some printlns in your program to try to figure out
where you program is crashing then post the section of
code that causes your program to crash here and we'll
work from there...

Jaelyn

Posts: 6
Nickname: tarheel
Registered: Sep, 2005

Re: NullPointerException Posted: Dec 5, 2005 11:57 AM
Reply to this message Reply
Thanks, but I fixed the problem this morning.

Flat View: This topic has 2 replies on 1 page
Topic: Help Cleaning Code Previous Topic   Next Topic Topic: JSP/Servlets newbie question

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use