Modify

Opened 3 years ago

Closed 3 years ago

#13899 closed defect (fixed)

EDT violation in SaveLayersDialog via PluginHandler

Reported by: simon04 Owned by: simon04
Priority: minor Milestone: 16.10
Component: Core Version:
Keywords: Cc:

Description

Plugin handler requires restart after downloading plugins

EDT violation detected
javax.swing.JButton[,0,0,0x0,invalid,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@4cb9a56f,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@44166838,disabledIcon=,disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=Perform actions before restarting,defaultCapable=true]
	at java.lang.Thread.getStackTrace(Thread.java:1556)
	at org.jdesktop.swinghelper.debug.CheckThreadViolationRepaintManager.checkThreadViolations(CheckThreadViolationRepaintManager.java:70)
	at org.jdesktop.swinghelper.debug.CheckThreadViolationRepaintManager.addDirtyRegion(CheckThreadViolationRepaintManager.java:61)
	at javax.swing.JComponent.repaint(JComponent.java:4793)
	at java.awt.Component.repaint(Component.java:3311)
	at javax.swing.AbstractButton.setText(AbstractButton.java:316)
	at javax.swing.AbstractButton.setTextFromAction(AbstractButton.java:1270)
	at javax.swing.AbstractButton.actionPropertyChanged(AbstractButton.java:1216)
	at javax.swing.AbstractButton$ButtonActionPropertyChangeListener.actionPropertyChanged(AbstractButton.java:1364)
	at javax.swing.AbstractButton$ButtonActionPropertyChangeListener.actionPropertyChanged(AbstractButton.java:1352)
	at javax.swing.ActionPropertyChangeListener.propertyChange(ActionPropertyChangeListener.java:88)
	at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
	at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:92)
	at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
	at javax.swing.AbstractAction.firePropertyChange(AbstractAction.java:276)
	at javax.swing.AbstractAction.putValue(AbstractAction.java:211)
	at org.openstreetmap.josm.gui.io.SaveLayersDialog$SaveAndProceedAction.initForReason(SaveLayersDialog.java:466)
	at org.openstreetmap.josm.gui.io.SaveLayersDialog.prepareForSavingAndUpdatingLayers(SaveLayersDialog.java:200)
	at org.openstreetmap.josm.gui.io.SaveLayersDialog.saveUnsavedModifications(SaveLayersDialog.java:119)
	at org.openstreetmap.josm.Main.exitJosm(Main.java:806)
	at org.openstreetmap.josm.actions.RestartAction.restartJOSM(RestartAction.java:86)
	at org.openstreetmap.josm.actions.RestartAction.actionPerformed(RestartAction.java:66)
	at org.openstreetmap.josm.plugins.PluginHandler.lambda$null$0(PluginHandler.java:569)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by simon04

Resolution: fixed
Status: newclosed

In 11208/josm:

fix #13899 - EDT violation in SaveLayersDialog via PluginHandler

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.