CommonWealthRobotics / BowlerStudio

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

Build 3.0.7 java.util.HashMap at line 950 #429

Open madhephaestus opened 4 weeks ago

madhephaestus commented 4 weeks ago

Auto Reported Issue BowlerStudio Build 3.0.7 BowlerKernel 1.59.0 JavaCad Version: 1.8.8 Java-Bowler Version: 3.34.0 Java Version: 17.0.11 JavaFX Version: 22.0.1

OS = Linux amd64 x64

java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
    at java.base/java.util.HashMap.keysToArray(HashMap.java:950)
    at java.base/java.util.HashMap$KeySet.toArray(HashMap.java:993)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.openGit(ScriptingEngine.java:412)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.locateGit(ScriptingEngine.java:1845)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.findLocalPath(ScriptingEngine.java:1926)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.findLocalPath(ScriptingEngine.java:1916)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.loadFilesToList(ScriptingEngine.java:849)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.filesInGit(ScriptingEngine.java:868)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.filesInGit(ScriptingEngine.java:875)
    at com.neuronrobotics.bowlerstudio.creature.PhysicsWidget.validateInput(PhysicsWidget.java:251)
    at com.neuronrobotics.bowlerstudio.creature.PhysicsWidget.lambda$validateInput$7(PhysicsWidget.java:237)
    at java.base/java.lang.Thread.run(Thread.java:840)

Caught and reported at:

java.lang.Exception
    at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.except(IssueReportingExceptionHandler.java:234)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.openGit(ScriptingEngine.java:444)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.locateGit(ScriptingEngine.java:1845)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.findLocalPath(ScriptingEngine.java:1926)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.findLocalPath(ScriptingEngine.java:1916)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.loadFilesToList(ScriptingEngine.java:849)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.filesInGit(ScriptingEngine.java:868)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.filesInGit(ScriptingEngine.java:875)
    at com.neuronrobotics.bowlerstudio.creature.PhysicsWidget.validateInput(PhysicsWidget.java:251)
    at com.neuronrobotics.bowlerstudio.creature.PhysicsWidget.lambda$validateInput$7(PhysicsWidget.java:237)
    at java.base/java.lang.Thread.run(Thread.java:840)

IssueReportingExceptionHandler Created at:

java.lang.Exception
    at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.<init>(IssueReportingExceptionHandler.java:41)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.openGit(ScriptingEngine.java:444)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.locateGit(ScriptingEngine.java:1845)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.findLocalPath(ScriptingEngine.java:1926)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.findLocalPath(ScriptingEngine.java:1916)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.loadFilesToList(ScriptingEngine.java:849)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.filesInGit(ScriptingEngine.java:868)
    at com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.filesInGit(ScriptingEngine.java:875)
    at com.neuronrobotics.bowlerstudio.creature.PhysicsWidget.validateInput(PhysicsWidget.java:251)
    at com.neuronrobotics.bowlerstudio.creature.PhysicsWidget.lambda$validateInput$7(PhysicsWidget.java:237)
    at java.base/java.lang.Thread.run(Thread.java:840)