```
java.lang.NullPointerException: println needs a message 
at android.util.Log.println_native(Native Method) 
at android.util.Log.e(Log.java:230) 
at android.sec.clipboard.data.ClipboardDataMgr.addData(ClipboardDataMgr.java:166) 
at com.android.server.sec.InternalClipboardExService.addData(InternalClipboardExService.java:438) 
at com.android.server.sec.InternalClipboardExService.access$300(InternalClipboardExService.java:75) 
at com.android.server.sec.InternalClipboardExService$1.run(InternalClipboardExService.java:389) 
at java.lang.Thread.run(Thread.java:1019)

```

Seem to be getting this quite often in my crash reporting, i can't for the life of my understand how or why or even where its happening? 

The only location im performing anything on the clipboard is to copy data to it, no logging or println of any kind, not to mention i'm choosing the correct methods for the version of OS at runtime so i didnt hit any compat issues.

oh, and the devices range from 2.2 right up to 4.0 OS version

Perhaps relevant code?

```
int currentapiVersion = android.os.Build.VERSION.SDK_INT;
if (currentapiVersion >= android.os.Build.VERSION_CODES.HONEYCOMB) {
    try {
        android.content.ClipboardManager clipboard = (android.content.ClipboardManager) acc
                .getSystemService(Context.CLIPBOARD_SERVICE);
        ClipData clip = ClipData.newPlainText("", b);
        clipboard.setPrimaryClip(clip);
    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
} else {
    try {
        android.text.ClipboardManager clipboard = (android.text.ClipboardManager) acc
                .getSystemService(Context.CLIPBOARD_SERVICE);
        clipboard.setText(b);
    } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
}

```