Skip to content

App crash when trying to generate long password. #19

@dzami

Description

@dzami

EXPECTED BEHAVIOR
The users should be able to generate a long password to make more security on this app.

ACTUAL BEHAVIOR
when trying to generate a long password about ten digits then the app getting crashed clearly.

HOW TO REPRODUCE
● Install the app on playstore
● open the app and just fill some required in there
●then trying to generate password about ten digits
●and the app getting crashed
Browser: puff password manager version: 1.2
Device info: android 7.0

BUG RECORDING
https://youtu.be/VGnQHd3pZB8

LOGCATS

Process: sun.bob.leela, PID: 16517
java.lang.NumberFormatException: Invalid int: "12345678910"
	at java.lang.Integer.invalidInt(Integer.java:138)
	at java.lang.Integer.parse(Integer.java:413)
	at java.lang.Integer.parseInt(Integer.java:367)
	at java.lang.Integer.parseInt(Integer.java:334)
	at java.lang.Integer.valueOf(Integer.java:525)
	at sun.bob.leela.ui.fragments.SecureStepIntro.getLength(SecureStepIntro.java:36)
	at sun.bob.leela.ui.activities.PasswordGenActivity.willLeaveSlide(PasswordGenActivity.java:113)
	at com.heinrichreimersoftware.materialintro.app.IntroActivity.nextSlide(IntroActivity.java:219)
	at com.heinrichreimersoftware.materialintro.app.IntroActivity$2.onClick(IntroActivity.java:197)
	at android.view.View.performClick(View.java:4791)
	at android.view.View$PerformClick.run(View.java:19884)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5376)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:947)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:742)```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions