CommonWealthRobotics / BowlerStudio

A Full-Stack Robotics Development Environment
GNU Lesser General Public License v3.0
135 stars 29 forks source link

Build 1.78.1 eu.mihosoft.vrl.v3d.Cube at line 123 #346

Closed PaigeProtagonist closed 1 year ago

PaigeProtagonist commented 1 year ago

Auto Reported Issue BowlerStudio Build 1.78.1 BowlerKernel 1.59.0 JavaCad Version: 0.28.0 Java-Bowler Version: 3.34.0 Java Version: 1.8.0_212 JavaFX Version: 8.0.212

OS = Windows 10 amd64 x64

java.lang.NumberFormatException: X can not be negative
    at eu.mihosoft.vrl.v3d.Cube.toPolygons(Cube.java:123)
    at eu.mihosoft.vrl.v3d.Primitive.toCSG(Primitive.java:64)
    at com.neuronrobotics.bowlerstudio.physics.JBulletCSGPhysicsManager.getBoundingBox(JBulletCSGPhysicsManager.java:101)
    at com.neuronrobotics.bowlerstudio.physics.MobileBasePhysicsManager.<init>(MobileBasePhysicsManager.java:222)
    at com.neuronrobotics.bowlerstudio.physics.MobileBasePhysicsManager.<init>(MobileBasePhysicsManager.java:97)
    at com.neuronrobotics.bowlerstudio.creature.CreaturePhysicsWidget$2.run(CreaturePhysicsWidget.java:108)

Caught and reported at:

java.lang.Exception
    at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.except(IssueReportingExceptionHandler.java:234)
    at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.uncaughtException(IssueReportingExceptionHandler.java:50)
    at com.neuronrobotics.bowlerstudio.tabs.LocalFileScriptTab$1.uncaughtException(LocalFileScriptTab.java:58)
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1057)
    at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
    at java.lang.Thread.dispatchUncaughtException(Thread.java:1959)

IssueReportingExceptionHandler Created at:

java.lang.Exception
    at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.<init>(IssueReportingExceptionHandler.java:40)
    at com.neuronrobotics.bowlerstudio.tabs.LocalFileScriptTab$1.<init>(LocalFileScriptTab.java:50)
    at com.neuronrobotics.bowlerstudio.tabs.LocalFileScriptTab.<clinit>(LocalFileScriptTab.java:49)
    at com.neuronrobotics.bowlerstudio.BowlerStudioController.createFileTab(BowlerStudioController.java:133)
    at com.neuronrobotics.bowlerstudio.BowlerStudioModularFrame.createFileTab(BowlerStudioModularFrame.java:350)
    at com.neuronrobotics.bowlerstudio.BowlerStudio.createFileTab(BowlerStudio.java:549)
    at com.neuronrobotics.bowlerstudio.BowlerStudioMenu.openFilesInUI(BowlerStudioMenu.java:281)
    at com.neuronrobotics.bowlerstudio.BowlerStudioMenu.access$1400(BowlerStudioMenu.java:68)
    at com.neuronrobotics.bowlerstudio.BowlerStudioMenu$2.lambda$run$0(BowlerStudioMenu.java:249)
    at java.lang.Thread.run(Thread.java:748)
madhephaestus commented 1 year ago

fixed in 1.79.0