java.lang.NullPointerException: println needs a message

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: println needs a message
at android.util.Log.println_native(Native Method)
at android.util.Log.w(Log.java:225)
at com.example.gcmmanager.GCMSendMessage.getJson(GCMSendMessage.java:193)
at com.example.gcmmanager.GCMSendMessage.onCreate(GCMSendMessage.java:74)
at android.app.Activity.performCreate(Activity.java:5206)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)

Users with the same issue

2 times, 8 months ago
70 times, 1 month ago
40 times, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 5 months ago
3 times, 7 months ago
19 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.