Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberFormatException #23

tianxiaogu opened this Issue Oct 30, 2017 · 0 comments


None yet
1 participant
Copy link

tianxiaogu commented Oct 30, 2017

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
// 	at
// 	at
// 	at$H.handleMessage(
// 	at android.os.Handler.dispatchMessage(
// 	at android.os.Looper.loop(
// 	at
// 	at java.lang.reflect.Method.invoke(Native Method)
// 	at$
// 	at
// Caused by: java.lang.NumberFormatException: Invalid int: "3rv1xg
// "
// 	at java.lang.Integer.invalidInt(
// 	at java.lang.Integer.parse(
// 	at java.lang.Integer.parseInt(
// 	at java.lang.Integer.parseInt(
// 	at org.xposeddownloader.MainActivity.setRecurringAlarm(
// 	at org.xposeddownloader.MainActivity.setAlarm(
// 	at org.xposeddownloader.MainActivity.onActivityResult(
// 	at
// 	at
// 	... 9 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.