Modify

Opened 3 years ago

Closed 3 years ago

#13779 closed defect (fixed)

EDT violation detected

Reported by: naoliv Owned by: team
Priority: normal Milestone: 16.10
Component: Core Version:
Keywords: edt Cc:

Description

I was taking a look at the terminal and saw messages like this (I don't know what is the cause):

EDT violation detected
javax.swing.JPanel[,0,0,0x0,invalid,layout=java.awt.FlowLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=9,maximumSize=,minimumSize=,preferredSize=]
	at java.lang.Thread.getStackTrace(Thread.java:1552)
	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.JComponent.setFont(JComponent.java:2758)
	at javax.swing.LookAndFeel.installColorsAndFont(LookAndFeel.java:208)
	at javax.swing.plaf.basic.BasicPanelUI.installDefaults(BasicPanelUI.java:66)
	at javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java:56)
	at javax.swing.JComponent.setUI(JComponent.java:666)
	at javax.swing.JPanel.setUI(JPanel.java:153)
	at javax.swing.JPanel.updateUI(JPanel.java:126)
	at javax.swing.JPanel.<init>(JPanel.java:86)
	at javax.swing.JPanel.<init>(JPanel.java:109)
	at javax.swing.JPanel.<init>(JPanel.java:117)
	at javax.swing.JRootPane.createGlassPane(JRootPane.java:546)
	at javax.swing.JRootPane.<init>(JRootPane.java:366)
	at javax.swing.JDialog.createRootPane(JDialog.java:667)
	at javax.swing.JDialog.dialogInit(JDialog.java:648)
	at javax.swing.JDialog.<init>(JDialog.java:593)
	at org.openstreetmap.josm.gui.ExtendedDialog.<init>(ExtendedDialog.java:157)
	at org.openstreetmap.josm.gui.ExtendedDialog.<init>(ExtendedDialog.java:134)
	at org.openstreetmap.josm.gui.util.GuiHelper.warnUser(GuiHelper.java:199)
	at org.openstreetmap.josm.actions.MergeLayerAction.warnMergingUploadDiscouragedLayers(MergeLayerAction.java:116)
	at org.openstreetmap.josm.actions.MergeLayerAction.lambda$doMerge$1(MergeLayerAction.java:49)
	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)
EDT violation detected
javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=]
	at java.lang.Thread.getStackTrace(Thread.java:1552)
	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.JComponent.setUI(JComponent.java:671)
	at javax.swing.JRootPane.setUI(JRootPane.java:474)
	at javax.swing.JRootPane.updateUI(JRootPane.java:484)
	at javax.swing.JRootPane.<init>(JRootPane.java:371)
	at javax.swing.JDialog.createRootPane(JDialog.java:667)
	at javax.swing.JDialog.dialogInit(JDialog.java:648)
	at javax.swing.JDialog.<init>(JDialog.java:593)
	at org.openstreetmap.josm.gui.ExtendedDialog.<init>(ExtendedDialog.java:157)
	at org.openstreetmap.josm.gui.ExtendedDialog.<init>(ExtendedDialog.java:134)
	at org.openstreetmap.josm.gui.util.GuiHelper.warnUser(GuiHelper.java:199)
	at org.openstreetmap.josm.actions.MergeLayerAction.warnMergingUploadDiscouragedLayers(MergeLayerAction.java:116)
	at org.openstreetmap.josm.actions.MergeLayerAction.lambda$doMerge$1(MergeLayerAction.java:49)
	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)
EDT violation detected
javax.swing.JButton[,2,2,124x34,alignmentX=0.0,alignmentY=0.5,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@29dc96c0,flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=javax.swing.ImageIcon@286b9772,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=Cancelar,defaultCapable=true]
	at java.lang.Thread.getStackTrace(Thread.java:1552)
	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.JRootPane.setDefaultButton(JRootPane.java:799)
	at org.openstreetmap.josm.gui.ExtendedDialog.showDialog(ExtendedDialog.java:300)
	at org.openstreetmap.josm.gui.util.GuiHelper.warnUser(GuiHelper.java:210)
	at org.openstreetmap.josm.actions.MergeLayerAction.warnMergingUploadDiscouragedLayers(MergeLayerAction.java:116)
	at org.openstreetmap.josm.actions.MergeLayerAction.lambda$doMerge$1(MergeLayerAction.java:49)
	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)

JOSM:

Build-Date:2016-10-09 13:51:08
Revision:11110
Is-Local-Build:true

Identification: JOSM/1.5 (11110 SVN pt_BR) Linux Debian GNU/Linux unstable (sid)
Memory Usage: 719 MB / 4029 MB (371 MB allocated, but free)
Java version: 1.8.0_102-8u102-b14.1-2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u102-b14.1-2
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-9
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (32699)
+ Create_grid_of_ways (32699)
+ FastDraw (32938)
+ FixAddresses (32796)
+ ImportImagePlugin (32699)
+ OpeningHoursEditor (32699)
+ PicLayer (32796)
+ SimplifyArea (32796)
+ apache-commons (32699)
+ buildings_tools (32944)
+ download_along (32946)
+ editgpx (32699)
+ ejml (32680)
+ geotools (32813)
+ graphview (32796)
+ jogl (1.0.46)
+ jts (32699)
+ kendzi3d (1.0.191)
+ kendzi3d-resources (0.0.1)
+ log4j (32699)
+ measurement (32936)
+ merge-overlap (32699)
+ opendata (32898)
+ pdfimport (32796)
+ photo_geotagging (32699)
+ poly (32699)
+ reverter (32796)
+ tageditor (33021)
+ tagging-preset-tester (32869)
+ todo (30000)
+ turnlanes-tagging (252)
+ turnrestrictions (32796)
+ undelete (32699)
+ utilsplugin2 (32815)

Attachments (0)

Change History (2)

comment:1 Changed 3 years ago by Don-vip

Keywords: edt added
Milestone: 16.10

comment:2 Changed 3 years ago by simon04

Resolution: fixed
Status: newclosed

In 11123/josm:

fix #13779 - EDT violation detected

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.