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

SceneBuilder closes unexpectedly when an error occurs during FXML file loading #600

Closed
Oliver-Loeffler opened this issue Nov 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Oliver-Loeffler
Copy link
Collaborator

SceneBuilder by default starts into the welcome page.
If one attempts to load either an existing project or a recent project, SceneBuilder will close in case of an error during file loading.
This is the case by:

  • no longer existing recent projects
  • attempting to load any unsupported files
  • attempt to load a corrupted FXML file
  • attempt to load a incompatible FXML file

Expected Behavior

SceneBuilder should keep the welcome page open and display the error (if it is one file) to the user.
The user should be able to obtain a stack trace for further analysis.
SceneBuilder shall not close after confirming the error, so that the user has the chance to load another file.

Current Behavior

SceneBuilder displays the error to the user.
SceneBuilder closes after the user confirms the file loading error.

Steps to Reproduce

  1. start SceneBuilder
    1. attempt to open a no longer existing project from welcome page
    2. attempt to load a broken/unsupported FXML file via open project button

Your Environment

  • This issue occurs on Windows, Linux and Mac.

Screenshots

N/A

@Oliver-Loeffler Oliver-Loeffler added the bug Something isn't working label Nov 8, 2022
Oliver-Loeffler added a commit to Oliver-Loeffler/scenebuilder that referenced this issue Nov 8, 2022
@Oliver-Loeffler
Copy link
Collaborator Author

Closed with #585.

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

1 participant