Negatron doesn't start anymore

Here's the place to discuss anything about Negatron or MAME in English.
Post Reply
hmueck
Posts: 1
Joined: Mon Aug 05, 2019 8:17 am

Negatron doesn't start anymore

Post by hmueck »

Hello,

last time i run Negatron, i changed the ROM etc. folders to 212 and the .exe to mame64.exe (212).
Since then the splash screen shows, but the GUI doesn't open.
Later i changed the .ini back to negamame64.exe, but no change.

The Java error is:

Aug 05, 2019 10:18:58 AM net.babelsoft.negatron.NegatronApp start
SEVERE: Couldn't start Negatron
javafx.fxml.LoadException:
file:/D:/Emulatoren/Arcade/Negatron/Negatron.jar!/net/babelsoft/negatron/view/control/fxml/MainView.fxml:117

at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
at net.babelsoft.negatron.NegatronApp.start(Unknown Source)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$166(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$179(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$177(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$178(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$152(WinApplication.java:177)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: javafx.fxml.LoadException:
file:/D:/Emulatoren/Arcade/Negatron/Negatron.jar!/net/babelsoft/negatron/view/control/fxml/GlobalConfigurationPane.fxml

at net.babelsoft.negatron.view.control.GlobalConfigurationPane.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.reflect.misc.ReflectUtil.newInstance(Unknown Source)
at javafx.fxml.FXMLLoader$InstanceDeclarationElement.constructValue(FXMLLoader.java:1009)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:746)
at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2707)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2527)
... 12 more
Caused by: javafx.fxml.LoadException:
file:/D:/Emulatoren/Arcade/Negatron/Negatron.jar!/net/babelsoft/negatron/view/control/fxml/GlobalConfigurationPane.fxml

at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
... 23 more
Caused by: java.lang.NullPointerException
at net.babelsoft.negatron.io.configuration.Configuration.digitToBoolean(Unknown Source)
at net.babelsoft.negatron.io.configuration.Configuration.isGlobalConfiguration(Unknown Source)
at net.babelsoft.negatron.view.control.form.GenericCheckField.<init>(Unknown Source)
at net.babelsoft.negatron.controller.GlobalConfigurationPaneController.initialize(Unknown Source)
at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
... 25 more

Exception in Application start method
BabelSoft
Site Admin
Posts: 342
Joined: Sat Jun 02, 2012 9:23 pm

Re: Negatron doesn't start anymore

Post by BabelSoft »

Argh, this is because 4 MAME options have been removed in v0.212 and Negatron is still expecting them in mame.ini... I'll do something more robust for the next version of Negatron to avoid encountering this kind of situation in the future.

The next version is planned for Sunday 18 August. Bear with me in the meantime...
Post Reply