-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
[Bug] System.NullReferenceException: Object reference not set to an instance of an object (Lychee 7.2 ctb v4) #1002
Comments
This is your first time submitting an issue with UVtools 🥳Please review your issue and ensure that the submit template was followed, the information is complete, and not related to any other open issue. It will be reviewed shortly. Debugging is very important and make the program better. Thanks for contributing and making the software better! 🙌 |
I used your attached file and did the "generate an elephant foot calibration test and save it" but it does not raise any error to me. File was saved and reloaded fine. Are you sure you have the correct file attached? |
Thank you for testing - I will doublecheck my file once I’m back home, tomorrow at the latest. |
Yes I've doublechecked, issue remains. So to be precise:
I will now check on Windows 10 and the newest UV Tools version there. |
I cannot reproduce the issue on Windows 10: good to know that it works well there. Will reinstall on macOS Monterey and also try macOS Sequioa on another machine. |
Fresh install on macOS Sequioa on different machine (iMac18,3): same issue Reinstall on Mac Pro detailed above: same issue Will try my third machine: macOS Sequoia, arm64 |
The problem is with lychee slicer not setting a MachineName on file, resulting somehow on a Windows and macOS have no difference in file format logic, there are no IF regarding OSes.
Never manual install UVtools on macOS, always use the auto-installer script, stated on readme page. |
I used the same file in Windows, downloaded from the link above here.
I see... I assumed the zip files on the releases page could be used as-is. Installing with the script on arm64 works but issue remains. Same for reinstalling on macOS x64. I will bring this issue to the attention of the Lychee team. By the way, I had missed that the current Lychee version is 7.2.2, but this issue is present there also. |
System
Printer and Slicer
Description of the bug
When I slice a ctb v4 file in Lychee, import it into UV Tools, generate an elephant foot calibration test and save it, the following error results:
System.NullReferenceException: Object reference not set to an instance of an object. at UVtools.Core.FileFormats.ChituboxFile.EncodeInternally(OperationProgress progress) in UVtools.Core/FileFormats/ChituboxFile.cs:line 1845 at UVtools.Core.FileFormats.FileFormat.Encode(String fileFullPath, OperationProgress progress) in UVtools.Core/FileFormats/FileFormat.cs:line 4559 at UVtools.UI.MainWindow.<>c__DisplayClass105_0.<SaveFile>b__2() in UVtools.UI/MainWindow.axaml.cs:line 2279
How to reproduce
see above, and the file below. using ctb v3 does not produce the error.
Files
Boxes_of_Calibration.ctb.zip
The text was updated successfully, but these errors were encountered: