File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exception error

 
mj zammit
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i come to doing the following code:



i get the following error:
Exception: java.lang.NullPointerException

what does this mean?
 
Joe Ess
Bartender
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a continuation of your previous topic?
NullPointerException means you tried to invoke a method on an object reference that has not been initialized. If you print the exception stack trace (there's a method in Exception that does it) it will tell you what line the exception occurred on.
 
mj zammit
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes yes it does continue from the previous topic.
I found out why it was not outputting the results
now i am trying to fix it...
I shall try out what you have suggested...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic