xposed_downloader
xposed_downloader copied to clipboard
NumberFormatException
parseInt may throw an exception if the input String is invalid, e.g., 3rv1xg.
// CRASH: org.xposeddownloader (pid 8159) (elapsed nanos: 10981781322899)
// Short Msg: java.lang.NumberFormatException
// Long Msg: java.lang.NumberFormatException: Invalid int: "3rv1xg
// Build Label: google/hammerhead/hammerhead:6.0.1/M4B30Z/3437181:user/release-keys
// Build Changelist: 3437181
// Build Time: 1478203422000
// java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=99, result=0, data=null} to activity {org.xposeddownloader/org.xposeddownloader.MainActivity}: java.lang.NumberFormatException: Invalid int: "3rv1xg
// "
// at android.app.ActivityThread.deliverResults(ActivityThread.java:3699)
// at android.app.ActivityThread.handleSendResult(ActivityThread.java:3742)
// at android.app.ActivityThread.-wrap16(ActivityThread.java)
// at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
// at android.os.Handler.dispatchMessage(Handler.java:102)
// at android.os.Looper.loop(Looper.java:148)
// at android.app.ActivityThread.main(ActivityThread.java:5417)
// 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.NumberFormatException: Invalid int: "3rv1xg
// "
// at java.lang.Integer.invalidInt(Integer.java:138)
// at java.lang.Integer.parse(Integer.java:410)
// at java.lang.Integer.parseInt(Integer.java:367)
// at java.lang.Integer.parseInt(Integer.java:334)
// at org.xposeddownloader.MainActivity.setRecurringAlarm(MainActivity.java:173)
// at org.xposeddownloader.MainActivity.setAlarm(MainActivity.java:165)
// at org.xposeddownloader.MainActivity.onActivityResult(MainActivity.java:94)
// at android.app.Activity.dispatchActivityResult(Activity.java:6456)
// at android.app.ActivityThread.deliverResults(ActivityThread.java:3695)
// ... 9 more
//