This repository was archived by the owner on Oct 18, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 507
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
[Bug]: crash when opening library project #1102
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
crashes when opening library project files, even though prior to version 2.5.0 it can be opened and can run unit tests
What's the expected behavior?
fix it as before it can be opened and can run tasks for the library
What version of AndroidIDE you're using?
v2.4.0 (debug builds)
Relevant log output
AndroidIDE crash report
Manufacturer: vivo
Device: vivo1901
ABI: arm64-v8a
SDK version: 30
App version: v2.5.0-beta (250)
Stacktrace:
java.lang.ClassCastException: com.google.gson.internal.LinkedTreeMap cannot be cast to com.itsaky.androidide.models.OpenedFile
at com.itsaky.androidide.activities.editor.EditorHandlerActivity$onStart$2.invoke(Unknown Source:52)
at com.itsaky.androidide.templates.impl.BaseKt$baseProjectImpl$1.invoke(SourceFile:18)
at com.itsaky.androidide.tasks.TaskExecutorKt$$ExternalSyntheticLambda1.complete(Unknown Source:162)
at openjdk.tools.javac.util.Log$$ExternalSyntheticLambda1.run(Unknown Source:857)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:257)
at android.app.ActivityThread.main(ActivityThread.java:8192)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:626)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1015)Duplicate issues
- This issue has not been reported yet.
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working