VISAB-ORG / VISAB

VISAB is a standalone utility to visualize artificial intelligence agent behavior in games.
1 stars 0 forks source link

F visualize main view & F cbrshooter data #65

Closed mfroeh closed 3 years ago

mfroeh commented 3 years ago

Includes changes made on f_cbrshooter_data. New

Changes

leRoe93 commented 3 years ago

I've got an exception on application startup:

Caused by: javafx.fxml.LoadException: Error resolving onAction='visualizeAction', either the event handler is not in the Namespace or there is an error in the script. /Users/tadeus/Documents/Uni/EclipseWsNew/VISAB/target/classes/org/visab/newgui/main/view/HomeView.fxml:276 at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2621) at javafx.fxml.FXMLLoader.access$100(FXMLLoader.java:105) at javafx.fxml.FXMLLoader$Element.processEventHandlerAttributes(FXMLLoader.java:618) at javafx.fxml.FXMLLoader$ValueElement.processEndElement(FXMLLoader.java:778) at javafx.fxml.FXMLLoader.processEndElement(FXMLLoader.java:2838) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2557) at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2466) at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2435) at de.saxsys.mvvmfx.internal.viewloader.FxmlViewLoader.loadFxmlViewTuple(FxmlViewLoader.java:216) ... 9 more

Any clue on that, or does everything work on your side?

leRoe93 commented 3 years ago

Nevermind, the "#" was missing in the fxml button action. Pushed a commit for this :)

I will try it tomorrow on my windows machine because I don't have any data file on the MacBook.

mfroeh commented 3 years ago

Nevermind, the "#" was missing in the fxml button action. Pushed a commit for this :)

I will try it tomorrow on my windows machine because I don't have any data file on the MacBook.

Thanks!

I've had this issue numerous times now. The added # somehow won't be staged, but disappears once I add all changes... A similar issue also appeared in the fxml file of the CBRShooterStatisticsView.fxml were changes made to the controller would just reset back... I think it has to do with having the SceneBuilder open at some point, then closing it and saving fxml files after. Sadly I coulden't find any open process of SceneBuilder. If you encounter similar issues managed to find the cause, I'd be glad to hear it. Happend to me alot today.