]
Zbyněk Červinka edited comment on JBDS-4735 at 11/16/19 10:30 AM:
------------------------------------------------------------------
[~jeffmaury] Well this issue do not appear always. I have tried to reproduce this issue
twice today on RHEL, in both cases successfully. Maybe the issue appear only on limited
set of OSes (on Fedoras and RHELs it is reproducible definitely).
h2. Details about today's reproducing of this issue:
*System:* Red Hat Enterprise Linux Server release 7.7 (Maipo) -
*RHEL-7.7-20190723.1-Server-x86_64* image on OpenStack
*Red Hat CodeReady Studio version:* 12.14.0.AM1 (Build id: AM1-v20191115-0721-B5283, Build
date: 20191115-0721)
*Java:* openjdk "1.8.0_232"
!issue-reproduced-19-11-16.png|thumbnail!
was (Author: zcervink):
[~jeffmaury] Well this issue do not appear always. I have tried to reproduce this issue
twice today on RHEL, in both cases successfully. Maybe the issue appear only on selected
OSes (on Fedoras and RHELs it is reproducible definitely).
h2. Details about today's reproducing of this issue:
*System:* Red Hat Enterprise Linux Server release 7.7 (Maipo) -
*RHEL-7.7-20190723.1-Server-x86_64* image on OpenStack
*Red Hat CodeReady Studio version:* 12.14.0.AM1 (Build id: AM1-v20191115-0721-B5283, Build
date: 20191115-0721)
*Java:* openjdk "1.8.0_232"
!issue-reproduced-19-11-16.png|thumbnail!
Central projects Wizard sometimes fails to open
-----------------------------------------------
Key: JBDS-4735
URL:
https://issues.jboss.org/browse/JBDS-4735
Project: Red Hat CodeReady Studio (devstudio)
Issue Type: Bug
Components: central
Affects Versions: 12.9.0.GA
Environment: manually Fedora 28,
manually Fedora 29,
manually RHEL 7.7,
automation
Reporter: Vojtech Prusa
Assignee: Jeff MAURY
Priority: Major
Fix For: 12.14.0.AM1
Attachments: central.tar.gz, image-2018-10-17-09-24-31-555.png,
issue-reproduced-19-11-16.png, screenshot-1.png
There is "openInIDE" used in 3 places in "main.min.js" in central
source code*. When the central reloads and works normally, "openInIDE" is a
function (probably defined in Java code or somewhere out of the "main.min.js"
file) with following implementation:
function openInIDE() {
var result = callJava(1, '9aee3b4a3f3b40ed26f47d66375b25e3',
Array.prototype.slice.call(arguments));
if (typeof result == 'string' &&
result.indexOf('org.eclipse.swt.browser.error') == 0) {
var error = new Error(result.substring(29));
throw error;
}
return result;
}
After the issue appears, "typedef openInIDE" is undefined, which causes
probably the issues.
*Additional information to the 3 places, where "openInIDE" appears - it appears
in 2 functions:
- registerButtonClicks() - here is the "openInIDE" needed for loading and
displaying the central correctly
- delegateToIDE(a, b) - here is the "openInIDE" needed for opening the wizard
to the quickstart
OLDER DESCRIPTION (does not describes the issue enough, but I decided to keep it for more
details about the issue):
----------------------------------------------------------------------------------------------------------------------
Sometimes central examples wizards fail to load and modal dialog is shown instead (screen
attached).
Nothing in Error log view.
Restarting devstudio solves the issue.
Adding screen and central tar of:
devstudio-12.9.0.GA-v20180928-1629-B3448/workspaces/workspace/.metadata/.plugins/org.jboss.tools.central/central
Addition info:
Considering that central itests fails for this sometimes fresh installation without
restart may cause this. Although it happen again after running devstudio for some time
and restarting Central view.