java.lang.NullPointerException: println needs a message

try as:

Log.d("sql_id"," " + cursor.getString(0));

instead of

Log.d("sql_id", cursor.getString(0));

beacuse maybe you are passing second parameter in Log.d empty or null


Maybe when you call

Log.d("sql_id", cursor.getString(0)); 

cursor.getString(0) returns null, and then it crashes.

Try :

if(cursor.getString(0) != null) {
    Log.d("sql_id", cursor.getString(0)); 
}

Otherwise, show us: de.bodprod.dkr.BosLstDetailMap.onCreate(BosLstDetailMap.java:43)