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

[gui] fix: Handle paths where file name is null #2137

Merged
merged 6 commits into from
Mar 29, 2024

Conversation

xnumad
Copy link
Contributor

@xnumad xnumad commented Mar 29, 2024

Description

Null checks before dereferencing
Fixes #2136

xnumad and others added 6 commits March 29, 2024 22:28
Avoid NullPointerException when using "Open files" or drag-n-drop
Avoid NullPointerException when using "Add files"
Instead of empty project name
Project tree (sidebar) didn’t load
Toggling "View > Show flatten packages" threw a NPE here
@skylot
Copy link
Owner

skylot commented Mar 29, 2024

@xnumad great job! Thank you 👍

@skylot skylot merged commit 6b4976c into skylot:master Mar 29, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[gui] Windows-only: Cannot load folder: “Path.getFileName()" is null
2 participants