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

[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 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

2 participants