Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NativePageTransitions.getBitmap crash #190

Open
faytekin opened this issue Nov 4, 2022 · 0 comments
Open

NativePageTransitions.getBitmap crash #190

faytekin opened this issue Nov 4, 2022 · 0 comments

Comments

@faytekin
Copy link

faytekin commented Nov 4, 2022

Hello,

We performed Android 12 upgrade in an application where we used the plugin and we could not reproduce the crash. But we are constantly getting the following error in the Google Play Console.

How can I fix the crash?

Stack trace

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference
  at android.graphics.Bitmap.createBitmap (Bitmap.java:814)
  at com.telerik.plugins.nativepagetransitions.NativePageTransitions.getBitmap (NativePageTransitions.java:724)
  at com.telerik.plugins.nativepagetransitions.NativePageTransitions.access$400 (NativePageTransitions.java:27)
  at com.telerik.plugins.nativepagetransitions.NativePageTransitions$4.run (NativePageTransitions.java:276)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:211)
  at android.os.Looper.loop (Looper.java:300)
  at android.app.ActivityThread.main (ActivityThread.java:8279)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:576)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1074)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant