Print at Jan 11, 2026, 8:39:42 AM View all posts in this thread on one page
Posted by pencilart at Jun 23, 2010, 10:13:35 PM
SH3D won't exit/quit
I'm on a new system (SuSE 11.2) and have the latest Java 6.
When I started SH3D, it won't shut down.
Now what?

Posted by hansmex at Jun 23, 2010, 10:51:01 PM
Re: SH3D won't exit/quit
Pencilart:

Switch to Ubuntu 10.04?

Hans
Using and loving Ubuntu since 2008
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at Jun 23, 2010, 11:07:45 PM
Re: SH3D won't exit/quit
Pencilart, could you launch Sweet Home 3D in a terminal and report here what happens when you choose File > Quit if ever a text appears in the terminal?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pencilart at Jun 23, 2010, 11:35:10 PM
Re: SH3D won't exit/quit
ok, here is what it says:

./SweetHome3D
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 javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
... 29 more
Caused by: java.lang.RuntimeException: java.util.prefs.BackingStoreException: Couldn't get file lock.
at com.eteks.sweethome3d.SweetHome3D$StandaloneSingleInstanceService.removeSingleInstanceListener(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D$2.collectionChanged(Unknown Source)
at com.eteks.sweethome3d.model.CollectionChangeSupport.fireCollectionChanged(Unknown Source)
at com.eteks.sweethome3d.model.CollectionChangeSupport.fireCollectionChanged(Unknown Source)
at com.eteks.sweethome3d.model.HomeApplication.deleteHome(Unknown Source)
at com.eteks.sweethome3d.viewcontroller.HomeController.exit(Unknown Source)
... 33 more
Caused by: java.util.prefs.BackingStoreException: Couldn't get file lock.
at java.util.prefs.FileSystemPreferences.sync(Unknown Source)
... 39 more
Jun 23, 2010 4:51:40 PM java.util.prefs.FileSystemPreferences syncWorld
WARNING: Couldn't flush user prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.

Posted by Puybaret at Jun 24, 2010, 12:28:04 AM
Re: SH3D won't exit/quit
Quit failed because it couldn't write preferences.
Check if you have the rights to write in your home directory, and if you can write in its .java/.userPrefs/com/eteks/sweethome3d subdirectory too.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pencilart at Jun 24, 2010, 7:12:15 PM
Re: SH3D won't exit/quit
in the .java folder I found this crazy file name:
_!'%!cg"0!'8!~g"p!'w!b!"1!(:!a@"v!'4!.g"w!'8!b!"5!'0!~@"z!'g=
What on earth can that be?
I found eteks' prefs here like you said:
/home/<username>/.java/.userPrefs/com the permissions are set just like all the others drwxr-xr-x

Can I just delete all the occurances of .eteks and will it just start over?

Posted by pencilart at Jun 27, 2010, 9:40:57 PM
Re: SH3D won't exit/quit
I found the problem! I had made the mistake of telling it to open SweetHome3D with java. After reading in the OpenSuSE forums I found the directions for fixing that. Once I removed that association, I opened SH3D and after playing with it for a bit, I shut it down and it worked! :D :D