VOGONS


First post, by Pr3tty F1y

User metadata
Rank Newbie
Rank
Newbie

I'm using the latest development builds of Dosbox Staging (which I don't think should have a major effect on DBGL except for some of the options may not line up but Dosbox Staging's support of deprecated conf values seems pretty good) and just upgraded to DGBL v0.99 and I'm using a local JRE install into the DBGL directory per their site.

However, if I try to edit any config within DGBL and then click 'OK', I get this exception when DBGL tries to commit the change (which does not get committed to the conf file due to the crash). Any thoughts on what's causing it and what I can do to address it/work around it?

Exception in thread "main" java.lang.NullPointerException: Cannot invoke "org.dbgl.gui.interfaces.DaControlConvertor.toControlValues(String)" because "customConv" is null
at org.dbgl.gui.controls.Chain.init(Chain.java:423)
at org.dbgl.gui.abstractdialog.EditConfigurableDialog.createDosboxPage(EditConfigurableDialog.java:216)
at org.dbgl.gui.abstractdialog.EditProfileDialog.createDosboxPage(EditProfileDialog.java:186)
at org.dbgl.gui.dialog.EditSingleProfileDialog.createDosboxPage(EditSingleProfileDialog.java:520)
at org.dbgl.gui.abstractdialog.SizeControlledPagedDialog.lambda$computePage$5(SizeControlledPagedDialog.java:115)
at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
at org.dbgl.gui.abstractdialog.SizeControlledPagedDialog.computePage(SizeControlledPagedDialog.java:114)
at org.dbgl.gui.dialog.EditSingleProfileDialog.access$10400(EditSingleProfileDialog.java:83)
at org.dbgl.gui.dialog.EditSingleProfileDialog$3.widgetSelected(EditSingleProfileDialog.java:545)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:265)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4326)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1174)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4124)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3712)
at org.dbgl.gui.abstractdialog.BaseDialog.open(BaseDialog.java:120)
at org.dbgl.gui.dialog.MainWindow.doAddProfile(MainWindow.java:1515)
at org.dbgl.gui.dialog.MainWindow$62.widgetSelected(MainWindow.java:1974)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:265)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:91)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4326)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1174)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4124)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3712)
at org.dbgl.gui.abstractdialog.BaseDialog.open(BaseDialog.java:120)
at org.dbgl.gui.Launcher.main(Launcher.java:55)

Reply 1 of 1, by Pr3tty F1y

User metadata
Rank Newbie
Rank
Newbie

The issue has to be the revisions to the dosbox.conf format used by DOSBox staging. Not sure if it's the individual options or the switch to on/off vs true/false (or both), but it simply seems to be that DBGL doesn't currently support the bleeding edge development builds of DOSBox-Staging.