This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 18541

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.)
subject: Query on null pointer Exception
Similar Threads
java.lang.NoClassDefFoundError: org/dom4j/DocumentException - error encontered
reading xlsx example issue
How to read .xlsx sheet from Client Side using poi 3.5
How do i format a string to date
Error while reading Excel file.