[jbosstools-issues] [JBoss JIRA] (JBIDE-26030) VPE tests times out due to SWT on GTK 2.x

Nick Boldt (JIRA) issues at jboss.org
Sat May 19 18:41:00 EDT 2018


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

Nick Boldt commented on JBIDE-26030:
------------------------------------

Also tried to enable GTK3 like this:

{code}-Denable.gtk3=1{code} but that doesn't seem to have helped either:

{code}17:10:00 (JBoss Tools Test Application:24258): Gtk-WARNING **: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node separator, owner GtkSeparatorToolItem)
17:10:00 Unsupported Browser Type: SWT.MOZILLA style is deprecated.
17:10:00 It'll be removed from the user specified style. Browser will be created with the modified style and if no other style bit is specified, browser with SWT.NONE style will be created
17:10:00 
17:10:00 !ENTRY org.jboss.tools.vpe.preview.core 4 0 2018-05-19 17:09:58.884
17:10:00 !MESSAGE Could not open the Visual Page Editor:
17:10:00 nsIWebBrowser is not available
17:10:00 !STACK 0
17:10:00 org.jboss.tools.vpe.xulrunner.XulRunnerException: nsIWebBrowser is not available
17:10:00 	at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.<init>(XulRunnerBrowser.java:127)
17:10:00 	at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.<init>(XulRunnerEditor.java:128)
17:10:00 	at org.jboss.tools.vpe.editor.mozilla.XulRunnerEditor2.<init>(XulRunnerEditor2.java:23)
17:10:00 	at org.jboss.tools.vpe.editor.mozilla.MozillaEditor.createPartControl(MozillaEditor.java:599)
17:10:00 	at org.jboss.tools.vpe.editor.VpeEditorPart.createVisualEditor(VpeEditorPart.java:813)
17:10:00 	at org.jboss.tools.jst.web.ui.internal.editor.jspeditor.JSPMultiPageEditor.pageChange(JSPMultiPageEditor.java:283)
17:10:00 	at org.eclipse.ui.part.MultiPageEditorPart.setActivePage(MultiPageEditorPart.java:1077)
17:10:00 	at org.jboss.tools.jst.web.ui.internal.editor.jspeditor.JSPMultiPageEditor.createPages(JSPMultiPageEditor.java:511){code}
 -- https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-vpe_master/2011/console
and
{code}
!ENTRY org.jboss.tools.vpe.preview.core 4 0 2018-05-19 17:09:58.884
!MESSAGE Could not open the Visual Page Editor:
nsIWebBrowser is not available
!STACK 0
org.jboss.tools.vpe.xulrunner.XulRunnerException: nsIWebBrowser is not available{code} -- https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-vpe_master/2011/artifact/sources/tests/org.jboss.tools.vpe.docbook.test/target/work/data/.metadata/.log/*view*/

> VPE tests times out due to SWT on GTK 2.x
> -----------------------------------------
>
>                 Key: JBIDE-26030
>                 URL: https://issues.jboss.org/browse/JBIDE-26030
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: visual-page-editor-core, visual-page-editor-templates
>    Affects Versions: 4.6.0.AM1
>            Reporter: Nick Boldt
>            Assignee: Jeff MAURY
>             Fix For: 4.6.0.AM2
>
>
> We've been having this problem for a while now with the VPE builds:
> {code}
> !MESSAGE Could not open the Visual Page Editor:
> No more handles because no underlying browser available.
>    SWT on GTK 2.x detected. It is reccomended to use SWT on GTK 3.x and Webkit2 API.
> !STACK 0
> org.eclipse.swt.SWTError: No more handles because no underlying browser available.
>    SWT on GTK 2.x detected. It is reccomended to use SWT on GTK 3.x and Webkit2 API.
> 	at org.eclipse.swt.SWT.error(SWT.java:4578)
> 	at org.eclipse.swt.browser.Browser.<init>(Browser.java:125)
> 	at org.jboss.tools.vpe.xulrunner.browser.XulRunnerBrowser.<init>(XulRunnerBrowser.java:123)
> 	at org.jboss.tools.vpe.xulrunner.editor.XulRunnerEditor.<init>(XulRunnerEditor.java:128){code}
> from https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-vpe_master/2007/artifact/sources/tests/org.jboss.tools.vpe.ui.test/target/work/data/.metadata/.log/*view*/
> or https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-vpe_master/2007/artifact/sources/tests/org.jboss.tools.vpe.html.test/target/work/data/.metadata/.log/*view*/
> or https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-vpe_master/2007/artifact/sources/tests/org.jboss.tools.vpe.docbook.test/target/work/data/.metadata/.log/*view*/



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list