File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Query on null pointer Exception

akshitha Akki

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

Joined: Oct 14, 2005
Posts: 19973

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.)
I agree. Here's the link:
subject: Query on null pointer Exception
It's not a secret anymore!