SH3D won't exit/quit

This topic has been viewed 3704 times and has 6 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
pencilart
Posts: 188
Joined: Tue Oct 02, 2007 4:37 pm

SH3D won't exit/quit

Post by pencilart »

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?
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: SH3D won't exit/quit

Post by hansmex »

Pencilart:

Switch to Ubuntu 10.04?

Hans
Using and loving Ubuntu since 2008
Hans

new website - under constuction
hansdirkse.info
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: SH3D won't exit/quit

Post by Puybaret »

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
User avatar
pencilart
Posts: 188
Joined: Tue Oct 02, 2007 4:37 pm

Re: SH3D won't exit/quit

Post by pencilart »

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: SH3D won't exit/quit

Post by Puybaret »

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
User avatar
pencilart
Posts: 188
Joined: Tue Oct 02, 2007 4:37 pm

Re: SH3D won't exit/quit

Post by pencilart »

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?
User avatar
pencilart
Posts: 188
Joined: Tue Oct 02, 2007 4:37 pm

Re: SH3D won't exit/quit

Post by pencilart »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest