[jbosstools-issues] [JBoss JIRA] (JBIDE-26787) Several tests in examples.wildfly.itests are failing due to "Exception during sync execution in UI thread"

Zbyněk Červinka (Jira) issues at jboss.org
Wed Dec 4 06:45:00 EST 2019


    [ https://issues.jboss.org/browse/JBIDE-26787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13820795#comment-13820795 ] 

Zbyněk Červinka edited comment on JBIDE-26787 at 12/4/19 6:44 AM:
------------------------------------------------------------------

h1. *I have additional info to this issue:*
*I have unsuccessfully tried to resolve this issue by editing the *ExamplesOperator.java* class, see the details below:*


*Path to the edited java file*: central/test-framework/org.jboss.tools.central.reddeer/src/org/jboss/tools/central/reddeer/api/ExamplesOperator.java


*Performed changes (output from the git diff):*
 !first_unsuccessful_attempt_to_fix_this_issue.png|thumbnail! 


*Result of my trial:* Issue still remains, performed changes does not affect the result, after the run of WildFly example itests there are same amount of occurrences of this issue after the test has finished. I am gonna remove this changes completely, it does not help to resolve this issue.




was (Author: zcervink):
h1. *I have additional info to this issue:*
*I have unsuccessfully tried to resolve this issue by editing the *ExamplesOperator.java* class, see the details below:*


*Path to the edited java file*: central/test-framework/org.jboss.tools.central.reddeer/src/org/jboss/tools/central/reddeer/api/ExamplesOperator.java


*Performed changes (output from the git diff):*
 !first_unsuccessful_attempt_to_fix_this_issue.png|thumbnail! 

> Several tests in examples.wildfly.itests  are failing due to "Exception during sync execution in UI thread"
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-26787
>                 URL: https://issues.jboss.org/browse/JBIDE-26787
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: integration-tests, project-examples
>    Affects Versions: 4.13.0.AM1
>         Environment: All, tests are failing sporadically.
>            Reporter: Zbyněk Červinka
>            Assignee: Zbyněk Červinka
>            Priority: Major
>         Attachments: first_unsuccessful_attempt_to_fix_this_issue.png
>
>
> Several tests in examples.wildfly.itests  are failing due to "Exception during sync execution in UI thread"
> h2. *Jenkins:*
> https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/examples.wildfly.it.weekly/564/
> h2. *Stack Trace:*
> org.eclipse.reddeer.common.exception.RedDeerException: Exception during sync execution in UI thread
> 	at org.jboss.tools.examples.ui.bot.test.integration.WildFlyImportQuickstartsTest.quickstartTest(WildFlyImportQuickstartsTest.java:62)
> Caused by: org.eclipse.swt.SWTException: Widget is disposed
> h2. *Standard Error:*
> org.eclipse.reddeer.common.exception.RedDeerException: Exception during sync execution in UI thread
> 	at org.eclipse.reddeer.common.util.Display.handleErrorOccured(Display.java:112)
> 	at org.eclipse.reddeer.common.util.Display.syncExec(Display.java:84)
> 	at org.eclipse.reddeer.core.handler.TreeItemHandler.getText(TreeItemHandler.java:68)
> 	at org.eclipse.reddeer.swt.impl.tree.AbstractTreeItem.getCell(AbstractTreeItem.java:77)
> 	at org.eclipse.reddeer.eclipse.ui.problems.Problem.getCell(Problem.java:68)
> 	at org.eclipse.reddeer.eclipse.ui.markers.AbstractMarker.getDescription(AbstractMarker.java:43)
> 	at org.jboss.tools.central.reddeer.api.ExamplesOperator.getAllWarnings(ExamplesOperator.java:225)
> 	at org.jboss.tools.examples.ui.bot.test.integration.AbstractImportQuickstartsTest.checkForWarnings(AbstractImportQuickstartsTest.java:375)
> 	at org.jboss.tools.examples.ui.bot.test.integration.AbstractImportQuickstartsTest.runQuickstarts(AbstractImportQuickstartsTest.java:283)
> 	at org.jboss.tools.examples.ui.bot.test.integration.WildFlyImportQuickstartsTest.quickstartTest(WildFlyImportQuickstartsTest.java:62)
> 	at jdk.internal.reflect.GeneratedMethodAccessor185.invoke(Unknown Source)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
> 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
> 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
> 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
> 	
> ...



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jbosstools-issues mailing list