{"action":"created","issue":{"url":"https://api.github.com/repos/syncany/syncany/issues/409","labels_url":"https://api.github.com/repos/syncany/syncany/issues/409/labels{/name}","comments_url":"https://api.github.com/repos/syncany/syncany/issues/409/comments","events_url":"https://api.github.com/repos/syncany/syncany/issues/409/events","html_url":"https://github.com/syncany/syncany/issues/409","id":60873727,"number":409,"title":"Mac GUI crashes","user":{"login":"andunix","id":151226,"avatar_url":"https://avatars.githubusercontent.com/u/151226?v=3","gravatar_id":"","url":"https://api.github.com/users/andunix","html_url":"https://github.com/andunix","followers_url":"https://api.github.com/users/andunix/followers","following_url":"https://api.github.com/users/andunix/following{/other_user}","gists_url":"https://api.github.com/users/andunix/gists{/gist_id}","starred_url":"https://api.github.com/users/andunix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andunix/subscriptions","organizations_url":"https://api.github.com/users/andunix/orgs","repos_url":"https://api.github.com/users/andunix/repos","events_url":"https://api.github.com/users/andunix/events{/privacy}","received_events_url":"https://api.github.com/users/andunix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncany/syncany/labels/prio:high","name":"prio:high","color":"e11d21"},{"url":"https://api.github.com/repos/syncany/syncany/labels/status:help-needed","name":"status:help-needed","color":"009800"},{"url":"https://api.github.com/repos/syncany/syncany/labels/type:bug","name":"type:bug","color":"eb6420"},{"url":"https://api.github.com/repos/syncany/syncany/labels/what:gui","name":"what:gui","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T18:43:14Z","updated_at":"2015-03-12T18:58:46Z","closed_at":null,"body":"The Mac GUI crashes when opening the preferences. I'm using OS X 10.10.2. Java is 1.7.0_76 and 1.8.0_31 (default).\r\nWhen starting the GUI, there is an exception but ist starts.\r\n```\r\nException in thread \"GuiWsClient\" java.lang.NoClassDefFoundError: org/syncany/operations/daemon/messages/api/XmlMessageFactory\r\n\tat org.syncany.operations.gui.GuiWebSocketClient.postMessage(GuiWebSocketClient.java:266)\r\n\tat org.syncany.operations.gui.GuiWebSocketClient.onRequest(GuiWebSocketClient.java:253)\r\n\tat org.syncany.operations.gui.GuiWebSocketClient.sendListWatchesRequest(GuiWebSocketClient.java:156)\r\n\tat org.syncany.operations.gui.GuiWebSocketClient.connectAndWait(GuiWebSocketClient.java:142)\r\n\tat org.syncany.operations.gui.GuiWebSocketClient$1.run(GuiWebSocketClient.java:101)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.ClassNotFoundException: org.syncany.operations.daemon.messages.api.XmlMessageFactory\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:366)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:355)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:354)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:425)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\t... 6 more\r\n```\r\nBut if I then select \"Preferences\" from the menu, it crashes with\r\n```\r\nError: Failed to execute runnable (java.lang.NoClassDefFoundError: org/syncany/operations/daemon/messages/api/XmlMessageFactory)\r\n       Refer to help page using '--help'.\r\n```"},"comment":{"url":"https://api.github.com/repos/syncany/syncany/issues/comments/78569783","html_url":"https://github.com/syncany/syncany/issues/409#issuecomment-78569783","issue_url":"https://api.github.com/repos/syncany/syncany/issues/409","id":78569783,"user":{"login":"andunix","id":151226,"avatar_url":"https://avatars.githubusercontent.com/u/151226?v=3","gravatar_id":"","url":"https://api.github.com/users/andunix","html_url":"https://github.com/andunix","followers_url":"https://api.github.com/users/andunix/followers","following_url":"https://api.github.com/users/andunix/following{/other_user}","gists_url":"https://api.github.com/users/andunix/gists{/gist_id}","starred_url":"https://api.github.com/users/andunix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andunix/subscriptions","organizations_url":"https://api.github.com/users/andunix/orgs","repos_url":"https://api.github.com/users/andunix/repos","events_url":"https://api.github.com/users/andunix/events{/privacy}","received_events_url":"https://api.github.com/users/andunix/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T18:58:46Z","updated_at":"2015-03-12T18:58:46Z","body":"With the debug option, I got some more informations. I tried creating the directory `/Users/andreas/Library/Java/Extensions`, but the exception didn't go away.\r\n```\r\n12-3-15 19:55:48.717 | DesktopUtil     | main           | INFO : Autostart (enabled): Adding item to OSX login items\r\n12-3-15 19:55:48.734 | DesktopUtil     | main           | WARN : Autostart: Cannot alter OSX login items.\r\njava.io.IOException: Unable to add autostart for unbundled app (2): /Users/andreas/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr\r\n\tat org.syncany.gui.util.DesktopUtil.addLoginItemsEntryOSX(DesktopUtil.java:249)\r\n\tat org.syncany.gui.util.DesktopUtil.writeAutostartOSX(DesktopUtil.java:225)\r\n\tat org.syncany.gui.util.DesktopUtil.writeAutostart(DesktopUtil.java:133)\r\n\tat org.syncany.gui.preferences.GeneralPanel.writeOrDeleteStartupScriptFile(GeneralPanel.java:212)\r\n\tat org.syncany.gui.preferences.GeneralPanel.<init>(GeneralPanel.java:77)\r\n\tat org.syncany.gui.preferences.PreferencesDialog.buildPanels(PreferencesDialog.java:276)\r\n\tat org.syncany.gui.preferences.PreferencesDialog.open(PreferencesDialog.java:91)\r\n\tat org.syncany.gui.tray.TrayIcon$3.run(TrayIcon.java:169)\r\n\tat org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\r\n\tat org.syncany.operations.gui.GuiOperation.startEventDispatchLoop(GuiOperation.java:206)\r\n\tat org.syncany.operations.gui.GuiOperation.execute(GuiOperation.java:99)\r\n\tat org.syncany.cli.GuiCommand.execute(GuiCommand.java:48)\r\n\tat org.syncany.cli.CommandLineClient.runLocally(CommandLineClient.java:391)\r\n\tat org.syncany.cli.CommandLineClient.runCommand(CommandLineClient.java:381)\r\n\tat org.syncany.cli.CommandLineClient.start(CommandLineClient.java:197)\r\n\tat org.syncany.Syncany.main(Syncany.java:55)\r\n12-3-15 19:55:48.740 | org.apache.http | Finalizer      | FINE : Connection manager is shutting down\r\n12-3-15 19:55:48.741 | org.apache.http | Finalizer      | FINE : http-outgoing-0: Close connection\r\n12-3-15 19:55:48.743 | org.apache.http | Finalizer      | FINE : http-outgoing-0: Close connection\r\n12-3-15 19:55:48.743 | org.apache.http | Finalizer      | FINE : Connection manager shut down\r\n12-3-15 19:55:48.751 | InternalEventBu | main           | INFO : Event bus 'GuiEventBus': Registering PluginsPanel (PluginsPanel {}) ...\r\n12-3-15 19:55:48.783 | InternalEventBu | main           | INFO : Event bus 'GuiEventBus': Posting event PluginManagementRequest (org.syncany.operations.daemon.messages.PluginManagementRequest@5b7e588b) ...\r\n12-3-15 19:55:48.785 | CommandLineClie | main           | SEVE : Command org.syncany.cli.GuiCommand@77efc193 FAILED. \r\norg.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/syncany/operations/daemon/messages/api/XmlMessageFactory)\r\n\tat org.eclipse.swt.SWT.error(Unknown Source)\r\n\tat org.eclipse.swt.SWT.error(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)\r\n\tat org.syncany.operations.gui.GuiOperation.startEventDispatchLoop(GuiOperation.java:206)\r\n\tat org.syncany.operations.gui.GuiOperation.execute(GuiOperation.java:99)\r\n\tat org.syncany.cli.GuiCommand.execute(GuiCommand.java:48)\r\n\tat org.syncany.cli.CommandLineClient.runLocally(CommandLineClient.java:391)\r\n\tat org.syncany.cli.CommandLineClient.runCommand(CommandLineClient.java:381)\r\n\tat org.syncany.cli.CommandLineClient.start(CommandLineClient.java:197)\r\n\tat org.syncany.Syncany.main(Syncany.java:55)\r\nCaused by: java.lang.NoClassDefFoundError: org/syncany/operations/daemon/messages/api/XmlMessageFactory\r\n\tat org.syncany.operations.gui.GuiWebSocketClient.postMessage(GuiWebSocketClient.java:266)\r\n\tat org.syncany.operations.gui.GuiWebSocketClient.onRequest(GuiWebSocketClient.java:253)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)\r\n\tat com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)\r\n\tat com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)\r\n\tat com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)\r\n\tat com.google.common.eventbus.EventBus.post(EventBus.java:267)\r\n\tat org.syncany.config.InternalEventBus.post(InternalEventBus.java:76)\r\n\tat org.syncany.gui.preferences.PluginsPanel.refreshPluginList(PluginsPanel.java:557)\r\n\tat org.syncany.gui.preferences.PluginsPanel.createControls(PluginsPanel.java:115)\r\n\tat org.syncany.gui.preferences.PluginsPanel.<init>(PluginsPanel.java:103)\r\n\tat org.syncany.gui.preferences.PreferencesDialog.buildPanels(PreferencesDialog.java:277)\r\n\tat org.syncany.gui.preferences.PreferencesDialog.open(PreferencesDialog.java:91)\r\n\tat org.syncany.gui.tray.TrayIcon$3.run(TrayIcon.java:169)\r\n\tat org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)\r\n\t... 10 more\r\nError: Failed to execute runnable (java.lang.NoClassDefFoundError: org/syncany/operations/daemon/messages/api/XmlMessageFactory)\r\n       Refer to help page using '--help'.\r\n\r\n12-3-15 19:55:48.786 | GuiOperation    | Thread-1       | INFO : Releasing SWT Resources\r\n12-3-15 19:55:48.786 | OSXTrayIcon     | Thread-5       | INFO : Cleaning up notification helper...\r\n```"}}