Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build 2.41.1 com.neuronrobotics.bowlerstudio.printbed.PrintBedManager at line 142 #421

Open
JansenSmith opened this issue Aug 30, 2024 · 2 comments
Assignees

Comments

@JansenSmith
Copy link
Member

Auto Reported Issue
BowlerStudio Build 2.41.1
BowlerKernel 1.59.0
JavaCad Version: 1.6.0
Java-Bowler Version: 3.34.0
Java Version: 1.8.0_242
JavaFX Version: 8.0.242

OS = Linux amd64 x64

java.lang.NullPointerException
	at com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.makePrintBeds(PrintBedManager.java:142)
	at com.neuronrobotics.bowlerstudio.scripting.ScriptingFileWidget$1.run(ScriptingFileWidget.java:429)

Caught and reported at:

java.lang.Exception
	at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.except(IssueReportingExceptionHandler.java:234)
	at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.uncaughtException(IssueReportingExceptionHandler.java:51)
	at com.neuronrobotics.bowlerstudio.tabs.LocalFileScriptTab$1.uncaughtException(LocalFileScriptTab.java:62)
	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:41)
	at com.neuronrobotics.bowlerstudio.tabs.LocalFileScriptTab$1.<init>(LocalFileScriptTab.java:53)
	at com.neuronrobotics.bowlerstudio.tabs.LocalFileScriptTab.<clinit>(LocalFileScriptTab.java:52)
	at com.neuronrobotics.bowlerstudio.BowlerStudioController.createFileTab(BowlerStudioController.java:144)
	at com.neuronrobotics.bowlerstudio.BowlerStudioModularFrame.createFileTab(BowlerStudioModularFrame.java:367)
	at com.neuronrobotics.bowlerstudio.BowlerStudio.createFileTab(BowlerStudio.java:741)
	at com.neuronrobotics.bowlerstudio.BowlerStudioMenu.openFilesInUI(BowlerStudioMenu.java:287)
	at com.neuronrobotics.bowlerstudio.BowlerStudioMenu.access$1400(BowlerStudioMenu.java:73)
	at com.neuronrobotics.bowlerstudio.BowlerStudioMenu$2.lambda$run$0(BowlerStudioMenu.java:254)
	at java.lang.Thread.run(Thread.java:748)

@JansenSmith
Copy link
Member Author

clicked Arrange Printbed, got an error:

Skip Writing file contents, file is same
Searching for printbed at /home/jansen/Documents/bowler-workspace/gitcache/github.com/JansenSmith/ProgrammaticFrameBacklighting/printbed.json
Print Bed NOT file found! /home/jansen/Documents/bowler-workspace/gitcache/github.com/JansenSmith/ProgrammaticFrameBacklighting/printbed.json

then clicked Make a Printbed (which had been previously greyed out) and got this different error:

Skip Writing file contents, file is same
Searching for printbed at /home/jansen/Documents/bowler-workspace/gitcache/github.com/JansenSmith/ProgrammaticFrameBacklighting/printbed.json
Print Bed NOT file found! /home/jansen/Documents/bowler-workspace/gitcache/github.com/JansenSmith/ProgrammaticFrameBacklighting/printbed.json
java.lang.Exception
	at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.except(IssueReportingExceptionHandler.java:234)
	at com.neuronrobotics.bowlerstudio.IssueReportingExceptionHandler.uncaughtException(IssueReportingExceptionHandler.java:51)
	at com.neuronrobotics.bowlerstudio.tabs.LocalFileScriptTab$1.uncaughtException(LocalFileScriptTab.java:62)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1057)
	at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:1052)
	at java.lang.Thread.dispatchUncaughtException(Thread.java:1959)

@JansenSmith
Copy link
Member Author

i manually created a printbed.json, but when i hit the left print bed button it gives me this error:

Skip Writing file contents, file is same
Searching for printbed at /home/jansen/Documents/bowler-workspace/gitcache/github.com/JansenSmith/ProgrammaticFrameBacklighting/printbed.json
Print Bed file found! /home/jansen/Documents/bowler-workspace/gitcache/github.com/JansenSmith/ProgrammaticFrameBacklighting/printbed.json
script error
java.lang.Exception: java.lang.NumberFormatException: X can not be negative
	at com.neuronrobotics.bowlerstudio.scripting.ScriptingFileWidget$3.run(ScriptingFileWidget.java:624)
Caused by: 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.printbed.PrintBedManager.init(PrintBedManager.java:96)
	at com.neuronrobotics.bowlerstudio.printbed.PrintBedManager.<init>(PrintBedManager.java:50)
	at com.neuronrobotics.bowlerstudio.scripting.ScriptingFileWidget$3.run(ScriptingFileWidget.java:598)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants