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

Crash #1567

Closed
2 tasks done
GabrielDEV3 opened this issue Dec 19, 2023 · 1 comment
Closed
2 tasks done

Crash #1567

GabrielDEV3 opened this issue Dec 19, 2023 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@GabrielDEV3
Copy link

What happened?

Crashou o app

What's the expected behavior?

Abrir o terminal

What version of AndroidIDE you're using?

v2.6.0 (debug builds)

Relevant log output

AndroidIDE Crash Report
Version : v2.6.1-beta (261)
CI Build : true
Branch : main
Commit : 8ac221c83
Variant : arm64-v8a (release)
SDK Version : 33
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-A146M

Stacktrace:
java.lang.NullPointerException: null cannot be cast to non-null type com.itsaky.androidide.ui.CodeEditorView
	at com.itsaky.androidide.activities.editor.EditorHandlerActivity.getEditorForFile(Unknown Source:28)
	at com.itsaky.androidide.activities.editor.EditorHandlerActivity.getOpenedFiles(Unknown Source:29)
	at com.itsaky.androidide.activities.editor.EditorHandlerActivity.saveOpenedFiles(Unknown Source:0)
	at com.itsaky.androidide.activities.editor.EditorHandlerActivity.onPause(Unknown Source:11)
	at android.app.Activity.performPause(Activity.java:8778)
	at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1585)
	at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5707)
 Caused by: java.lang.RuntimeException: Unable to pause activity {com.itsaky.androidide/com.itsaky.androidide.activities.editor.EditorActivityKt}: java.lang.NullPointerException: null cannot be cast to non-null type com.itsaky.androidide.ui.CodeEditorView
	at android.app.ActivityThread.performPauseActivityIfNeeded(ActivityThread.java:5717)
	at android.app.ActivityThread.performPauseActivity(ActivityThread.java:5668)
	at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:5620)
	at android.app.servertransaction.PauseActivityItem.execute(PauseActivityItem.java:47)
	at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:226)
	at android.os.Looper.loop(Looper.java:313)
	at android.app.ActivityThread.main(ActivityThread.java:8762)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@GabrielDEV3 GabrielDEV3 added the bug Something isn't working label Dec 19, 2023
@itsaky
Copy link
Member

itsaky commented Dec 21, 2023

Duplicate of #1498.

@itsaky itsaky closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2023
@itsaky itsaky added the duplicate This issue or pull request already exists label Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants