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

Crash when closing file #1781

Open
5 tasks done
LsxMm opened this issue Mar 31, 2024 · 0 comments
Open
5 tasks done

Crash when closing file #1781

LsxMm opened this issue Mar 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LsxMm
Copy link

LsxMm commented Mar 31, 2024

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 31
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : vivo
Device : V1981A

Stacktrace:
android.system.ErrnoException: fstat failed: ENOENT (No such file or directory)
at libcore.io.Linux.fstat(Native Method)
at libcore.io.ForwardingOs.fstat(ForwardingOs.java:264)
at libcore.io.BlockGuardOs.fstat(BlockGuardOs.java:194)
at libcore.io.ForwardingOs.fstat(ForwardingOs.java:264)
at libcore.io.IoBridge.open(IoBridge.java:564)
Caused by: java.io.FileNotFoundException: /storage/emulated/0/AndroidIDEProjects/阿里矢量图库/.androidide/editor/openedFiles.json: fstat failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:575)
at java.io.FileOutputStream.(FileOutputStream.java:236)
at java.io.FileOutputStream.(FileOutputStream.java:186)
at kotlinx.coroutines.AwaitKt.writeText$default(Unknown Source:23)
at com.itsaky.androidide.viewmodel.EditorViewModel$writeOpenedFiles$1.invokeSuspend(Unknown Source:46)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:120)
at androidx.work.Worker$2.run(Unknown Source:39)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:91)

Expected behavior

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 31
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : vivo
Device : V1981A

Stacktrace:
android.system.ErrnoException: fstat failed: ENOENT (No such file or directory)
at libcore.io.Linux.fstat(Native Method)
at libcore.io.ForwardingOs.fstat(ForwardingOs.java:264)
at libcore.io.BlockGuardOs.fstat(BlockGuardOs.java:194)
at libcore.io.ForwardingOs.fstat(ForwardingOs.java:264)
at libcore.io.IoBridge.open(IoBridge.java:564)
Caused by: java.io.FileNotFoundException: /storage/emulated/0/AndroidIDEProjects/阿里矢量图库/.androidide/editor/openedFiles.json: fstat failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:575)
at java.io.FileOutputStream.(FileOutputStream.java:236)
at java.io.FileOutputStream.(FileOutputStream.java:186)
at kotlinx.coroutines.AwaitKt.writeText$default(Unknown Source:23)
at com.itsaky.androidide.viewmodel.EditorViewModel$writeOpenedFiles$1.invokeSuspend(Unknown Source:46)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:120)
at androidx.work.Worker$2.run(Unknown Source:39)
at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:91)

Version name

2.7.1-beta

Download source

GitHub

Relevant log output

AndroidIDE Crash Report
Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b31
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 31
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : vivo
Device : V1981A

Stacktrace:
android.system.ErrnoException: fstat failed: ENOENT (No such file or directory)
	at libcore.io.Linux.fstat(Native Method)
	at libcore.io.ForwardingOs.fstat(ForwardingOs.java:264)
	at libcore.io.BlockGuardOs.fstat(BlockGuardOs.java:194)
	at libcore.io.ForwardingOs.fstat(ForwardingOs.java:264)
	at libcore.io.IoBridge.open(IoBridge.java:564)
 Caused by: java.io.FileNotFoundException: /storage/emulated/0/AndroidIDEProjects/阿里矢量图库/.androidide/editor/openedFiles.json: fstat failed: ENOENT (No such file or directory)
	at libcore.io.IoBridge.open(IoBridge.java:575)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:236)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
	at kotlinx.coroutines.AwaitKt.writeText$default(Unknown Source:23)
	at com.itsaky.androidide.viewmodel.EditorViewModel$writeOpenedFiles$1.invokeSuspend(Unknown Source:46)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
	at kotlinx.coroutines.DispatchedTask.run(Unknown Source:120)
	at androidx.work.Worker$2.run(Unknown Source:39)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(Unknown Source:91)
@LsxMm LsxMm added the bug Something isn't working label Mar 31, 2024
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

1 participant