[jbosstools-issues] [JBoss JIRA] (JBIDE-19750) Install grinder w/ SWTBot 2.2.1.201402241301 fails to run on RHEL7: No more handles!

Mickael Istria (JIRA) issues at jboss.org
Mon May 4 03:23:45 EDT 2015


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

Mickael Istria commented on JBIDE-19750:
----------------------------------------

Thanks for opening the jira.
I looked at it before the week-end and did not find the cause of the issue. Handles are typically consumed by graphics elements (color, images, fonts, shells...) and SWTBot doesn't create any graphic element, so it's very unlikely that this is related to SWTBot at all.
I tried to reproduce it locally, but it worked without issue.

I believe the main change might be the newer version of Central, using HTML now. so trying to hack the DefaultType of browser is a good idea.

> Install grinder w/ SWTBot 2.2.1.201402241301 fails to run on RHEL7: No more handles!
> ------------------------------------------------------------------------------------
>
>                 Key: JBIDE-19750
>                 URL: https://issues.jboss.org/browse/JBIDE-19750
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 4.3.0.Beta1
>            Reporter: Nick Boldt
>            Assignee: Mickael Istria
>
> {code}
> 16:48:30 Installing org.eclipse.swtbot.eclipse.test.junit.feature.group 2.2.1.201402241301.
> ...
> 13:39:08 !MESSAGE Internal browser is not available: No more handles [Browser style SWT.MOZILLA and Java system property org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3 as XULRunner is not ported for GTK 3 yet]
> 13:43:18 Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 253.079 sec
> 13:43:18 
> 13:43:18 Testcase: testInstall took 252.166 sec
> {code} - https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/jbosstools-install-grinder.install-tests.matrix_master/2801/PROJECT=devstudio,eclipseBundleVersion=mars.M6,jdk=java18_default,label_exp=%28RHEL7||beaker||jboss-prod%29&&!ia64&&!ppc64&&!rhts/console
> I tried to run using `-Dorg.eclipse.swt.browser.DefaultType=webkit` as a script param for  `testInstall.groovy` but it must not have passed through to the eclipse install process, as the above error suggests.
> Wondering if ...
> a) passing through a different *swt.browser.DefaultType*, &/or 
> b) using a newer SWTBot (which works with Luna [1] now?)
> ... might help.
> [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=464619



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jbosstools-issues mailing list