[jbosstools-issues] [JBoss JIRA] (JBIDE-16549) Install grinder fails to close the welcome screen -- WidgeNotFoundException: There is no active view
Pavol Srna (JIRA)
issues at jboss.org
Thu Apr 3 07:25:12 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-16549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12958855#comment-12958855 ]
Pavol Srna commented on JBIDE-16549:
------------------------------------
calling {code} this.bot.activeView() {code} sometimes throws WidgetNotFoundException if there is no active view in eclipse. Happend several times to me. I suggest to catch the exception in a try catch block. What do you think [~mickael_istria] ? Do you see any drawbacks? If not I'll send PR soon.
> Install grinder fails to close the welcome screen -- WidgeNotFoundException: There is no active view
> ----------------------------------------------------------------------------------------------------
>
> Key: JBIDE-16549
> URL: https://issues.jboss.org/browse/JBIDE-16549
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, qa
> Affects Versions: 4.2.0.Alpha2
> Reporter: Pavol Srna
> Assignee: Pavol Srna
> Priority: Minor
> Fix For: 4.2.0.Beta2
>
>
> I tried with the latest JBT 4.2.0.Alpha2a build.
> StackTrace:
> --------------------
> There is no active view
> org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: There is no active view
> at org.eclipse.swtbot.eclipse.finder.SWTWorkbenchBot.activeView(SWTWorkbenchBot.java:200)
> at org.jboss.tools.tests.installation.InstallFromCentralTest.setUp(InstallFromCentralTest.java:52)
> at org.eclipse.swtbot.swt.finder.junit.SWTBotJunit4ClassRunner.run(SWTBotJunit4ClassRunner.java:54)
> at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.run(EclipseTestRunner.java:350)
> at org.eclipse.swtbot.eclipse.junit.headless.EclipseTestRunner.run(EclipseTestRunner.java:208)
> at org.eclipse.swtbot.eclipse.junit.headless.UITestApplication.runTests(UITestApplication.java:116)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Testable$1.run(E4Testable.java:72)
> at java.lang.Thread.run(Thread.java:744)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list