Exception java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData$Item android.content.ClipData.getItemAt(int)' on a null object reference
at plugin.pasteboard.ClipboardListener.setNewPasteboardItem (ClipboardListener.java:31)
at plugin.pasteboard.ClipboardListener.access$200 (ClipboardListener.java:18)
at plugin.pasteboard.ClipboardListener$1.run (ClipboardListener.java:65)
at android.os.Handler.handleCallback (Handler.java:958)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8919)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
Describe the bug Getting Crash Reports from Google for the plugin.pasteboard
This is with the very latest Solar2d Build. App submitted to the App store last week.
We cannot reproduce on our devices.
This is the crash report: -
plugin.pasteboard.ClipboardListener.setNewPasteboardItem
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ClipData$Item android.content.ClipData.getItemAt(int)' on a null object reference at plugin.pasteboard.ClipboardListener.setNewPasteboardItem (ClipboardListener.java:31) at plugin.pasteboard.ClipboardListener.access$200 (ClipboardListener.java:18) at plugin.pasteboard.ClipboardListener$1.run (ClipboardListener.java:65) at android.os.Handler.handleCallback (Handler.java:958) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loopOnce (Looper.java:230) at android.os.Looper.loop (Looper.java:319) at android.app.ActivityThread.main (ActivityThread.java:8919) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:578) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)