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

java.lang.NumberFormatException #89

tianxiaogu opened this Issue Nov 2, 2017 · 3 comments


2 participants

tianxiaogu commented Nov 2, 2017

The parseInt at UserSettingsActivity:#261 should handle very large interger.

// CRASH: (pid 6003) (elapsed nanos: 5771939483589)
// Short Msg: java.lang.NumberFormatException
// Long Msg: java.lang.NumberFormatException: Invalid int: "300416523230576771213457683014051600570377573"
// Build Label: Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/4088240:userdebug/test-keys
// Build Changelist: 4088240
// Build Time: 1497047463000
// java.lang.NumberFormatException: Invalid int: "300416523230576771213457683014051600570377573"
// 	at java.lang.Integer.invalidInt(
// 	at java.lang.Integer.parse(
// 	at java.lang.Integer.parseInt(
// 	at java.lang.Integer.parseInt(
// 	at java.lang.Integer.valueOf(
// 	at$onClickListenerOk.onClick(
// 	at android.view.View.performClick(
// 	at android.view.View$
// 	at android.os.Handler.handleCallback(
// 	at android.os.Handler.dispatchMessage(
// 	at android.os.Looper.loop(
// 	at
// 	at java.lang.reflect.Method.invoke(Native Method)
// 	at$
// 	at

@tianxiaogu tianxiaogu changed the title from java.lang.NumberFormatException: Invalid int: "java.lang.NumberFormatException: Invalid int: "300416523230576771213457683014051600570377573"" to java.lang.NumberFormatException Nov 3, 2017

@oliexdev oliexdev added the bug label Nov 8, 2017


This comment has been minimized.


oliexdev commented Nov 8, 2017

How did you end up with such a great number for the user height?

Anyway thanks I fixed it with commit 481eb17

@oliexdev oliexdev closed this Nov 8, 2017


This comment has been minimized.

tianxiaogu commented Nov 8, 2017

Hi @oliexdev, thank you for taking time to fix this issue. I was evaluating my automated GUI testing tool on a set of well-maintained open source apps, and this app is one of them.


This comment has been minimized.


oliexdev commented Nov 8, 2017

ok I understand 😉
well then you will definitely find more bugs in openScale because I didn't really catch all user mistakes...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment