Skip to content

NumberFormatException on NetCopyConnectionInfo#init #4362

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

Open
amaze-issue-automation bot opened this issue Feb 19, 2025 · 0 comments · May be fixed by #4380
Open

NumberFormatException on NetCopyConnectionInfo#init #4362

amaze-issue-automation bot opened this issue Feb 19, 2025 · 0 comments · May be fixed by #4380
Assignees
Labels
Area-SMB Related to SMB connections. From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating.

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: Amaze File Manager
  • Package: com.amaze.filemanager
  • Version: 3.10
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux
    OPPO/CPH1989/OP4C4BL1:11/RP1A.200720.011/1626013598608:user/release-keys 11
  • Device: OP4C4BL1
  • Model: CPH1989
  • Product: CPH1989
Crash log

java.lang.NumberFormatException: For input string: "2109775003564"
at java.lang.Integer.parseInt(Integer.java:618)
at java.lang.Integer.parseInt(Integer.java:650)
at
com.amaze.filemanager.filesystem.ftp.NetCopyConnectionInfo.<init>(NetCopyConnectionInfo.kt:108)
at com.amaze.filemanager.utils.smb.SmbUtil.buildPath(SmbUtil.kt:80)
at
com.amaze.filemanager.utils.smb.SmbUtil.getSmbEncryptedPath(SmbUtil.kt:67)
at
com.amaze.filemanager.filesystem.ftp.NetCopyClientUtils.encryptFtpPathAsNecessary(NetCopyClientUtils.kt:124)
at
com.amaze.filemanager.ui.dialogs.SftpConnectDialog.authenticateAndSaveSetup(SftpConnectDialog.kt:638)
at
com.amaze.filemanager.ui.dialogs.SftpConnectDialog.authenticateAndSaveSetup$default(SftpConnectDialog.kt:632)
at
com.amaze.filemanager.ui.dialogs.SftpConnectDialog.positiveButtonForFtp(SftpConnectDialog.kt:362)
at
com.amaze.filemanager.ui.dialogs.SftpConnectDialog.handleOnPositiveButton$lambda$11(SftpConnectDialog.kt:354)
at
com.amaze.filemanager.ui.dialogs.SftpConnectDialog.$r8$lambda$woOUePOEFOZDDZljdTqdtTZpbR4(Unknown
Source:0)
at
com.amaze.filemanager.ui.dialogs.SftpConnectDialog$$ExternalSyntheticLambda9.onClick(Unknown
Source:4)
at
com.afollestad.materialdialogs.MaterialDialog.onClick(MaterialDialog.java:410)
at android.view.View.performClick(View.java:7575)
at android.view.View.performClickInternal(View.java:7531)
at android.view.View.access$3900(View.java:842)
at android.view.View$PerformClick.run(View.java:28866)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:264)
at android.app.ActivityThread.main(ActivityThread.java:8312)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)


@amaze-issue-automation amaze-issue-automation bot added the From-Email This is from an email, probably lacking replication info label Feb 19, 2025
@VishnuSanal VishnuSanal changed the title Crash reported by osoi NumberFormatException on NetCopyConnectionInfo#init Feb 21, 2025
@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Feb 21, 2025
@EmmanuelMess EmmanuelMess added the Area-SMB Related to SMB connections. label Mar 22, 2025
@TranceLove TranceLove self-assigned this Apr 6, 2025
TranceLove added a commit that referenced this issue Apr 6, 2025
TranceLove added a commit that referenced this issue Apr 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-SMB Related to SMB connections. From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants