[Home]History of CompressedSerialization

Robo Home | Changes | Preferences | AllPages


Revision 30 . . March 24, 2007 4:16 EST by 134.220.188.59
Revision 29 . . September 26, 2003 16:44 EST by Simonech
  

Difference (from prior major revision) (no other diffs)

Changed: 155c155
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.

Removed: 173,184d172

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.


File dir = (new File(robotPeer.getRobotClassManager().getRobotClassLoader().getClassDirectory(), robotPeer.getRobotClassManager().getClassNameManager().getShortClassName() + ".data")).getCanonicalFile();


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

Robo Home | Changes | Preferences | AllPages
Search: