Crash caused by empty value in Gold field
Closed this issue · 0 comments
tsiemens commented
Affects version: 2.0
Device: Galaxy Tab 3
Android Version: 4.1
Can reproduce
Go to inventory page, delete all characters in gold field, switch to another tab.
Crashes app
User report:
java.lang.NumberFormatException: Invalid double: ""
at java.lang.StringToReal.invalidReal(StringToReal.java:63)
at java.lang.StringToReal.parseDouble(StringToReal.java:248)
at java.lang.Double.parseDouble(Double.java:295)
at com.lateensoft.pathfinder.toolkit.views.character.PTCharacterInventoryFragment.onPause(PTCharacterInventoryFragment.java:74)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
at android.app.FragmentManagerImpl.removeFragment(FragmentManager.java:1129)
at android.app.BackStackRecord.run(BackStackRecord.java:592)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1401)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:426)
at android.os.Handler.handleCallback(Handler.java:615)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4949)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1043)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:810)
at dalvik.system.NativeStart.main(Native Method)