I had version 1.2.5alpha working OK. Today I have switched to 1.2.5beta and when Splash screen show me, that it is estimating my CPU I got:
d:\work\java\robocode>java -Xmx512M -Dsun.io.useCanonCaches=false -jar robocode.
jar
Initializing version check date.
Each robot will be allowed a maximum of 54 milliseconds per turn on this system.
java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at robocode.manager.RobocodeProperties.store(Unknown Source)
at robocode.manager.RobocodeManager.saveProperties(Unknown Source)
at robocode.manager.CpuManager.getCpuConstant(Unknown Source)
at robocode.manager.WindowManager.showSplashScreen(Unknown Source)
at robocode.Robocode.initialize(Unknown Source)
at robocode.Robocode.main(Unknown Source)
I have Windows XP SP2 on Intel Pentium 4 3,0 GHz uderclocked to 1,5 GHz.
Logged In: NO
Sorry I had Robocode 1.2.4-Beta before, not 1.2.5-Alpha. Version 1.2.4-Beta is OK, but not 1.2.5-Beta.
Here is another stacktrace from 1.2.5-Beta which I got, when I reinstall 1.2.4-Beta and again 1.2.5-Beta over the same location. Then the game run (with exception shown in cmd window) and when I want save changed settings I got this:
d:\work\java\robocode>java -Xmx512M -Dsun.io.useCanonCaches=false -jar robocode.
jar
java.lang.NullPointerException
java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at robocode.manager.RobocodeProperties.store(Unknown Source)
at robocode.manager.RobocodeManager.saveProperties(Unknown Source)
at robocode.Robocode.initialize(Unknown Source)
at robocode.Robocode.main(Unknown Source)
Preparing battle...
Round 1 initializing........
Let the games begin!
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at robocode.manager.RobocodeProperties.store(Unknown Source)
at robocode.manager.RobocodeManager.saveProperties(Unknown Source)
at robocode.dialog.PreferencesViewOptionsTab.storePreferences(Unknown So
urce)
at robocode.dialog.PreferencesDialog.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.access$100(Unknown Source)
at robocode.dialog.WizardController$EventHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at robocode.manager.RobocodeProperties.store(Unknown Source)
at robocode.manager.RobocodeManager.saveProperties(Unknown Source)
at robocode.dialog.PreferencesViewOptionsTab.storePreferences(Unknown So
urce)
at robocode.dialog.PreferencesDialog.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.access$100(Unknown Source)
at robocode.dialog.WizardController$EventHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at robocode.manager.RobocodeProperties.store(Unknown Source)
at robocode.manager.RobocodeManager.saveProperties(Unknown Source)
at robocode.dialog.PreferencesViewOptionsTab.storePreferences(Unknown So
urce)
at robocode.dialog.PreferencesDialog.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.access$100(Unknown Source)
at robocode.dialog.WizardController$EventHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at java.util.Hashtable.put(Unknown Source)
at java.util.Properties.setProperty(Unknown Source)
at robocode.manager.RobocodeProperties.store(Unknown Source)
at robocode.manager.RobocodeManager.saveProperties(Unknown Source)
at robocode.dialog.PreferencesViewOptionsTab.storePreferences(Unknown So
urce)
at robocode.dialog.PreferencesDialog.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.finishButtonActionPerformed(Unknown
Source)
at robocode.dialog.WizardController.access$100(Unknown Source)
at robocode.dialog.WizardController$EventHandler.actionPerformed(Unknown
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Logged In: YES
user_id=1249353
Originator: NO
Thanks for the report. I have now fixed this bug, and the fix will be available with the comming 1.2.5 release
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 30 days (the time period specified by
the administrator of this Tracker).