• NEW

      1. 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.
      2. On startup (can be from the install, or separately), create a workspace in $HOME/workspace-devstudio.
      3. 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)

            [JBDS-4571] SWTException prevents Getting Started tab from populating

            Verified as requested, closing

            Vojtech Prusa (Inactive) added a comment - Verified as requested, closing

            Verified for ubuntu as well.

            Vojtech Prusa (Inactive) added a comment - Verified for ubuntu as well.

            No error appeared for f26, devstudio-11.2.0.AM1-v20171113-1302-B1609-installer-standalone.jar, for installation dir ive used location: /tmp/devstuido
            Will verify on Ubuntu at the office.

            Vojtech Prusa (Inactive) added a comment - No error appeared for f26, devstudio-11.2.0.AM1-v20171113-1302-B1609-installer-standalone.jar, for installation dir ive used location: /tmp/devstuido Will verify on Ubuntu at the office.

            (btw Nick is away on PTO until Thursday next week. Just fyi).

            Leo Ufimtsev (Inactive) added a comment - (btw Nick is away on PTO until Thursday next week. Just fyi).

            vprusa Can you please look at it^^? Thanks

            Josef Kopriva added a comment - vprusa Can you please look at it^^? Thanks

            Nick Boldt added a comment -

            As I tested this on F24 with SWT_WEBKIT2=0 and =1, we should also find someone who can verify it on F25/F26 and ubuntu too.

            Nick Boldt added a comment - As I tested this on F24 with SWT_WEBKIT2=0 and =1, we should also find someone who can verify it on F25/F26 and ubuntu too.

            Nick Boldt added a comment - - edited

            Nick Boldt added a comment - - edited Additional fix needed to enable the buzz feed ticker (rather than just the static TicketMonster note): https://github.com/jbosstools/jbosstools-central/commit/06bbca60b75b55b723529de2fbaa63cf4e0e0326 https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-central_master/ >=800 is green and shiny.

            Nick Boldt added a comment - Building: https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstudio/view/devstudio_master/job/jbosstools-central_master/ >=798

            Nick Boldt added a comment - - edited

            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.

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

            export SWT_WEBKIT2=0
            export SWT_LIB_VERSIONS=1
            

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

            Nick Boldt added a comment - - edited 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. HOWEVER... when I run with these exports... export SWT_WEBKIT2=0 export SWT_LIB_VERSIONS=1 I get a news ticker in place of the static note about TicketMonster. For SWT_WEBKIT2=1 , I do not.

            Nick Boldt added a comment - - edited

            8. After updating from org.jboss.tools.central_2.1.101.v20170822-1709 to org.jboss.tools.central_2.1.101.v20171002-1950 I still see the javascript exception as before, but now it's at VersionedBrowser.java:49 instead of line 51.

            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:49)
            	at org.jboss.tools.central.editors.GettingStartedHtmlPage.createBrowserSection(GettingStartedHtmlPage.java:188)
            	at org.jboss.tools.central.editors.GettingStartedHtmlPage.createFormContent(GettingStartedHtmlPage.java:175)
            	at org.eclipse.ui.forms.editor.FormPage.lambda$0(FormPage.java:163)
            	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

            Nick Boldt added a comment - - edited 8. After updating from org.jboss.tools.central_2.1.101.v20170822-1709 to org.jboss.tools.central_2.1.101.v20171002-1950 I still see the javascript exception as before, but now it's at VersionedBrowser.java:49 instead of line 51. 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:49) at org.jboss.tools.central.editors.GettingStartedHtmlPage.createBrowserSection(GettingStartedHtmlPage.java:188) at org.jboss.tools.central.editors.GettingStartedHtmlPage.createFormContent(GettingStartedHtmlPage.java:175) at org.eclipse.ui.forms.editor.FormPage.lambda$0(FormPage.java:163) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)

              nickboldt Nick Boldt
              rgrunber@redhat.com Roland Grunberg
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: