EDT Violation reported in log while copying tables
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
Copying tables from a H2 database file to postgres logs the following stacktrace in the logfile repeatedly. It looks like the actual copying is done correctly nevertheless.
2013-03-24 08:28:37,615 [DBCopy Executor Thread] ERROR net.sourceforge.squirrel_sql.plugins.swingviolations.EDTViolationRepaintManager - EDT violation detected in javax.swing.JLabel[,0,18,293x15,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=8388608,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=Analyzing table WIDGETS,verticalAlignment=CENTER,verticalTextPosition=CENTER] java.lang.RuntimeException: EDT violation detected in javax.swing.JLabel[,0,18,293x15,invalid,alignmentX=0.0,alignmentY=0.0,border=,flags=8388608,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,horizontalAlignment=LEADING,horizontalTextPosition=TRAILING,iconTextGap=4,labelFor=,text=Analyzing table WIDGETS,verticalAlignment=CENTER,verticalTextPosition=CENTER] at net.sourceforge.squirrel_sql.plugins.swingviolations.EDTViolationRepaintManager.violationFound(EDTViolationRepaintManager.java:283) at net.sourceforge.squirrel_sql.plugins.swingviolations.EDTViolationRepaintManager.checkThreadViolations(EDTViolationRepaintManager.java:277) at net.sourceforge.squirrel_sql.plugins.swingviolations.EDTViolationRepaintManager.addDirtyRegion(EDTViolationRepaintManager.java:102) at javax.swing.JComponent.repaint(JComponent.java:4795) at java.awt.Component.repaint(Component.java:3286) at javax.swing.JLabel.setText(JLabel.java:344) at javax.swing.ProgressMonitor.setNote(ProgressMonitor.java:439) at net.sourceforge.squirrel_sql.plugins.dbcopy.CopyProgressMonitor.analyzingTable(CopyProgressMonitor.java:465) at net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor.sendAnalyzingTable(CopyExecutor.java:424) at net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor.analyzeTables(CopyExecutor.java:318) at net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor._execute(CopyExecutor.java:144) at net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor.access$000(CopyExecutor.java:57) at net.sourceforge.squirrel_sql.plugins.dbcopy.CopyExecutor$1.run(CopyExecutor.java:121) at java.lang.Thread.run(Thread.java:722)
Fixed in our Git repo. Will be available in future snapshots and screenshots.