|
Sweet Home 3D Forum » List all forums » » Forum: New versions » » » Thread: Sweet Home 3D 7.2 |
||
| Print at Dec 20, 2025, 3:19:30 AM |
|
|
| Posted by snmavronis at Feb 24, 2024, 12:22:25 AM |
|
Re: Sweet Home 3D 7.2 P.S. Wish I could edit my posts. Maybe it would be better if I uninstall Sweet Home 3D. Reinstall it under it's normal default paths which should create the eTeks\Sweet Home 3D folders and install all the SH3D plugins to start over. My other data folders should be accessible. I feel it's had a short circuit maybe registry settings are borked. What to you think? ---------------------------------------- Steve N Mavronis - Retired PC Tech |
| Posted by Puybaret at Feb 24, 2024, 1:32:34 AM |
|
Re: Sweet Home 3D 7.2 Installing the program again won’t change anything. Pleeeaaase, run the program from a cmd window like I proposed. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by sjb007 at Feb 24, 2024, 1:59:44 AM |
|
Re: Sweet Home 3D 7.2 @snmavronis Daniels gave you an incorrect path to find the log.txt file. This is strange as he wrote that little plugin C:\Users\<your username>\AppData\Roaming\eTeks\Sweet Home 3D\log.txtAppData is hidden by default in windows file explorer, so you may need to set explorer to show hidden files if you can't see it. Or just run the command like Emmanuel asked. Either one should give us more info. |
| Posted by snmavronis at Feb 24, 2024, 2:05:44 AM |
|
Re: Sweet Home 3D 7.2 C:\Windows\System32>"D:\Program Files (x86)\Sweet Home 3D\SweetHome3D.exe" 2>"C:\Users\snmav\Desktop\log.txt" WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/D:/Program%20Files%20(x86)/Sweet%20Home%203D/lib/java3d-1.6/j3dcore.jar) to method sun.awt.AppContext.getAppContext() WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release ---------------------------------------- Steve N Mavronis - Retired PC Tech |
| Posted by snmavronis at Feb 24, 2024, 2:08:01 AM |
|
Re: Sweet Home 3D 7.2 Here's the hidden AppData log.txt file: Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.eteks.sweethome3d.swing.ControllerAction.actionPerformed(Unknown Source) at com.eteks.sweethome3d.swing.ResourceAction$AbstractDecoratedAction.actionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6400) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) ... 40 more Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.base/java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:870) at java.base/java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:487) at java.base/java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:426) at java.base/java.util.ComparableTimSort.sort(ComparableTimSort.java:222) at java.base/java.util.Arrays.sort(Arrays.java:1249) at java.desktop/sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:313) at java.desktop/sun.awt.shell.ShellFolder.get(ShellFolder.java:259) at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI$DirectoryComboBoxModel.addItem(WindowsFileChooserUI.java:1087) at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI.doDirectoryChanged(WindowsFileChooserUI.java:74 1) at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI$11.propertyChange(WindowsFileChooserUI.java:832) at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341) at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333) at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266) at java.desktop/java.awt.Component.firePropertyChange(Component.java:8731) at java.desktop/javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:608) at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:362) at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:308) at com.eteks.sweethome3d.swing.FileContentManager.showFileChooser(Unknown Source) at com.eteks.sweethome3d.swing.FileContentManager.showSaveDialog(Unknown Source) at com.eteks.sweethome3d.swing.HomePane.showSaveDialog(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController.saveAs(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController.saveAs(Unknown Source) ... 44 more Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at com.eteks.sweethome3d.swing.ControllerAction.actionPerformed(Unknown Source) at com.eteks.sweethome3d.swing.ResourceAction$AbstractDecoratedAction.actionPerformed(Unknown Source) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020) at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342) at java.desktop/java.awt.Component.processEvent(Component.java:6400) at java.desktop/java.awt.Container.processEvent(Container.java:2263) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) ... 40 more Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract! at java.base/java.util.ComparableTimSort.mergeHi(ComparableTimSort.java:870) at java.base/java.util.ComparableTimSort.mergeAt(ComparableTimSort.java:487) at java.base/java.util.ComparableTimSort.mergeForceCollapse(ComparableTimSort.java:426) at java.base/java.util.ComparableTimSort.sort(ComparableTimSort.java:222) at java.base/java.util.Arrays.sort(Arrays.java:1249) at java.desktop/sun.awt.shell.Win32ShellFolderManager2.get(Win32ShellFolderManager2.java:313) at java.desktop/sun.awt.shell.ShellFolder.get(ShellFolder.java:259) at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI$DirectoryComboBoxModel.addItem(WindowsFileChooserUI.java:1087) at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI.doDirectoryChanged(WindowsFileChooserUI.java:74 1) at java.desktop/com.sun.java.swing.plaf.windows.WindowsFileChooserUI$11.propertyChange(WindowsFileChooserUI.java:832) at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341) at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333) at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266) at java.desktop/java.awt.Component.firePropertyChange(Component.java:8731) at java.desktop/javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:608) at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:362) at java.desktop/javax.swing.JFileChooser.<init>(JFileChooser.java:308) at com.eteks.sweethome3d.swing.FileContentManager.showFileChooser(Unknown Source) at com.eteks.sweethome3d.swing.FileContentManager.showSaveDialog(Unknown Source) at com.eteks.sweethome3d.swing.HomePane.showSaveDialog(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController.saveAs(Unknown Source) at com.eteks.sweethome3d.viewcontroller.HomeController.saveAs(Unknown Source) ... 44 more ---------------------------------------- Steve N Mavronis - Retired PC Tech |
| Posted by Daniels118 at Feb 24, 2024, 1:13:35 PM |
|
Re: Sweet Home 3D 7.2 @sbj007 My plugin uses the same method used by SH3D to get the output folder, it is the result of a computation, so it may vary depending on the environment. @snmavronis Btw, the plugin and the output redirection method from the command line are mutually exclusive, so only one should be used. @snmavronis, @PUYBARET The specific problem it is described here: https://bugs.openjdk.org/browse/JDK-8305072 and a possible workaround that may be applied without waiting for a bug fix is here (but I'm not able to test it): https://github.com/apache/netbeans/discussions/6361 It would be nice to see which files are actually breking the file dialog. |
| Posted by Puybaret at Feb 24, 2024, 4:26:25 PM |
|
Re: Sweet Home 3D 7.2 Thanks Steve, that's the information I was looking for. You may not understand a word of it, but for Java programmers, it contains the information that will help them to fix your issue. I'm pretty sure you actually encountered the bug #8305072 in Java mentioned by Daniele, which is not fixed yet. Reading the comments of that bug report, it seems to be an issue bound to homonyms in the file system. Very strange, since a file name is supposed to be unique in a directory, but that could be half true from a user's point of view when localization is involved. Could you check in the folder where you expect to save your files if there are some homonyms or files named with unconventional names? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by snmavronis at Feb 24, 2024, 5:09:47 PM |
|
Re: Sweet Home 3D 7.2 I appreciate you guys spending time of this. I can't find any files with the same name within a folder. Sub-folders shouldn't matter but Windows won't allow that anyway, it would ask to overwrite or rename. In my home save folder I tried renaming some files that were home remodeling quotes containing # and ( ) and , symbols even though they are legal filename characters. Then I moved all unnecessary files into sub-folders. I also deleted some models in my home; computer equipment that was on a desk and a regular save. No change, can't do a save-as, no error on-screen it just ignores the menu selection. Here is a current directory list: C:\Users\snmav\Pictures\House Plans>dir Volume in drive C is Windows Volume Serial Number is 2E85-8F3A Directory of C:\Users\snmav\Pictures\House Plans 02/24/2024 11:00 AM <DIR> . 11/23/2023 04:15 PM <DIR> .. 02/24/2024 10:49 AM 195,217,656 3200future156.sh3d 11/03/2022 04:45 PM 259,695,828 3200SH3Dfuture144.sh3d 02/25/2023 06:20 PM 259,698,668 3200SH3Dfuture145.sh3d 03/31/2023 09:47 PM 259,698,674 3200SH3Dfuture146.sh3d 06/24/2023 09:50 PM 270,073,104 3200SH3Dfuture147.sh3d 07/11/2023 11:00 AM 272,234,491 3200SH3Dfuture148.sh3d 07/23/2023 05:27 PM 289,812,997 3200SH3Dfuture149.sh3d 08/10/2023 01:22 PM 312,102,837 3200SH3Dfuture150.sh3d 08/16/2023 08:39 PM 244,547,641 3200SH3Dfuture151.sh3d 08/18/2023 10:30 AM 244,548,342 3200SH3Dfuture152.sh3d 02/21/2024 05:02 PM 241,391,825 3200SH3Dfuture153.sh3d 02/21/2024 10:47 PM 241,391,873 3200SH3Dfuture154TV.sh3d 02/24/2024 09:21 AM 241,401,991 3200SH3Dfuture155TV.sh3d 07/29/2023 08:04 PM <DIR> Custom 02/24/2024 10:59 AM <DIR> Diagrams 02/24/2024 11:00 AM <DIR> Misc 01/16/2024 11:40 AM <DIR> Models 02/21/2024 11:13 PM <DIR> OldSH3D 02/23/2024 05:34 PM <DIR> Plug-ins 02/21/2024 10:58 PM <DIR> Renders 02/24/2024 10:42 AM <DIR> SH3D Models 08/19/2023 04:49 PM <DIR> SH3D Textures 02/23/2024 05:40 PM 11,384 test.sh3d 02/24/2024 10:42 AM <DIR> Textures 14 File(s) 3,331,827,311 bytes 12 Dir(s) 404,607,152,128 bytes free ---------------------------------------- Steve N Mavronis - Retired PC Tech |
| Posted by Puybaret at Feb 24, 2024, 6:38:54 PM |
|
Re: Sweet Home 3D 7.2 Steve, I sent you an email with a special version which may fix your issue, using a FileDialog rather than a JFileChooser instance in case the error you reported happens. If it works, I'll commit the change in source code. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Puybaret at Feb 24, 2024, 7:32:54 PM |
|
Re: Sweet Home 3D 7.2 As I fear that the Java bug #8305072 takes a long a long time to be fixed (it seems complicated to reproduce), I chose to circumvent it by using a FileDialog rather than a JFileChooser instance in case this error happens (see commit #8910). Steve confirmed that it fixed his problem. I'll publish a version 7.3 Beta soon with other small changes. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
|
Current timezone is GMT Dec 20, 2025, 3:19:30 AM |