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

java.lang.NullPointerException #16

Closed
ryosua opened this issue Sep 9, 2015 · 3 comments
Closed

java.lang.NullPointerException #16

ryosua opened this issue Sep 9, 2015 · 3 comments
Assignees
Labels

Comments

@ryosua
Copy link
Owner

ryosua commented Sep 9, 2015

No description provided.

@ryosua ryosua added the bug label Sep 9, 2015
@ryosua ryosua added this to the Project Backlog milestone Sep 9, 2015
@Shane-E
Copy link
Collaborator

Shane-E commented Sep 11, 2015

This problem originates in the FileController class. The getFileFromChooser method cannot return null when cancel is clicked which is the reason for the bug. I have commented in the code as well for this error.

@ryosua
Copy link
Owner Author

ryosua commented Sep 11, 2015

Ok, I see what you are talking about. I think in the listeners we can just check if it is null, before setting the value. I can fix this. I am going to delete your comment because the line before that says basically the same thing - @return the file if chosen or null if canceled

@ryosua ryosua self-assigned this Sep 11, 2015
@ryosua ryosua modified the milestones: Scrum 2 Backlog, Project Backlog Sep 11, 2015
@ryosua ryosua closed this as completed in a53c4d2 Sep 11, 2015
@ryosua
Copy link
Owner Author

ryosua commented Sep 11, 2015

There might be a better way to fix this, but this works for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants