[jbosstools-issues] [JBoss JIRA] (JBDS-4571) SWTException prevents Getting Started tab from populating

Nick Boldt (JIRA) issues at jboss.org
Tue Oct 3 17:05:00 EDT 2017


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

Nick Boldt edited comment on JBDS-4571 at 10/3/17 5:04 PM:
-----------------------------------------------------------

9. New patch https://github.com/jbosstools/jbosstools-central/pull/409 applied and steps 7-8 repeated. Now I get this in Central, as we should.

 !fixed.png|thumbnail! 

HOWEVER... when I run with these exports...

{code}
export SWT_WEBKIT2=0
export SWT_LIB_VERSIONS=1
{code}

I get a news ticker in place of the static note about TicketMonster. For *SWT_WEBKIT2=1*, I do not.

 !fixed-news-ticker.png|thumbnail! 


was (Author: nickboldt):
9. New patch https://github.com/jbosstools/jbosstools-central/pull/409 applied and steps 7-8 repeated. Now I get this in Central, as we should.

 !fixed.png|thumbnail! 

> SWTException prevents Getting Started tab from populating
> ---------------------------------------------------------
>
>                 Key: JBDS-4571
>                 URL: https://issues.jboss.org/browse/JBDS-4571
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: central, central-update, upstream
>    Affects Versions: 11.0.0.GA
>         Environment: Fedora 26 x86_64
> webkitgtk4-2.16.6-1.fc26.x86_64
> devstudio-11.0.0.GA-installer-standalone.jar
> openjdk version "1.8.0_144"
> OpenJDK Runtime Environment (build 1.8.0_144-b01)
> OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode)
>            Reporter: Roland Grunberg
>            Assignee: Nick Boldt
>             Fix For: 11.1.0.AM3
>
>         Attachments: central-broken.png, fixed-news-ticker.png, fixed.png, install-central-latest-snapshot-on-epp-java-bundle.png
>
>
> # Using the Devstudio installer ($ java -jar /notnfs/Downloads/devstudio-11.0.0.GA-installer-standalone.jar), I installed in '/notnfs/devstudio' (not in a home folder), with the default system JVM. 
> # On startup (can be from the install, or separately), create a workspace in $HOME/workspace-devstudio.
> # Red Hat Central view loads, with the 'Do Not Enter' icon and the text 'An exception was raised in Javascript'. Clicking on the 'Details >>' button shows the full stacktrace, and it is not logged into the Error Log view.
> Note that switching to the Software/Update tab gets the Red Hat Central view to become populated with the correct content so the issue seems isolated to the 'Getting Started' tab.
> https://paste.fedoraproject.org/paste/Y5jrMNBt86LoEAsqIGykTg
> The relevant part seems to be :
> org.eclipse.swt.SWTException: An exception was raised in JavaScript
> 	at org.eclipse.swt.browser.WebKit$Webkit2JavascriptEvaluator.evaluate(WebKit.java:1273)
> 	at org.eclipse.swt.browser.WebKit.evaluate(WebKit.java:1324)
> 	at org.eclipse.swt.browser.WebBrowser.evaluate(WebBrowser.java:409)
> 	at org.eclipse.swt.browser.Browser.evaluate(Browser.java:663)
> 	at org.eclipse.swt.browser.Browser.evaluate(Browser.java:610)
> 	at org.jboss.tools.central.internal.browser.VersionedBrowser.<init>(VersionedBrowser.java:51)
> 	at org.jboss.tools.central.editors.GettingStartedHtmlPage.createBrowserSection(GettingStartedHtmlPage.java:188)
> 	at org.jboss.tools.central.editors.GettingStartedHtmlPage.createFormContent(GettingStartedHtmlPage.java:175)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list