jughyd / GitFx

Gitfx Java FX application
Apache License 2.0
18 stars 29 forks source link

Sync Particular Repository causes a NPE when no repository is present #37

Closed rohitvvv closed 9 years ago

rohitvvv commented 9 years ago

On a fresh install Sync Particular Repository fails as the callback method onGitParticularRepositoryClicked assumes non null values shall be returned.

Caused by: java.lang.NullPointerException at io.github.gitfx.controller.GitFxController.onGitParticularRepositoryClicked(GitFxController.java:286) ... 52 more

This causes the GitFxAppTest test to fail on fresh installs.