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

FileNotFoundException on first use of 0.7.0 #28

Open
LuccoJ opened this issue Aug 15, 2023 · 3 comments
Open

FileNotFoundException on first use of 0.7.0 #28

LuccoJ opened this issue Aug 15, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@LuccoJ
Copy link

LuccoJ commented Aug 15, 2023

Release from F-Droid running on Android 13.

Steps to reproduce (update: it seems to occur upon hitting Back after deleting the last entered PIN, likely because Back tries to send you right there, instead of leaving the app, which is possiblt not the most desireable behavior in the first place):

  1. Open the app for the first time after installing it
  2. Generate cells, input a new PIN, genete numbers
  3. Save it with a name
  4. Delete the entry you just saved
  5. Hit Back

After this, I get the following error:

java.io.FileNotFoundException: /data/user/0/com.cyb3rko.pincredible/files/p391c30541690b2a65a2d63485: open failed: ENOENT (No such file or directory)
	at libcore.io.IoBridge.open(IoBridge.java:574)
	at java.io.FileInputStream.<init>(FileInputStream.java:160)
	at mh.c(Unknown Source:2)
	at com.cyb3rko.pincredible.fragments.PinViewerFragment.a0(SourceFile:28)
	at com.cyb3rko.pincredible.fragments.PinViewerFragment.c0(SourceFile:71)
	at com.cyb3rko.pincredible.fragments.PinViewerFragment$onViewCreated$1.h(SourceFile:31)
	at s9.b(SourceFile:9)
	at e8.r1(SourceFile:179)
	at e8.R1(SourceFile:12)
	at e8.H0(SourceFile:129)
	at com.cyb3rko.pincredible.fragments.PinViewerFragment.M(SourceFile:118)
	at androidx.fragment.app.a.f(SourceFile:255)
	at androidx.fragment.app.a.k(SourceFile:146)
	at hr.A(SourceFile:134)
	at hr.W(SourceFile:92)
	at hr.y(SourceFile:74)
	at ui.run(SourceFile:37)
	at android.os.Handler.handleCallback(Handler.java:942)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:201)
	at android.os.Looper.loop(Looper.java:288)
	at android.app.ActivityThread.main(ActivityThread.java:7918)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
	Suppressed: nj: [de0{Cancelling}@f0a919f, Dispatchers.Main.immediate]
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
	at libcore.io.Linux.open(Native Method)
	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
	at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7804)
	at libcore.io.IoBridge.open(IoBridge.java:560)
	... 24 more
@cyb3rko cyb3rko added the bug Something isn't working label Aug 15, 2023
@cyb3rko
Copy link
Owner

cyb3rko commented Aug 15, 2023

Can confirm this issue, thank you for your report.
Will be investigated.

@cyb3rko cyb3rko closed this as completed Aug 15, 2023
@cyb3rko cyb3rko reopened this Aug 15, 2023
@cyb3rko
Copy link
Owner

cyb3rko commented Aug 15, 2023

Whoops, closed by mistake.

@cyb3rko
Copy link
Owner

cyb3rko commented Sep 27, 2023

Should be corrected in Version 0.7.1.
Can you double check?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@LuccoJ @cyb3rko and others