You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I still think, that it is bug in libgdx. Initialization of graphics = new AndroidGraphics() is much before
Gdx.graphics = this.getGraphics();
When AndroidGraphics, its register itself as view.setRenderer(this);
We experience few strange crashes reported through google play console. It looks like some events come faster thant setting Gdx.graphics Gdx.app etc.
Exception java.lang.NullPointerException: Attempt to invoke interface method 'com.badlogic.gdx.Graphics com.badlogic.gdx.Application.getGraphics()' on a null object reference
com.badlogic.gdx.backends.android.AndroidMouseHandler.onGenericMotion (AndroidMouseHandler.java:62)
com.badlogic.gdx.backends.android.AndroidInputThreePlus.onGenericMotion (AndroidInputThreePlus.java:47)
android.view.View.dispatchGenericMotionEventInternal (View.java:7882)
android.view.View.dispatchGenericMotionEvent (View.java:7869)
android.view.ViewGroup.dispatchTransformedGenericPointerEvent (ViewGroup.java:1862)
android.view.ViewGroup.dispatchHoverEvent (ViewGroup.java:1606)
android.view.View.dispatchGenericMotionEvent (View.java:7859)
android.view.ViewGroup.dispatchTransformedGenericPointerEvent (ViewGroup.java:1862)
android.view.ViewGroup.dispatchHoverEvent (ViewGroup.java:1606)
android.view.View.dispatchGenericMotionEvent (View.java:7859)
android.view.ViewGroup.dispatchTransformedGenericPointerEvent (ViewGroup.java:1862)
android.view.ViewGroup.dispatchHoverEvent (ViewGroup.java:1606)
android.view.View.dispatchGenericMotionEvent (View.java:7859)
android.view.ViewGroup.dispatchTransformedGenericPointerEvent (ViewGroup.java:1862)
android.view.ViewGroup.dispatchHoverEvent (ViewGroup.java:1606)
android.view.ViewGroup.exitHoverTargets (ViewGroup.java:1688)
android.view.ViewGroup.dispatchDetachedFromWindow (ViewGroup.java:2689)
android.view.ViewRootImpl.dispatchDetachedFromWindow (ViewRootImpl.java:3207)
android.view.ViewRootImpl.doDie (ViewRootImpl.java:5818)
android.view.ViewRootImpl.die (ViewRootImpl.java:5791)
android.view.WindowManagerGlobal.removeViewLocked (WindowManagerGlobal.java:348)
android.view.WindowManagerGlobal.removeView (WindowManagerGlobal.java:303)
android.view.WindowManagerImpl.removeViewImmediate (WindowManagerImpl.java:84)
android.app.ActivityThread.handleDestroyActivity (ActivityThread.java:3725)
android.app.ActivityThread.access$1400 (ActivityThread.java:151)
android.app.ActivityThread$H.handleMessage (ActivityThread.java:1374)
android.os.Handler.dispatchMessage (Handler.java:110)
android.os.Looper.loop (Looper.java:193)
android.app.ActivityThread.main (ActivityThread.java:5292)
java.lang.reflect.Method.invokeNative (Method.java)
java.lang.reflect.Method.invoke (Method.java:515)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:824)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:640)
dalvik.system.NativeStart.main (NativeStart.java)
The text was updated successfully, but these errors were encountered: