• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

null pointer exception

 
tomas gussymurphy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am getting a null pointer exception when i try making new objects of applets that happily run on there own. however when i make a new instance of the object in another class file and call its init() method it breaks. any ideas???
 
tomas gussymurphy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
actually here is the code. ignore the imports some are not used.


[ July 19, 2004: Message edited by: Marilyn de Queiroz ]
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which line is the NullPointerException being thrown on?

Are Slide and Description applets?
 
tom MURPHY
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes slide and description are applets. is this a problem?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic