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

Samebug tips

  1. ,

    Thrown when an application is trying to use or access an object whose reference equals to null. In this case, the log message cannot be null.

Solutions on the web

via Stack Overflow by sunskin
, 2 years ago
via Stack Overflow by Sun
, 2 years ago
via Stack Overflow by kom
, 2 years ago
println needs a message
via gotoanswer.com by Unknown author, 2 years ago
via Stack Overflow by mdanishs
, 2 years ago
java.lang.NullPointerException: println needs a message	at android.util.Log.println_native(Native Method)	at android.util.Log.d(Log.java:154)	at com.example.android.prototypeapp.MainActivity$1$override.onClick(MainActivity.java:41)	at com.example.android.prototypeapp.MainActivity$1$override.access$dispatch(MainActivity.java)	at com.example.android.prototypeapp.MainActivity$1.onClick(MainActivity.java:0)	at android.view.View.performClick(View.java:5264)	at android.view.View$PerformClick.run(View.java:21297)	at android.os.Handler.handleCallback(Handler.java:743)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:150)	at android.app.ActivityThread.main(ActivityThread.java:5546)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)