Running LinknoidBarf in r19028 works fine but in latest I get an exception and the following debug log

Code:
Unexpected error, debug log printed.
class java.lang.IllegalArgumentException: Window must not be zero
java.lang.IllegalArgumentException: Window must not be zero
	at java.desktop/sun.awt.X11.XAtom.checkWindow(XAtom.java:774)
	at java.desktop/sun.awt.X11.XAtom.getAtomData(XAtom.java:465)
	at java.desktop/sun.awt.X11.XToolkit.getWorkArea(XToolkit.java:805)
	at java.desktop/sun.awt.X11.XToolkit.getInsets(XToolkit.java:881)
	at java.desktop/sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:869)
	at java.desktop/java.awt.Window.init(Window.java:518)
	at java.desktop/java.awt.Window.<init>(Window.java:448)
	at java.desktop/java.awt.Window.<init>(Window.java:603)
	at java.desktop/java.awt.Dialog.<init>(Dialog.java:664)
	at java.desktop/java.awt.Dialog.<init>(Dialog.java:408)
	at java.desktop/javax.swing.JDialog.<init>(JDialog.java:273)
	at java.desktop/javax.swing.JOptionPane.createDialog(JOptionPane.java:963)
	at java.desktop/javax.swing.JOptionPane.showInputDialog(JOptionPane.java:583)
	at java.desktop/javax.swing.JOptionPane.showInputDialog(JOptionPane.java:527)
	at java.desktop/javax.swing.JOptionPane.showInputDialog(JOptionPane.java:475)
	at net.sourceforge.kolmafia.utilities.InputFieldUtilities.input(InputFieldUtilities.java:122)
	at net.sourceforge.kolmafia.textui.DataTypes.promptForValue(DataTypes.java:1074)
	at net.sourceforge.kolmafia.textui.DataTypes.promptForValue(DataTypes.java:1011)
	at net.sourceforge.kolmafia.textui.Interpreter.requestUserParams(Interpreter.java:449)
	at net.sourceforge.kolmafia.textui.Interpreter.executeScope(Interpreter.java:414)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:341)
	at net.sourceforge.kolmafia.textui.Interpreter.execute(Interpreter.java:334)
	at net.sourceforge.kolmafia.textui.command.CallScriptCommand.call(CallScriptCommand.java:256)
	at net.sourceforge.kolmafia.KoLmafiaCLI.doExecuteCommand(KoLmafiaCLI.java:606)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeCommand(KoLmafiaCLI.java:549)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:450)
	at net.sourceforge.kolmafia.KoLmafiaCLI.executeLine(KoLmafiaCLI.java:318)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.handleQueue(CommandDisplayFrame.java:199)
	at net.sourceforge.kolmafia.swingui.CommandDisplayFrame$CommandQueueHandler.run(CommandDisplayFrame.java:168)