Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via freecol by roadydude
, 1 year ago
Trying to retrieve AbstractOption with ID 'model.option.priceIncreasePerType' returned 'null'.
java.lang.IllegalArgumentException: Trying to retrieve AbstractOption with ID 'model.option.priceIncreasePerType' returned 'null'.	at net.sf.freecol.common.Specification.getOption(Specification.java:516)	at net.sf.freecol.common.Specification.getBooleanOption(Specification.java:603)	at net.sf.freecol.common.model.Europe.increasePrice(Europe.java:467)	at net.sf.freecol.common.model.Europe.train(Europe.java:450)	at net.sf.freecol.client.control.InGameController.trainUnitInEurope(InGameController.java:3283)	at net.sf.freecol.client.gui.panel.TrainDialog.actionPerformed(TrainDialog.java:185)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)	at java.awt.Component.processMouseEvent(Component.java:5583)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)	at java.awt.Component.processEvent(Component.java:5348)	at java.awt.Container.processEvent(Container.java:2010)	at java.awt.Component.dispatchEventImpl(Component.java:4050)	at java.awt.Container.dispatchEventImpl(Container.java:2068)	at java.awt.Component.dispatchEvent(Component.java:3885)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)	at java.awt.Container.dispatchEventImpl(Container.java:2054)	at java.awt.Window.dispatchEventImpl(Window.java:1791)	at java.awt.Component.dispatchEvent(Component.java:3885)	at net.sf.freecol.client.gui.panel.FreeColDialog.getResponse(FreeColDialog.java:149)	at net.sf.freecol.client.gui.panel.FreeColDialog.getResponseInt(FreeColDialog.java:189)	at net.sf.freecol.client.gui.Canvas.showEuropeDialog(Canvas.java:1642)	at net.sf.freecol.client.gui.panel.EuropePanel.actionPerformed(EuropePanel.java:632)	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)	at java.awt.Component.processMouseEvent(Component.java:5583)	at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)	at java.awt.Component.processEvent(Component.java:5348)	at java.awt.Container.processEvent(Container.java:2010)	at java.awt.Component.dispatchEventImpl(Component.java:4050)	at java.awt.Container.dispatchEventImpl(Container.java:2068)	at java.awt.Component.dispatchEvent(Component.java:3885)	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)	at java.awt.Container.dispatchEventImpl(Container.java:2054)	at java.awt.Window.dispatchEventImpl(Window.java:1791)	at java.awt.Component.dispatchEvent(Component.java:3885)	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)