java.lang.RuntimeException: Unable to pause activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.RuntimeException: writeValueXml: unable to write value content://com.android.providers.media.documents/document/image%3A49684


Solutions on the web

Solution icon of stackoverflow
Unable to pause activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.RuntimeException: writeValueXml: unable to write value content://com.android.providers.media.documents/document/image%3A49684

Solution icon of coderanch
via Coderanch by L Vasquez, 9 months ago
Unable to pause activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.RuntimeException: writeValueXml: unable to write value content://com.android.providers.media.documents/document/image%3A49684

Solution icon of github
Unable to pause activity {com.edtechfoundry.differ/com.edtechfoundry.differ.MainActivity}: java.lang.IllegalStateException

Solution icon of github
Unable to pause activity {com.mapzen.erasermap/com.mapzen.erasermap.controller.MainActivity}: java.lang.IllegalArgumentException: Service not registered: com.mapzen.android.lost.internal.FusedLocationProviderApiImpl$2@c390cb5

Solution icon of stackoverflow
Unable to pause activity {com.music.track/com.music.track.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.media.MediaPlayer.isPlaying()' on a null object reference

Solution icon of stackoverflow
Unable to pause activity {com.tomhogenkamp.NeonDiscoLight/com.tomhogenkamp.NeonDiscoLight.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.tomhogenkamp.NeonDiscoLight.MyPreferences.getBoolPreferences(java.lang.String, boolean)' on a null object reference

Solution icon of web
Unable to pause activity {com.android.camera/com.android.camera.Camera}: java.lang.RuntimeException: cancelAutoFocus failed

Solution icon of github
Unable to pause activity {com.nextgis.forestinspector/com.nextgis.forestinspector.activity.IndictmentCreatorActivity}: java.lang.NullPointerException

Solution icon of github
Unable to pause activity {com.oakesville.mythling/com.oakesville.mythling.MediaListActivity}: java.util.ConcurrentModificationException

Solution icon of appcelerator
via Appcelerator JIRA by Lokesh Choudhary, 1 year ago
Unable to pause activity {com.app.xalloy/com.app.xalloy.XalloyActivity}: java.lang.NullPointerException

Stack trace

java.lang.RuntimeException: Unable to pause activity {my.package.myapplication/my.package.myapplication.Person1Screen}: java.lang.RuntimeException: writeValueXml: unable to write value content://com.android.providers.media.documents/document/image%3A49684
	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3395)
	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3354)
	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:3329)
	at android.app.ActivityThread.access$1100(ActivityThread.java:157)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1362)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:148)
	at android.app.ActivityThread.main(ActivityThread.java:5477)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.RuntimeException: writeValueXml: unable to write value content://com.android.providers.media.documents/document/image%3A49684
	at com.android.internal.util.XmlUtils.writeValueXml(XmlUtils.java:710)
	at com.android.internal.util.XmlUtils.writeValueXml(XmlUtils.java:620)
	at com.android.internal.util.XmlUtils.writeSetXml(XmlUtils.java:356)
	at com.android.internal.util.XmlUtils.writeValueXml(XmlUtils.java:693)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:300)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:269)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:235)
	at com.android.internal.util.XmlUtils.writeMapXml(XmlUtils.java:192)
	at android.app.SharedPreferencesImpl.writeToFile(SharedPreferencesImpl.java:600)
	at android.app.SharedPreferencesImpl.access$800(SharedPreferencesImpl.java:52)
	at android.app.SharedPreferencesImpl$2.run(SharedPreferencesImpl.java:515)
	at android.app.SharedPreferencesImpl.enqueueDiskWrite(SharedPreferencesImpl.java:536)
	at android.app.SharedPreferencesImpl.access$100(SharedPreferencesImpl.java:52)
	at android.app.SharedPreferencesImpl$EditorImpl.commit(SharedPreferencesImpl.java:458)
	at my.package.myapplication.Person1Screen.onPause(Person1Screen.java:257)
	at android.app.Activity.performPause(Activity.java:6557)
	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1312)
	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3381)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.