|
Sweet Home 3D Forum » List all forums » » Forum: 3D problems » » » Thread: Error on save - string index out of bounds » » » » Post: Error on save - string index out of bounds |
Print at Dec 15, 2025, 11:31:07 PM |
| Posted by fildy at Oct 18, 2013, 10:10:50 PM |
|
Error on save - string index out of bounds Hi, I have been using Sweet Home 3D successfully for a while without any errors when it failed to save the model. The automatic saves every 10 minutes had failed as well, so I know roughly when the problem started. The error I got was Can't save home in: /home/..etc java.lang.StringIndexOutOfBoundsException:String index out of range:-1 It had worked for some time before then, and no updates to any of the software was made during the edit session and saving to a different location made no difference. Error message suggests it is trying to retrieve a string from an empty array. I had imported furniture models created in Blender, and one of these had no materials defined, which could be a cause. I re-imported the furniture model with a material correctly defined and used it afterwards without a problem. So there appears to be a number of potential bugs: 1. Not warning when an automatic save fails leading to wasted edits 2. Not correctly overwriting a furniture item when importing a modified one 3. Not trapping empty string array when saving. The version I am using is 4.1 with Java version 1.6.0_45 Is there any way to save my work or would the only resolution would be to revert to the latest automatic save? |
|
|
Current timezone is GMT Dec 15, 2025, 11:31:07 PM |