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


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 eng
, 2 years ago
println needs a message
via Stack Overflow by Unknown author, 2 years ago
via GitHub by virus-warnning
, 1 year ago
println needs a message
via Stack Overflow by Metallicraft
, 2 years ago
java.lang.NullPointerException: println needs a message
at android.util.Log.println_native(Native Method)
at android.util.Log.e(
at com.informaticsint.claimassistant.handlers.DatabaseHandler.getAssignment(
at com.informaticsint.claimassistant.AssignmentDetailsActivity.selectItem(
at com.informaticsint.claimassistant.AssignmentDetailsActivity.access$800(
at com.informaticsint.claimassistant.AssignmentDetailsActivity$DrawerItemClickListener.onItemClick(
at android.widget.AdapterView.performItemClick(
at android.widget.AbsListView.performItemClick(
at android.widget.AbsListView$
at android.widget.AbsListView$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(

Users with the same issue

Once, 1 month ago
70 times, 3 months ago
40 times, 7 months ago
3 times, 9 months ago
2 times, 10 months ago

Write tip

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