Open schrum2 opened 6 years ago
-go in change pogamut (might not be possible) -find class that is incorrectly parsing and make own version to handle it -turbo option: find where exception is being thrown, use try catch, catch exception and ignore it rather than crashing
removed ray tracing, bots ran for maybe a minute running around, then crashed with
Component: SyncUT2004BotLogic
Message: Thread 3: Logic iteration exception.
Cause: class java.lang.NullPointerException: null (at utopia.controllers.scripted.UnstuckController.moveAway(UnstuckController.java:246))
Stacktrace:
cz.cuni.amis.pogamut.base.component.controller.ComponentController.fatalError(ComponentController.java:513)
cz.cuni.amis.pogamut.base.agent.module.LogicModule$LogicRunner.run(LogicModule.java:457)
java.lang.Thread.run(Unknown Source)
Caused by: class java.lang.NullPointerException: null (at utopia.controllers.scripted.UnstuckController.moveAway(UnstuckController.java:246))
utopia.controllers.scripted.UnstuckController.moveAway(UnstuckController.java:246)
utopia.controllers.scripted.UnstuckController.control(UnstuckController.java:186)
utopia.controllers.scripted.UnstuckController.control(UnstuckController.java:51)
edu.utexas.cs.nn.bots.UT2.getAction(UT2.java:617)
edu.utexas.cs.nn.bots.UT2.logic(UT2.java:436)
cz.cuni.amis.pogamut.base.agent.module.LogicModule$LogicRunner.run(LogicModule.java:425)
java.lang.Thread.run(Unknown Source)
]
Problem found to be with ray traces, and the bot could run until it got stuck, but when it tried to use unstuck, it tried to use a ray trace, and since these were commented out, it crashed on unstuck
commented out the addRayToAutoTrace method, and any lines that called it.
tested raytraceing bot in team server, and it does work
I would like an update on this issue. It looks like the simple raytracing bot does work fine in a team server, but UT^2 does not? I just want to confirm what state this issue is in.
Also, when you said you commented out addRayToAutoTrace above, what bot was that in? Does UT^2 no longer have working ray traces at all? Even in free-for-all death match?
Keeps crashing with this exception: