We're updating the issue view to help you get more done. 

Preferences update fails with error when two windows open

Description

If a second window is launched from within a session, and preferences are changed in the original window, an error will be displayed

1 Attempt to update state of application user interface outside of user interface thread.

with the stack trace:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Attempt to update state of application user interface outside of user interface thread. java.lang.IllegalStateException: Attempt to update state of application user interface outside of user interface thread. at nextapp.echo2.app.ApplicationInstance.notifyComponentPropertyChange(ApplicationInstance.java:537) at nextapp.echo2.app.Component.firePropertyChange(Component.java:462) at nextapp.echo2.app.Component.remove(Component.java:1276) at org.openvpms.web.workspace.MainPane.refreshSummary(MainPane.java:540) at org.openvpms.web.workspace.MainPane.onPreferencesChanged(MainPane.java:449) at org.openvpms.web.workspace.MainPane.access$200(MainPane.java:86) at org.openvpms.web.workspace.MainPane$4.refreshed(MainPane.java:280) at org.openvpms.web.component.prefs.UserPreferences.refresh(UserPreferences.java:115) at org.openvpms.web.component.prefs.PreferencesDialog.save(PreferencesDialog.java:67) at org.openvpms.web.component.im.edit.AbstractEditDialog.onOK(AbstractEditDialog.java:286) at org.openvpms.web.echo.dialog.PopupDialog.onButton(PopupDialog.java:313) at org.openvpms.web.echo.dialog.PopupDialog.onButtonProtected(PopupDialog.java:499) at org.openvpms.web.echo.dialog.PopupDialog.access$000(PopupDialog.java:34) at org.openvpms.web.echo.dialog.PopupDialog$4.onAction(PopupDialog.java:486) at org.openvpms.web.echo.event.ActionListener.actionPerformed(ActionListener.java:40)

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Anderson

Labels

None

Components

Fix versions

Affects versions

1.9

Priority

Minor