aspose file tools*
The moose likes Other Open Source Projects and the fly likes Query on null pointer Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Query on null pointer Exception" Watch "Query on null pointer Exception" New topic
Author

Query on null pointer Exception

akshitha Akki
Greenhorn

Joined: Aug 03, 2012
Posts: 24



I am getting Nullpointer exception. could someone please help in letting me know how to fix it.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18901
    
    8

First step is to find out what line of code is throwing the exception. The stack trace will tell you that -- and I see that your code is printing the stack trace for you.

(This isn't a Scala question, so I'm moving it to a better forum.)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Query on null pointer Exception