[JBoss JIRA] (JBDS-4571) SWTException prevents Getting Started tab from populating
by Leo Ufimtsev (JIRA)
[ https://issues.jboss.org/browse/JBDS-4571?page=com.atlassian.jira.plugin.... ]
Leo Ufimtsev commented on JBDS-4571:
------------------------------------
Like:
{code:java}
execute(
"var ua = navigator.userAgent,tem,M=ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\\/))\\/?\\s*(\\d+)/i) || [];" + //$NON-NLS-1$
"if(/trident/i.test(M[1])){" + //$NON-NLS-1$
"tem=/\\brv[ :]+(\\d+)/g.exec(ua) || [];" + //$NON-NLS-1$
"return 'IE '+ '_' + (tem[1]||'');" + //$NON-NLS-1$
"}" + //$NON-NLS-1$
//get Mozilla(XulRunner) version
"var rv = ua.match(/rv:(\\d{1,2}[.]\\d{1,2})/i);" + //$NON-NLS-1$
"if(rv != null) {" + //$NON-NLS-1$
"return 'Mozilla' + '_' + rv[1];" + //$NON-NLS-1$
"}" + //$NON-NLS-1$
"M=M[2]? [M[1], M[2]]: [navigator.appName, navigator.appVersion, '-?'];" + //$NON-NLS-1$
"if((tem=ua.match(/version\\/(\\d+)/i))!=null) {" + //$NON-NLS-1$
"M.splice(1,1,tem[1]);" + //$NON-NLS-1$
"}"); //$NON-NLS-1$
; //$NON-NLS-1$
String result = (String) evaluate("return M[0] + '_' + M[1];");
{code}
> 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.x
>
>
> # 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)
6 years, 7 months
[JBoss JIRA] (JBDS-4571) SWTException prevents Getting Started tab from populating
by Leo Ufimtsev (JIRA)
[ https://issues.jboss.org/browse/JBDS-4571?page=com.atlassian.jira.plugin.... ]
Leo Ufimtsev commented on JBDS-4571:
------------------------------------
One potential way to make it work with webkti1 as well as unpatched webkit2 would be to split the script mentioned here:
https://github.com/jbosstools/jbosstools-central/blob/master/central/plug...
The first part would 'Browser.execute()' everything up to (but not including) the return statement (Lines 36-39).
The second part would Browser.evaluate() line 50 that has the return value.
> 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.x
>
>
> # 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)
6 years, 7 months
[JBoss JIRA] (JBIDE-25093) IT: create tests for the Docker discovery feature
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25093?page=com.atlassian.jira.plugi... ]
Ondrej Dockal updated JBIDE-25093:
----------------------------------
Summary: IT: create tests for the Docker discovery feature (was: IT: create tests for the )
> IT: create tests for the Docker discovery feature
> -------------------------------------------------
>
> Key: JBIDE-25093
> URL: https://issues.jboss.org/browse/JBIDE-25093
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Andre Dietisheim
> Assignee: Ondrej Dockal
> Labels: cdk, integration-test, openshift_v3
> Fix For: 4.5.x
>
> Attachments: image-2017-09-22-17-35-34-902.png
>
>
> in JBIDE-24491 we introduced the ability to look up the docker registry in the cdk:
> !image-2017-09-22-17-35-34-902.png!
> We should also test that the docker registry in the connection is updated when the cdk starts up (see JBIDE-25046).
> We should now also have this covered by bot-tests. Especially the bugs found in JBIDE-25046 and JBIDE-25049 should be covered.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (JBIDE-25093) IT: create tests for the
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25093?page=com.atlassian.jira.plugi... ]
Ondrej Dockal reassigned JBIDE-25093:
-------------------------------------
Assignee: Ondrej Dockal
> IT: create tests for the
> -------------------------
>
> Key: JBIDE-25093
> URL: https://issues.jboss.org/browse/JBIDE-25093
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Andre Dietisheim
> Assignee: Ondrej Dockal
> Labels: cdk, integration-test, openshift_v3
> Fix For: 4.5.x
>
> Attachments: image-2017-09-22-17-35-34-902.png
>
>
> in JBIDE-24491 we introduced the ability to look up the docker registry in the cdk:
> !image-2017-09-22-17-35-34-902.png!
> We should also test that the docker registry in the connection is updated when the cdk starts up (see JBIDE-25046).
> We should now also have this covered by bot-tests. Especially the bugs found in JBIDE-25046 and JBIDE-25049 should be covered.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months
[JBoss JIRA] (JBDS-4566) update to latest mylyn docs 3.0.18 to match RPM versions
by Lukáš Valach (JIRA)
[ https://issues.jboss.org/browse/JBDS-4566?page=com.atlassian.jira.plugin.... ]
Lukáš Valach closed JBDS-4566.
------------------------------
Verified, TP includes org.eclipse.mylyn.wikitext 3.0.18.20170823144938 so we can close this jira.
Eclipse Oxygen 1 RC 4/ 1a RC1 includes mylyn.wikitext 3.0.6 so the Remediation Action page is displayed during the installation of JBoss Tools. [~nickboldt], I am assuming that you count with it.
> update to latest mylyn docs 3.0.18 to match RPM versions
> --------------------------------------------------------
>
> Key: JBDS-4566
> URL: https://issues.jboss.org/browse/JBDS-4566
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Sub-task
> Components: 3rd-party-dependencies, central-update
> Affects Versions: 11.1.0.AM2
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 11.1.0.AM3
>
>
> fedora has o.e.mylyn.wikitext 3.0.18; we still have 3.0.6 in the TP. So, need to update.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
6 years, 7 months