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

[Bug]: Crashed when System Theme Toggled Day/Night #1462

@CyberXCoder-6649

Description

@CyberXCoder-6649

What happened?

When i changed my system theme from night to day and suddenly changed to night back than IDE Crashed i was working with project

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: Attempt to invoke virtual method 'void com.itsaky.androidide.activities.editor.EditorHandlerActivity.handleDiagnosticsResultVisibility(boolean)' on a null object reference
	at com.itsaky.androidide.lsp.IDELanguageClientImpl.publishDiagnostics(IDELanguageClientImpl.java:125)
	at com.itsaky.androidide.lsp.java.JavaLanguageServer$analyzeSelected$1$1.invokeSuspend(JavaLanguageServer.kt:318)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at android.os.Handler.handleCallback(Handler.java:883)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loop(Looper.java:237)
	at android.app.ActivityThread.main(ActivityThread.java:8167)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)

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

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions