Project

General

Profile

Actions

Emulator Issues #13053

closed

Android: Convert Activity will crash on restoration from saved instance state if process was killed

Added by t895 about 2 years ago. Updated about 2 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Android
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-17475

Description

Here's the error. I don't know much about synchronization operations.

java.lang.RuntimeException: Unable to start activity ComponentInfo{org.dolphinemu.dolphinemu.debug/org.dolphinemu.dolphinemu.activities.ConvertActivity}: java.lang.NullPointerException: Attempt to do a synchronize operation on a null object
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3676)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3813)
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)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2308)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7898)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
Caused by: java.lang.NullPointerException: Attempt to do a synchronize operation on a null object
at org.dolphinemu.dolphinemu.services.GameFileCacheManager.addOrGet(GameFileCacheManager.java:168)
at org.dolphinemu.dolphinemu.fragments.ConvertFragment.onCreate(ConvertFragment.java:143)
at androidx.fragment.app.Fragment.performCreate(Fragment.java:3090)
at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:475)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:257)
at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:113)
at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1424)
at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2968)
at androidx.fragment.app.FragmentManager.dispatchCreate(FragmentManager.java:2875)
at androidx.fragment.app.FragmentController.dispatchCreate(FragmentController.java:252)
at androidx.fragment.app.FragmentActivity.onCreate(FragmentActivity.java:220)
at org.dolphinemu.dolphinemu.activities.ConvertActivity.onCreate(ConvertActivity.java:35)
at android.app.Activity.performCreate(Activity.java:8290)
at android.app.Activity.performCreate(Activity.java:8269)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1384)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3657)

Actions #1

Updated by t895 about 2 years ago

Tested on build 17403 and used the developer option to disable background activities to trigger the bug.

Actions #2

Updated by JosJuice about 2 years ago

  • Tracker changed from Issue to Emulator Issues
  • Project changed from Infrastructure to Emulator
  • Issue type set to Bug
  • Regression set to No
  • Relates to usability set to No
  • Relates to performance set to No
  • Easy set to No
  • Relates to maintainability set to No
  • Operating system N/A added
Actions #3

Updated by JosJuice about 2 years ago

  • Operating system Android added
  • Operating system deleted (N/A)
Actions #4

Updated by JosJuice about 2 years ago

  • Subject changed from Android: Convert Activity will crash on restoration from saved instance state to Android: Convert Activity will crash on restoration from saved instance state if process was killed
Actions #5

Updated by JosJuice about 2 years ago

  • Status changed from New to Fix pending
Actions #6

Updated by JosJuice about 2 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-17475
Actions

Also available in: Atom PDF