Top "Nullpointerexception" questions

The Java exception thrown when an application attempts to use null in a case where an object is required.

Posting JSON data with Groovy's HTTPBuilder

I've found this doc on how to post JSON data using HttpBuilder. I'm new to this, but it is very …

json post groovy nullpointerexception httpbuilder
Null pointer Exception - findViewById()

Can anyone help me to find out what can be the issue with this program. In the onCreate() method the …

android nullpointerexception oncreate findviewbyid
Load Excel data sheet to Oracle database

I am looking for a free tool to load Excel data sheet into an Oracle database. I tried the Oracle …

excel database oracle nullpointerexception migrate
java.lang.NullPointerException: println needs a message

I get the errror: java.lang.NullPointerException: println needs a message when I call this method: lst_info = new HashMap&…

android nullpointerexception hashmap println
Android SDK Content Loader failing with NullPointerException

I've just recently started getting an error any time I interact with the Android SDK and AVD Manager in Eclipse …

android nullpointerexception avd
Is it a bad idea if equals(null) throws NullPointerException instead?

The contract of equals with regards to null, is as follows: For any non-null reference value x, x.equals(null) …

java null equals nullpointerexception
NullPointerException when Creating an Array of objects

I have been trying to create an array of a class containing two values, but when I try to apply …

java arrays nullpointerexception
Java getClass().getResource("file") leads to NullPointerException

I am following the zetcode Snake java games tutorial and always get this error: ImageIcon iid = new ImageIcon(this.getClass().…

java nullpointerexception embedded-resource imageicon
parseSdkContent failed Could not initialize class android.graphics.Typeface

When I open layout editor, eclipse is giving this error: parseSdkContent failed Could not initialize class android.graphics.Typeface And …

android eclipse android-layout nullpointerexception
How to add a SearchWidget to the ActionBar?

I'm trying to add a Search-ActionView to my application (as explained here http://developer.android.com/guide/topics/search/search-dialog.…

android nullpointerexception android-actionbar searchview