Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Crashed when saving #1463

Closed
2 tasks done
CyberXCoder-6649 opened this issue Nov 13, 2023 · 0 comments
Closed
2 tasks done

[Bug]: Crashed when saving #1463

CyberXCoder-6649 opened this issue Nov 13, 2023 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@CyberXCoder-6649
Copy link

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
@CyberXCoder-6649 CyberXCoder-6649 added the bug Something isn't working label Nov 13, 2023
@itsaky itsaky added this to the v2.6.1-beta milestone Nov 13, 2023
@itsaky itsaky closed this as completed in 93bb303 Nov 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants