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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by JakeWharton
, 1 year ago
println needs a message
via Stack Overflow by tccpg288
, 1 year ago
via Stack Overflow by tccpg288
, 1 year ago
println needs a message
via Stack Overflow by tccpg288
, 1 year ago
println needs a message
via GitHub by troy21688
, 1 year ago
println needs a message
java.lang.NullPointerException: println needs a message
at android.util.Log.println_native(Native Method)
at android.util.Log.v(Log.java:118)
at com.troychuinard.flickr_test.MainActivity$1$1.onResponse(MainActivity.java:72)
at retrofit2.ExecutorCallAdapterFactory$ExecutorCallbackCall$1$1.run(ExecutorCallAdapterFactory.java:68)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5254)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)

Users with the same issue

Once, 5 hours 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

Write tip

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