Menu

#382 Unable to run robocode.bat -- AccessControlException

1.9.2.6
closed
None
1
2017-01-01
2016-04-18
No

This bug has been reported a couple of times. The first time it was here:
https://sourceforge.net/p/robocode/discussion/116459/thread/141935ac

java.lang.InternalError: internal error: SeedGenerator thread creation error.
at sun.security.provider.SeedGenerator$ThreadedSeedGenerator.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.security.AccessControlException: Preventing SeedGenerator Thread from access to SeedGenerator ThreadGroup
at net.sf.robocode.host.security.RobocodeSecurityManager.checkAccess(RobocodeSecurityManager.java:114)
at java.lang.ThreadGroup.checkAccess(Unknown Source)
at java.lang.Thread.init(Unknown Source)
at java.lang.Thread.init(Unknown Source)
at java.lang.Thread.<init>(Unknown Source)
... 2 more
I can bypass the issue if I turn off the security manager via the DNOSECURITY flag but I don't really want to do this.

Discussion

  • Flemming N. Larsen

    • Group: Future Release --> 1.9.2.6
     
  • Flemming N. Larsen

    • summary: Unable to run robocode.bat -- Access Control Exception --> Unable to run robocode.bat -- AccessControlException
     
  • Flemming N. Larsen

    • status: open --> closed
     
  • Flemming N. Larsen

    Fixed with version 1.9.2.6

     

Log in to post a comment.