java.lang.IllegalArgumentException: Trying to retrieve AbstractOption with ID 'model.option.priceIncreasePerType' returned 'null'.

freecol | roadydude | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unable to close window in Europe screen

    freecol | 8 years ago | roadydude
    java.lang.IllegalArgumentException: Trying to retrieve AbstractOption with ID 'model.option.priceIncreasePerType' returned 'null'.

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Trying to retrieve AbstractOption with ID 'model.option.priceIncreasePerType' returned 'null'.

      at net.sf.freecol.common.Specification.getOption()
    2. net.sf.freecol
      TrainDialog.actionPerformed
      1. net.sf.freecol.common.Specification.getOption(Specification.java:516)
      2. net.sf.freecol.common.Specification.getBooleanOption(Specification.java:603)
      3. net.sf.freecol.common.model.Europe.increasePrice(Europe.java:467)
      4. net.sf.freecol.common.model.Europe.train(Europe.java:450)
      5. net.sf.freecol.client.control.InGameController.trainUnitInEurope(InGameController.java:3283)
      6. net.sf.freecol.client.gui.panel.TrainDialog.actionPerformed(TrainDialog.java:185)
      6 frames
    3. Java RT
      Component.dispatchEvent
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      6. java.awt.Component.processMouseEvent(Component.java:5583)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
      8. java.awt.Component.processEvent(Component.java:5348)
      9. java.awt.Container.processEvent(Container.java:2010)
      10. java.awt.Component.dispatchEventImpl(Component.java:4050)
      11. java.awt.Container.dispatchEventImpl(Container.java:2068)
      12. java.awt.Component.dispatchEvent(Component.java:3885)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
      16. java.awt.Container.dispatchEventImpl(Container.java:2054)
      17. java.awt.Window.dispatchEventImpl(Window.java:1791)
      18. java.awt.Component.dispatchEvent(Component.java:3885)
      18 frames
    4. net.sf.freecol
      EuropePanel.actionPerformed
      1. net.sf.freecol.client.gui.panel.FreeColDialog.getResponse(FreeColDialog.java:149)
      2. net.sf.freecol.client.gui.panel.FreeColDialog.getResponseInt(FreeColDialog.java:189)
      3. net.sf.freecol.client.gui.Canvas.showEuropeDialog(Canvas.java:1642)
      4. net.sf.freecol.client.gui.panel.EuropePanel.actionPerformed(EuropePanel.java:632)
      4 frames
    5. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      6. java.awt.Component.processMouseEvent(Component.java:5583)
      7. javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
      8. java.awt.Component.processEvent(Component.java:5348)
      9. java.awt.Container.processEvent(Container.java:2010)
      10. java.awt.Component.dispatchEventImpl(Component.java:4050)
      11. java.awt.Container.dispatchEventImpl(Container.java:2068)
      12. java.awt.Component.dispatchEvent(Component.java:3885)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
      14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
      15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
      16. java.awt.Container.dispatchEventImpl(Container.java:2054)
      17. java.awt.Window.dispatchEventImpl(Window.java:1791)
      18. java.awt.Component.dispatchEvent(Component.java:3885)
      19. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      20. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
      21. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      22. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
      23. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
      24. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      24 frames