EDT violation detected Issue:: Need help

476 views
Skip to first unread message

Ask QTP

unread,
Apr 17, 2015, 6:54:50 AM4/17/15
to seleniu...@googlegroups.com
Hi all,
I am trying to automate an application which is a mixture of Web+Swing.
For web I am using selenium and for Swing I am using fest and AutoIT. It was running fine till date.
But when I upgraded my jars to Selenium 2.45 and upgraded ChromeDriver to latest 2.15 , I am getting the below written issue:

org.fest.swing.exception.EdtViolationException: EDT violation detected

                at java.lang.Thread.getStackTrace(Unknown Source)

                at org.fest.util.StackTraces.stackTraceInCurrentThread(StackTraces.java:47)

                at org.fest.swing.edt.CheckThreadViolationRepaintManager.checkThreadViolations(CheckThreadViolationRepaintManager.java:78)

                at org.fest.swing.edt.CheckThreadViolationRepaintManager.addDirtyRegion(CheckThreadViolationRepaintManager.java:69)

                at org.fest.swing.edt.FailOnThreadViolationRepaintManager.addDirtyRegion(FailOnThreadViolationRepaintManager.java:31)

                at javax.swing.JComponent.repaint(Unknown Source)

                at java.awt.Component.repaint(Unknown Source)

                at javax.swing.JComponent.setFont(Unknown Source)

                at javax.swing.LookAndFeel.installColorsAndFont(Unknown Source)

                at javax.swing.plaf.basic.BasicPanelUI.installDefaults(Unknown Source)

                at javax.swing.plaf.basic.BasicPanelUI.installUI(Unknown Source)

                at javax.swing.JComponent.setUI(Unknown Source)

                at javax.swing.JPanel.setUI(Unknown Source)

                at javax.swing.JPanel.updateUI(Unknown Source)

                at javax.swing.JPanel.<init>(Unknown Source)

                at javax.swing.JPanel.<init>(Unknown Source)

                at javax.swing.JPanel.<init>(Unknown Source)

                at javax.swing.JRootPane.createGlassPane(Unknown Source)

                at javax.swing.JRootPane.<init>(Unknown Source)

                at javax.swing.JFrame.createRootPane(Unknown Source)

                at javax.swing.JFrame.frameInit(Unknown Source)

                at javax.swing.JFrame.<init>(Unknown Source)

                at org.sikuli.script.TransparentWindow.<init>(TransparentWindow.java:13)

                at org.sikuli.script.ScreenHighlighter.<init>(ScreenHighlighter.java:291)

                at org.sikuli.script.Screen.initBounds(Screen.java:105)

                at org.sikuli.script.Screen.<init>(Screen.java:117)

                at atg.test.selenium.controls.webui.livehelp.accountadmin.forms.LoginForm.login_iha(LoginForm.java:53)

                at atg.test.selenium.business.livehelp.accountadmin.LoginLogout.Login_iha(LoginLogout.java:53)

                at atg.test.selenium.business.livehelp.accountadmin.LoginLogout.Login_iha(LoginLogout.java:31)

                at atg.test.selenium.accountadmin.testscripts.iharegression.accounts.Account001.main(Account001.java:40)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

                at java.lang.reflect.Method.invoke(Unknown Source)

                at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)

                at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)

                at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)

                at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)

                at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

                at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)

                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)

                at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)

                at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

                at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

                at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

                at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

                at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

                at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

                at org.junit.runners.Suite.runChild(Suite.java:127)

                at org.junit.runners.Suite.runChild(Suite.java:26)

                at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)

                at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)

                at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)

                at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)

                at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)

                at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)

                at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)

                at org.junit.runners.ParentRunner.run(ParentRunner.java:309)

                at atg.test.selenium.core.CustomTestRunner.run(CustomTestRunner.java:67)

                at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)

                at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)

                at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)

                at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)

                at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)

                at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)



Please help me to identify the issue.

Regards,
Animesh

Krishnan Mahadevan

unread,
Apr 17, 2015, 7:09:44 AM4/17/15
to Selenium Users
Animesh,

There is nothing in the stacktrace which seems to suggest that Selenium is involved here.
You are better off posting this on a Fest forum or perhaps a forum related to swing.



Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/CA%2BQ047J3YLDQ395o%3D4Bs-1HzHWufg7V9-yVm%3DV_6doOP8RU9_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages