saving profile with newly connected existing remote storage fails

Bug #798002 reported by zweiblum
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Syncany
New
Medium
Philipp C. Heckel

Bug Description

If I connect to a existing remote storage (testes ssh, local directory), I cannot save the new profile and the sync folder gets never updated. The new profile has disappeared after restarting syncany and there is no entry added in .syncany/config.xml.

The following error message is printed to the terminal:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
 at org.syncany.config.Folder.save(Folder.java:97)
 at org.syncany.config.Folders.save(Folders.java:83)
 at org.syncany.config.Profile.save(Profile.java:177)
 at org.syncany.config.Profiles.save(Profiles.java:114)
 at org.syncany.config.Config.saveDOM(Config.java:413)
 at org.syncany.config.Config.save(Config.java:301)
 at org.syncany.gui.settings.SettingsDialog.btnOkayActionPerformed(SettingsDialog.java:485)
 at org.syncany.gui.settings.SettingsDialog.access$500(SettingsDialog.java:57)
 at org.syncany.gui.settings.SettingsDialog$7.actionPerformed(SettingsDialog.java:406)
 at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
 at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
 at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
 at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
 at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
 at java.awt.Component.processMouseEvent(Component.java:6268)
 at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
 at java.awt.Component.processEvent(Component.java:6033)
 at java.awt.Container.processEvent(Container.java:2045)
 at java.awt.Component.dispatchEventImpl(Component.java:4629)
 at java.awt.Container.dispatchEventImpl(Container.java:2103)
 at java.awt.Component.dispatchEvent(Component.java:4455)
 at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
 at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
 at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
 at java.awt.Container.dispatchEventImpl(Container.java:2089)
 at java.awt.Window.dispatchEventImpl(Window.java:2517)
 at java.awt.Component.dispatchEvent(Component.java:4455)
 at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
 at java.awt.EventQueue.access$000(EventQueue.java:96)
 at java.awt.EventQueue$1.run(EventQueue.java:608)
 at java.awt.EventQueue$1.run(EventQueue.java:606)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
 at java.awt.EventQueue$2.run(EventQueue.java:622)
 at java.awt.EventQueue$2.run(EventQueue.java:620)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
 at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
 at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
 at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
11-06-15 23:36:31 | jo-notebook | PythonScript | TrayServRead | INFO : time 1308195391.38 - last req 1308195387.24 > timeout 6

$ uname -a
Linux jo-notebook 2.6.38-ARCH #1 SMP PREEMPT Mon Jun 6 22:49:29 CEST 2011 x86_64 Intel(R) Core(TM) i7 CPU M 620 @ 2.67GHz GenuineIntel GNU/Linux

$ python --version
Python 3.2

$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (ArchLinux-6.b22_1.10.2-1-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Changed in syncany:
importance: Undecided → Medium
milestone: none → 0.1-alpha
assignee: nobody → Philipp C. Heckel (binwiederhier)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.