this looks like something that should never work, but it does. about every 10th try to read anthing, the exception occurs. randomly. so i just try to read the file over and over again until robocode gives up, and i get the file. |
this looks like something that should never work, but it does. about every 10th try to read anthing, the exception occurs. randomly. so i just try to read the file ovr and over again until robocode gives up, and i get the file. |
I'm suffering the same problem... I suppose it's a problem with the way java 1.4.2 handles the File object I suppose that the problem stay in this row, where robocode try to read the file directory.
This piece of code stay in the file robocode.peer.robot.RobotFileSystemManager?: I suppose that getClassDirectory?() misbehave in same way. Update: I tryed installing 1.4.2_01 but still have the problem -- Simonech |