Pushwoosh / pushwoosh-flutter

Pushwoosh Flutter Plugin
Other
8 stars 16 forks source link

RuntimeException on Android #47

Closed teknofreek closed 2 years ago

teknofreek commented 2 years ago

Since updating to flutter sdk 2.2.2, there is a new crash being recorded on play store. How to fix?

java.lang.RuntimeException: at android.os.AsyncTask$4.done (AsyncTask.java:415) at java.util.concurrent.FutureTask.finishCompletion (FutureTask.java:383) at java.util.concurrent.FutureTask.setException (FutureTask.java:252) at java.util.concurrent.FutureTask.run (FutureTask.java:271) at android.os.AsyncTask$SerialExecutor$1.run (AsyncTask.java:305) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641) at java.lang.Thread.run (Thread.java:923) Caused by: java.lang.NullPointerException: at com.pushwoosh.repository.y.a (Unknown Source:29) at com.pushwoosh.repository.RepositoryModule$a.a (Unknown Source:12) at com.pushwoosh.repository.RepositoryModule$a.doInBackground (Unknown Source:2) at android.os.AsyncTask$3.call (AsyncTask.java:394) at java.util.concurrent.FutureTask.run (FutureTask.java:266)

wfhm commented 2 years ago

@teknofreek Will be fixed with the next release.

wfhm commented 2 years ago

Fixed in 2.2.3.