Menu

#97 Exception when packaging robots

1.5
closed
5
2014-08-12
2007-09-01
Simonton
No

There is a bug that I like in the newer versions. Call it a PerformanceEnhaningBug, if you will. When packaging a robot, it works, but as soon as it's done it throws this exception and does not close the window. I like it, though, because it allows me to package several robots without waiting for it to rebuild the robot database between each one :).

Exception in thread "AWT-EventQueue-0" java.security.AccessControlException: Pre
venting unknown thread AWT-EventQueue-0 from access: (java.io.FilePermission E:\ Program Files\robocode1.4\robots\simonton.micro.WeeklongObsession_TC004.jar read
)
at robocode.security.RobocodeSecurityManager.checkPermission(Unknown Sou
rce)
at java.lang.SecurityManager.checkRead(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at codesize.Codesize.processZipFile(Unknown Source)
at robocode.packager.RobotPackager.outputSizeClass(Unknown Source)
at robocode.packager.RobotPackager.finishButtonActionPerformed(Unknown S
ource)
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)

Discussion

  • Flemming N. Larsen

    Logged In: YES
    user_id=1249353
    Originator: NO

    This bug occurs when Robocode is installed in a file path containing spaces.

     
  • Flemming N. Larsen

    Logged In: YES
    user_id=1249353
    Originator: NO

    I fixed an issue in the Robocode Security Manager that did not allow the Event Dispatch Thread with Robocode 1.5.

    Hence, I should like to know if Robocode 1.5 fixes the problem?

     
  • SourceForge Robot

    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).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.