• Post Reply Bookmark Topic Watch Topic
  • New Topic

NullPointerException eluding me

 
Steven YaegerII
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a class Grapher2.java that I'm trying to remodel so that it is more OO and less procedural. The other related class is Graph2.java, though I'm getting the NullPointerException from class Grapher2.java. I know that they aren't a very good representation of OOP, but does anyone see where I am messing up?? I thought I was doing something until runtime...
Exception in thread "main" java.lang.NullPointerException
at Grapher2.init(Grapher2.java:22)
at Grapher2.main(Grapher2.java:9)




Appreciatively,
Steve
[This message has been edited by Steven YaegerII (edited April 10, 2001).]
[This message has been edited by Steven YaegerII (edited April 10, 2001).]
[This message has been edited by Steven YaegerII (edited April 10, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!