Robocode Editor/Compiler troubles?
I've been using 1.6.1.4 for a very long time and never had any trouble with the editor. Since I am using 1.7.4.2 that editor has the annoying habit to put some rubbish at the end of the file, so I only use it to compile. Most of the time I use Araxis so I can quickly jump to the places I have been editing. Next to that, I am alas not very active, so an occasional fluke just gets forgotten.
Thank you for trying to help.
Whenever I start-up Robocode, every robot in the database gets a "ClassNotFound" exception. At several, seemingly arbitrary points, (MostlyHarmlessNano, XanderCat...) it just freezes. I have to kill Robocode from the Task Manager if it doesn't resume in a few minutes.
When I compile from the Robot Editor, Robocode feels the need to go through the entire database again. And it has the same problems.
I've tried both cleaning the robot cache and deleting the database to make Robocode rebuild it, but neither had any effect.
I could post a sample of the console output tomorrow if it would help.
Here is a sample of console output from starting Robocode.
a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.core.track.Wav eHistory Got an error with xander.cat.XanderCat_12.0.1.xander.core.track.WaveState: java. lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.core.track.WaveS tate Got an error with xander.cat.XanderCat_12.0.1.xander.core.track.WaveState: java. lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.core.track.WaveS tate Got an error with xander.cat.XanderCat_12.0.1.xander.core.track.XBullet: java.la ng.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.core.track.XBullet Got an error with xander.cat.XanderCat_12.0.1.xander.core.track.XBullet: java.la ng.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.core.track.XBullet Got an error with xander.cat.XanderCat_12.0.1.xander.core.track.XBulletWave: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.core.track.XBu lletWave Got an error with xander.cat.XanderCat_12.0.1.xander.core.track.XBulletWave: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.core.track.XBu lletWave Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.BalancedFactorIndexer: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.Balan cedFactorIndexer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.BalancedFactorIndexer: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.Balan cedFactorIndexer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.BasicFactorArrays: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.BasicFact orArrays Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.BasicFactorArrays: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.BasicFact orArrays Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.FactorIndexer: java.la ng.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.FactorIndexer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.FactorIndexer: java.la ng.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.FactorIndexer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.FactorRange: java.lang .ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.FactorRange Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.FactorRange: java.lang .ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.FactorRange Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.IndexRange: java.lang. ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.IndexRange Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.IndexRange: java.lang. ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.IndexRange Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.OrbitalFactorArrays: j ava.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.Orbital FactorArrays Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.OrbitalFactorArrays: j ava.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.Orbital FactorArrays Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.RelativeAngleRange: ja va.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.Relative AngleRange Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.RelativeAngleRange: ja va.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.Relative AngleRange Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AbstractWaveLogge r: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.dat a.AbstractWaveLogger Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AbstractWaveLogge r: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.dat a.AbstractWaveLogger Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollFunction: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.A geRollFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollFunction: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.A geRollFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollLinearFunc tion: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws. data.AgeRollLinearFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollLinearFunc tion: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws. data.AgeRollLinearFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollSquaredFun ction: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws .data.AgeRollSquaredFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollSquaredFun ction: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws .data.AgeRollSquaredFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollVariableDe caySquaredFunction: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0. 1.xander.gfws.data.AgeRollVariableDecaySquaredFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.AgeRollVariableDe caySquaredFunction: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0. 1.xander.gfws.data.AgeRollVariableDecaySquaredFunction Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.CachingFactorArra yProcessor: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.data.CachingFactorArrayProcessor Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.CachingFactorArra yProcessor: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.data.CachingFactorArrayProcessor Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.CachingLogReader: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. CachingLogReader Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.CachingLogReader: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. CachingLogReader Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.DataPoint: java.l ang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.DataPoi nt Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.DataPoint: java.l ang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.DataPoi nt Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.DataPointFactorAr rayProcessor: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xand er.gfws.data.DataPointFactorArrayProcessor Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.DataPointFactorAr rayProcessor: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xand er.gfws.data.DataPointFactorArrayProcessor Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.FactorArrayParms: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. FactorArrayParms Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.FactorArrayParms: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. FactorArrayParms Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KDTreeAdapter: ja va.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.KDT reeAdapter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KDTreeAdapter: ja va.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.KDT reeAdapter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KDTreeWaveLogger: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. KDTreeWaveLogger Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KDTreeWaveLogger: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. KDTreeWaveLogger Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNLogReader: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNL ogReader Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNLogReader: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNL ogReader Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNParms: java.la ng.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNParms Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNParms: java.la ng.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.KNNParms Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.LogReader: java.l ang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.LogRead er Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.LogReader: java.l ang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.LogRead er Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.RedKDTreeAdapter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. RedKDTreeAdapter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.RedKDTreeAdapter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data. RedKDTreeAdapter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.RedKDTreeWaveLogg er: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.da ta.RedKDTreeWaveLogger Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.RedKDTreeWaveLogg er: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.da ta.RedKDTreeWaveLogger Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.SearchResult: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.Sear chResult Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.data.SearchResult: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.data.Sear chResult Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.distributer.TriangleDi stributer: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander. gfws.distributer.TriangleDistributer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.distributer.TriangleDi stributer: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander. gfws.distributer.TriangleDistributer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.distributer.WaveDistri buter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws .distributer.WaveDistributer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.distributer.WaveDistri buter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws .distributer.WaveDistributer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.distributer.WeightDist ributer: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gf ws.distributer.WeightDistributer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.distributer.WeightDist ributer: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gf ws.distributer.WeightDistributer Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.drive.DirectSurfSelect ion: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.d rive.DirectSurfSelection Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.drive.DirectSurfSelect ion: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.d rive.DirectSurfSelection Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.drive.DirectSurfSelect or: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.dr ive.DirectSurfSelector Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.drive.DirectSurfSelect or: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.dr ive.DirectSurfSelector Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.drive.DirectWaveSurfin gDrive: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfw s.drive.DirectWaveSurfingDrive Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.drive.DirectWaveSurfin gDrive: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfw s.drive.DirectWaveSurfingDrive Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.gun.targeter.Assumptio nEngine: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gf ws.gun.targeter.AssumptionEngine Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.gun.targeter.Assumptio nEngine: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gf ws.gun.targeter.AssumptionEngine Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.gun.targeter.GuessFact orTargeter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.gun.targeter.GuessFactorTargeter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.gun.targeter.GuessFact orTargeter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.gun.targeter.GuessFactorTargeter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.AbstractFacto rArrayModifier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xa nder.gfws.modifier.AbstractFactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.AbstractFacto rArrayModifier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xa nder.gfws.modifier.AbstractFactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.FactorArrayMo difier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfw s.modifier.FactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.FactorArrayMo difier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfw s.modifier.FactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.HeadOnFactorA rrayModifier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xand er.gfws.modifier.HeadOnFactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.HeadOnFactorA rrayModifier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xand er.gfws.modifier.HeadOnFactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.LinearFactorA rrayModifier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xand er.gfws.modifier.LinearFactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.modifier.LinearFactorA rrayModifier: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xand er.gfws.modifier.LinearFactorArrayModifier Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.processor.FactorArrayP rocessor: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.g fws.processor.FactorArrayProcessor Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.processor.FactorArrayP rocessor: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.g fws.processor.FactorArrayProcessor Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.AbstractSegmen ter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.s egment.AbstractSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.AbstractSegmen ter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.s egment.AbstractSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.AttackerBearin gSegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.segment.AttackerBearingSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.AttackerBearin gSegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.segment.AttackerBearingSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.BulletTravelTi meSegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xande r.gfws.segment.BulletTravelTimeSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.BulletTravelTi meSegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xande r.gfws.segment.BulletTravelTimeSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.DefenderAccele rationSegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.x ander.gfws.segment.DefenderAccelerationSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.DefenderAccele rationSegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.x ander.gfws.segment.DefenderAccelerationSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.LateralVelocit ySegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.segment.LateralVelocitySegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.LateralVelocit ySegmenter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander .gfws.segment.LateralVelocitySegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.Segmenter: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.segment.S egmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.Segmenter: jav a.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws.segment.S egmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.WallStickSegme nter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws. segment.WallStickSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.gfws.segment.WallStickSegme nter: java.lang.ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.gfws. segment.WallStickSegmenter Got an error with xander.cat.XanderCat_12.0.1.xander.paint.Paintable: java.lang. ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.paint.Paintable Got an error with xander.cat.XanderCat_12.0.1.xander.paint.Paintable: java.lang. ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.paint.Paintable Got an error with xander.cat.XanderCat_12.0.1.xander.paint.Paintables: java.lang .ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.paint.Paintables Got an error with xander.cat.XanderCat_12.0.1.xander.paint.Paintables: java.lang .ClassNotFoundException: xander.cat.XanderCat_12.0.1.xander.paint.Paintables Got an error with xander.cat.XanderCat_12.0.1.xander.paint.Painter: java.lang.Cl assNotFoundException: xander.cat.XanderCat_12.0.1.xander.paint.Painter Got an error with xander.cat.XanderCat_12.0.1.xander.paint.Painter: java.lang.Cl assNotFoundException: xander.cat.XanderCat_12.0.1.xander.paint.Painter Update checking with http.
If I copied all my robots to a different folder, uninstalled Robocode, reinstalled Robocode, and then copied the robots back, would the problem be fixed?
Hmm, I know I've seen those kinds of errors before, but beyond clearing robots/.data and robots/robot.database and rebuilding, I'm not sure what to try. Can you actually run (eg) XanderCat 12.0.1 or is the bot itself broken too?
Certainly no harm in trying a fresh Robocode install. I've probably got like a dozen. :-)
!@#$%^&*()!@##$$$%%%***^%^$#@!!@)$%%##**!*#$@!!*&()!!!!!!!!!!!!!!!!!!!!!!!!!!!
I deleted the robocode folder, reinstalled Robocode, deleted the robot.database file, and then tried to run it, and it still froze!
I really have no idea what's causing this. I did get a weird "OutOfMemoryError" today. It's interesting that the error occurred right after Aversari, which is one of the freezing points. It's also interesting that Roboode seems to get stuck at certain alphabetical points, not certain bots. See, for instance, that MostlyHarmlessNano used to be a freezing point, but now the bot right after it is.
Got an error with dz.MostlyHarmlessNano_2.1.dz.MostlyHarmlessNano: java.lang.Cla ssNotFoundException: dz.MostlyHarmlessNano_2.1.dz.MostlyHarmlessNano Got an error with dz.MostlyHarmlessNano_2.1.dz.MostlyHarmlessNano: java.lang.Cla ssNotFoundException: dz.MostlyHarmlessNano_2.1.dz.MostlyHarmlessNano Got an error with dz.MostlyHarmlessNano_2.1.dz.MostlyHarmlessNano: java.lang.Cla ssNotFoundException: dz.MostlyHarmlessNano_2.1.dz.MostlyHarmlessNano Got an error with froh.micro.Aversari_0.31.froh.micro.Aversari: java.lang.ClassN otFoundException: froh.micro.Aversari_0.31.froh.micro.Aversari Got an error with froh.micro.Aversari_0.31.froh.micro.Aversari: java.lang.ClassN otFoundException: froh.micro.Aversari_0.31.froh.micro.Aversari Got an error with froh.micro.Aversari_0.31.froh.micro.Aversari: java.lang.ClassN otFoundException: froh.micro.Aversari_0.31.froh.micro.Aversari UncaughtException on thread class java.lang.Thread: java.lang.OutOfMemoryError: GC overhead limit exceeded at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Hmm - it says: "java.lang.ClassNotFoundException: dz.MostlyHarmlessNano_2.1.dz.MostlyHarmlessNano", and all the other class names seem similarly warped. I think the class it should be looking for is just "dz.MostlyHarmlessNano". Could you check the filename of MostlyHarmlessNano's JAR? Is it dz.MostlyHarmlessNano_2.1.jar, or something else? I'm wondering if the RoboRumble client did something weird in downloading to the wrong filenames and it's throwing off the class names that Robocode expects to find.
I've noticed that strange things happen in the initialization code, for instance it runs my FastTrig init code in the Robocode startup, and if I put System.out.println() statements there they will be printed to the main console. I've been meaning to put in a bug report about this for a while now...
My suggestion is get rid of all the bots you don't need, and start with an empty install. Copy them in a few at a time until you figure out what is going wrong. Maybe just keep your own dev (ie. robocode/robots/sheldor/) directory, and keep extracted bots in a different directory that Robocode doesn't know about. BTW, putting bots in a .zip won't work, since new Robocodes look inside of .zip files for bots.
I tried your suggestion. Robocode still gets the errors, but now it goes through them in a matter of seconds, which I can accept.
Whenever I tried the Robot Editor, I got this message:
Please wait while Robocode sets up a compiler for you... Setting up compiler Java home is <CENSORED>\jre6 Testing compile with Java Compiler (javac) Java Compiler (javac) does not exists or cannot compile. Testing compile with Eclipse Compiler for Java (ECJ) Eclipse Compiler for Java (ECJ) was found and is working. Compiler has been set up successfully. Click OK to continue.
I assume I deleted something important when I was deleting robots, that Robocode had to rebuild, or search for and update references, or something else like that.
Anyway, Robocode works for me now (though testing will be a bit harder), so I thank you all for your help.
Try calling "javac" from the command-line and see if it works.
I finally figured it out!
I had been copying the .jar files directly into the robots folder, when I should have been using the Import Downloaded Robot tool. I guess the tool tells Robocode to treat bots differently from just .jar files.
Would this be something of interest to fnl or any of the other Robocode developers?
Nice! If you can reproduce it, I'd definitely report it. I can't imagine it's intentional those two operations would take different code paths. I've only ever copied JARs into the robots directory.
Oh, I thought this was some other option to add the robot to the repository/cache, but that's actually just the option for extracting the JAR to source files. So you have to extract every JAR for every robot to not get these errors?
Is it giving you trouble with the compiler when you just copy in the .jars? Because if so, that is very strange...
I've always just copied the .jars, but then I don't use the built in editor, I use jGrasp.