l3ger0j / Questopia

Android fork port of Quest Soft Player
Apache License 2.0
16 stars 2 forks source link

`Fix Me!` RuntimeException in GameActivity #32

Closed ghost closed 5 months ago

ghost commented 6 months ago

Sentry Issue: ANDROID-5

NullPointerException: Attempt to invoke virtual method 'android.net.Uri androidx.documentfile.provider.a.l()' on a null object reference
    at org.qp.android.ui.game.GameActivity.onCreate
    at org.qp.android.ui.game.GameActivity.onCreate
    gameViewModel = new ViewModelProvider(this).get(GameViewModel.class);
...
(24 additional frame(s) were not displayed)

InvocationTargetException: None
    at org.qp.android.ui.game.GameActivity.onCreate
    at org.qp.android.ui.game.GameActivity.onCreate
    gameViewModel = new ViewModelProvider(this).get(GameViewModel.class);
...
(22 additional frame(s) were not displayed)

RuntimeException: Cannot create an instance of class o6.v
    at org.qp.android.ui.game.GameActivity.onCreate
    at org.qp.android.ui.game.GameActivity.onCreate
    gameViewModel = new ViewModelProvider(this).get(GameViewModel.class);
...
(20 additional frame(s) were not displayed)

RuntimeException: Unable to start activity ComponentInfo{org.qp.android/org.qp.android.ui.game.GameActivity}: java.lang.RuntimeException: Cannot create an instance of class o6.v
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3833)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3970)
    at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
...
(8 additional frame(s) were not displayed)