This repository has been archived by the owner on Oct 18, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 328
[bug]: NPE when I click in preview layout without layout files opened #1176
Labels
bug
Something isn't working
Milestone
Comments
Most probably, the options menu is not being invalidated when a file is closed. I'll look into it. |
FaSheep
added a commit
to FaSheep/AndroidIDE
that referenced
this issue
Aug 31, 2023
FaSheep
added a commit
to FaSheep/AndroidIDE
that referenced
this issue
Sep 1, 2023
FaSheep
added a commit
to FaSheep/AndroidIDE
that referenced
this issue
Sep 1, 2023
Merged
itsaky
pushed a commit
that referenced
this issue
Sep 3, 2023
This can already be marked as done by commit #1251? |
There is another thing to improve regarding this issue. The options menu is not invalidated if the file is unsaved and you try to close the file. That means, the above fix only handles the case if the file is already saved and then closed. |
Ok |
itsaky
pushed a commit
that referenced
this issue
Nov 9, 2023
itsaky
added a commit
that referenced
this issue
Nov 9, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What happened?
I don't use the layout feature, but I've noticed that if I have a layout and close it and try to preview it, the app hangs at an NPE
Video showing the issue:
Screenshot_20230804_201753.2.mp4
What's the expected behavior?
No crash
What version of AndroidIDE you're using?
v2.5.0 (debug builds)
Relevant log output
Duplicate issues
Code of Conduct
The text was updated successfully, but these errors were encountered: