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

Nick Boldt (JIRA) issues at jboss.org
Wed May 23 10:38:00 EDT 2018


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

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

In OOTB devstudio 12.0.0.v20180508-1631 (on F27, w/ JDK 8u171), the VPE *does* work but that's because it's using HTML5 / WebKit, not JSF / XulRunner.

Steps to repro:

1. install 12.0.0.v20180508-1631 via installer jar onto Fedora 27. Use default JDK path, which for me is /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-4.b10.fc27.x86_64
2. Open RH Central. Run teh HTML5 Project quickstart, including downloading and installing Wildfly 10.1 via the wizard.
3. Open Deployed Resouces/webapp/index.html in the JBoss Tools HTML Editor (should be default).
4. Switch to Preview tab. Page is rendered fine, unlike in the screenshots above.

!Screenshot_2018-05-23_10-33-11.png|thumbnail! 

> VPE tests times out due to SWT on GTK 2.x: nsIWebBrowser is not available
> -------------------------------------------------------------------------
>
>                 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
>            Priority: Blocker
>             Fix For: 4.6.0.AM3
>
>         Attachments: Screenshot_2018-05-22_16-58-14.png, Screenshot_2018-05-22_17-06-17.png, Screenshot_2018-05-23_10-33-11.png
>
>
> 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