I am getting a really strange error all of a sudden when getting the shared preferences in my app. I have completely removed the app and all data and it just recurs after install - nothing saves in shared preferences after the app is killed, the preferences save in memory but everything is reset each time the app starts. Hence none of the setting for the app are ever saved permanently, which is obviously a problem.
it looks as though something might be corrupt in the shared data area but the problem happens across multiple devices, so it seems to be a software bug. but its a fairly basic thing and it just seem to stop working. has anyone seen this problem before? googling the error doesn't seem to turn up much. The exception stack trace below occurs the first time i call getSharedPreferences in the app ... line 160: settings = this.getSharedPreferences(Globals.PREFS_NAME, 0); W/ApplicationContext( 2955): getSharedPreferences W/ApplicationContext( 2955): org.xmlpull.v1.XmlPullParserException: Map value without name attribute: boolean W/ApplicationContext( 2955): at com.android.internal.util.XmlUtils.readThisMapXml(XmlUtils.java:521) W/ApplicationContext( 2955): at com.android.internal.util.XmlUtils.readThisValueXml(XmlUtils.java:733) W/ApplicationContext( 2955): at com.android.internal.util.XmlUtils.readValueXml(XmlUtils.java:667) W/ApplicationContext( 2955): at com.android.internal.util.XmlUtils.readMapXml(XmlUtils.java:470) W/ApplicationContext( 2955): at android.app.ContextImpl.getSharedPreferences(ContextImpl.java:376) W/ApplicationContext( 2955): at android.content.ContextWrapper.getSharedPreferences(ContextWrapper.java: 146) W/ApplicationContext( 2955): at net.robmunro.mypod.WelcomeActivity.onEWCreate(WelcomeActivity.java: 160) W/ApplicationContext( 2955): at net.robmunro.mypod.AbstractEWActivity.onCreate(AbstractEWActivity.java: 25) W/ApplicationContext( 2955): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java: 1047) W/ApplicationContext( 2955): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 1611) W/ApplicationContext( 2955): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 1663) W/ApplicationContext( 2955): at android.app.ActivityThread.access $1500(ActivityThread.java:117) W/ApplicationContext( 2955): at android.app.ActivityThread $H.handleMessage(ActivityThread.java:931) W/ApplicationContext( 2955): at android.os.Handler.dispatchMessage(Handler.java:99) W/ApplicationContext( 2955): at android.os.Looper.loop(Looper.java: 123) W/ApplicationContext( 2955): at android.app.ActivityThread.main(ActivityThread.java:3683) W/ApplicationContext( 2955): at java.lang.reflect.Method.invokeNative(Native Method) W/ApplicationContext( 2955): at java.lang.reflect.Method.invoke(Method.java:507) W/ApplicationContext( 2955): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:839) W/ApplicationContext( 2955): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597) W/ApplicationContext( 2955): at dalvik.system.NativeStart.main(Native Method) hoping someone has seen it before as i am a bit stumped .... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

