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 482
This repository was archived by the owner on Oct 18, 2024. It is now read-only.
[Bug]: Crashed when saving #1463
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
What happened?
I don't know exactly what happed when i was working with activity_main.xml i clicked on Preview Layout from menu and CodeEditor Stopped working other things was interactable except CodeEditor than i taugh to save file and close Project and re-open it and this crashed occurred
I tried to recreate this error but this it didn't Crashed
What's the expected behavior?
Handle Null Pointer
What version of AndroidIDE you're using?
v2.6.0 (debug builds)
Relevant log output
AndroidIDE Crash Report Version : v2.5.3-beta (253) CI Build : true Branch : dev Commit : 0931cbeff Variant : arm64-v8a (debug) SDK Version : 29 Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi] Manufacturer : samsung Device : SM-G965F Stacktrace: java.lang.NullPointerException at com.itsaky.androidide.activities.editor.EditorHandlerActivity.saveResult$suspendImpl(EditorHandlerActivity.kt:440) at com.itsaky.androidide.activities.editor.EditorHandlerActivity$saveResult$1.invokeSuspend(Unknown Source:16) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280) at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59) at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source:1) at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38) at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source:1) at com.itsaky.androidide.actions.etc.PreviewLayoutAction.execAction(PreviewLayoutAction.kt:96) at com.itsaky.androidide.actions.internal.DefaultActionsRegistry$executeAction$1.invokeSuspend(DefaultActionsRegistry.kt:202) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
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