dmusican / Elegit

A GUI client for people who want to learn Git.
MIT License
30 stars 7 forks source link

Create new branch via create/delete branch button causes exceptions #558

Open dmusican opened 6 years ago

dmusican commented 6 years ago

This functionality hasn't been revisited since the internal threading model was fixed.

Not in FX thread
Thread[createNewBranch,5,main]
java.lang.Throwable
    at elegit.Main.assertFxThread(Main.java:169)
    at elegit.treefx.CommitTreeController.focusCommitInGraph(CommitTreeController.java:241)
    at elegit.controllers.CreateDeleteBranchWindowController.checkoutBranch(CreateDeleteBranchWindowController.java:263)
    at elegit.controllers.CreateDeleteBranchWindowController.access$300(CreateDeleteBranchWindowController.java:36)
    at elegit.controllers.CreateDeleteBranchWindowController$3.call(CreateDeleteBranchWindowController.java:215)
    at elegit.controllers.CreateDeleteBranchWindowController$3.call(CreateDeleteBranchWindowController.java:206)
    at javafx.concurrent.Task$TaskCallable.call(Task.java:1423)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.lang.Thread.run(Thread.java:748)