[jbosstools-issues] [JBoss JIRA] (JBIDE-10761) org.jboss.tools.drools.ui.bot.test fails due to null widget (was jboss bot tests job fails after switching to Drools 5.3.1)

Juraj Gargulak (JIRA) jira-events at lists.jboss.org
Mon May 21 09:16:19 EDT 2012


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

Juraj Gargulak commented on JBIDE-10761:
----------------------------------------

I'm able to reproduce the error "org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]" by setting environment variable DISPLAY to "none". If there is no display set, than this message occurs. I'm not sure if this is the case but it could be.

The second error "org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null." I'm not able to reproduce. I guess the source code was little bit changed since then so line number mentioned in stack trace is irrelevant. Is this error still occurring?
                
> org.jboss.tools.drools.ui.bot.test fails due to null widget (was jboss bot tests job fails after switching to Drools 5.3.1)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10761
>                 URL: https://issues.jboss.org/browse/JBIDE-10761
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: drools, SOA Tooling, testing
>    Affects Versions: 3.3.0.Beta1
>            Reporter: Nick Boldt
>            Assignee: Len DiMaggio
>             Fix For: 3.3.0.Beta2-SOA
>
>         Attachments: JBIDE10761-log.txt, org.jboss.tools.drools.ui.bot.test.DroolsAllBotTests.txt, TEST-org.jboss.tools.drools.ui.bot.test.DroolsAllBotTests.xml
>
>
> A couple weeks ago, we migrated from including Drools 5.2.1 to 5.3.1 in JBoss Tools.
> Now, the drool bot tests fail.
> From https://hudson.qa.jboss.com/hudson/view/DevStudio_Trunk/job/jbosstools-3.3_trunk.bottests.aggregate/ws/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/work/data/.metadata/.log
> {code}
> !SESSION 2012-01-31 09:21:39.379 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.6.0_30
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Framework arguments:  -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/surefire.properties -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.platform.ide -nouithread
> Command-line arguments:  -data /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/work/data -dev file:/mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/dev.properties -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /mnt/hudson_workspace/workspace/jbosstools-3.3_trunk.bottests.aggregate/sources/aggregate/bottests-site/tests/org.jboss.tools.drools.ui.bot.test/target/surefire.properties -testApplication org.eclipse.ui.ide.workbench -product org.eclipse.platform.ide -nouithread
> ...
> !ENTRY org.eclipse.osgi 4 0 2012-01-31 09:21:44.984
> !MESSAGE Application error
> !STACK 1
> org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
> 	at org.eclipse.swt.SWT.error(SWT.java:4308)
> {code}
> which results in:
> {code}
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] org.jboss.tools.site.bottests.root ................ SUCCESS [0.888s]
> [INFO] org.jboss.tools.bot.tests.plugins ................. SUCCESS [0.030s]
> [INFO] org.jboss.tools.bot.tests.tests ................... SUCCESS [0.044s]
> [INFO] org.jboss.tools.drools.ui.bot.test ................ FAILURE [1:34.367s]
> [INFO] org.jboss.tools.bot.tests.features ................ SUCCESS [0.012s]
> [INFO] org.jboss.tools.bot.test.feature .................. SKIPPED
> [INFO] JBoss Tools - Bot Tests Site ...................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> {code}
> Not sure to whom to assign this - who owns the org.jboss.tools.drools.ui.bot.test code?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list