coronalabs / corona

Solar2D Game Engine main repository (ex Corona SDK)
https://solar2d.com/
MIT License
2.54k stars 273 forks source link

ANDROID : runtime bug #727

Open MattCareControl opened 2 months ago

MattCareControl commented 2 months ago

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)