File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes array problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "array problem" Watch "array problem" New topic
Author

array problem

A. Wolf
Ranch Hand

Joined: Sep 28, 2003
Posts: 57
I made my own class called "NameLocation" that can store 2 String variables via a
public void setVars(String,String) method.
If I say:

the NameLocation class does what its supposed to do and everything is happy
but, if I say:

I am eagerly awaited by my console with a NullPointerException
Help! What am I overlooking??? (love those "Graemlins")
chi Lin
Ranch Hand

Joined: Aug 24, 2001
Posts: 348
I think you are missing something in between like

A. Wolf
Ranch Hand

Joined: Sep 28, 2003
Posts: 57
I think you are right...
Thank You!
 
jQuery in Action, 2nd edition
 
subject: array problem