Pathfinder icon indicating copy to clipboard operation
Pathfinder copied to clipboard

JRE crash when generating points (Windows 64-bit)

Open xlash123 opened this issue 8 years ago • 2 comments

I'm trying to run some tests of some trajectories I'm generating to validate them, yet when I try to generate the points on my Windows PC, I keep running into the same error: http://pastebin.com/hy0Uy1pU I've tried various things to fix it, such as confirming that it loads the native libraries and building using gradle, yet nothing seems to fix it. Do you have any idea of what is going wrong? PS: The points do generate when we run it on the roboRIO with no errors.

xlash123 avatar Feb 25 '17 20:02 xlash123

Can I have more info on the log? You didn't include the backtrace.

Do you know if any other functions work other than generate? If not, it might be an architecture issue.

JaciBrunning avatar Feb 27 '17 05:02 JaciBrunning

Don't set an exit angle to 0 exactly in the Waypoints, it causes a divide by zero error and crashes Java. I fixed it by setting the exit angle to 0.001.

rssmith614 avatar Jan 24 '18 03:01 rssmith614