[JBoss JIRA] (JBDS-4790) Installer tests sometimes thrown a security exception in after installer test
by Stephane Bouchet (Jira)
[ https://issues.redhat.com/browse/JBDS-4790?page=com.atlassian.jira.plugin... ]
Stephane Bouchet updated JBDS-4790:
-----------------------------------
Fix Version/s: 12.14.0.GA
(was: 12.14.0.AM1)
> Installer tests sometimes thrown a security exception in after installer test
> -----------------------------------------------------------------------------
>
> Key: JBDS-4790
> URL: https://issues.redhat.com/browse/JBDS-4790
> Project: Red Hat CodeReady Studio (devstudio)
> Issue Type: Bug
> Components: install-tests
> Affects Versions: 12.13.0.AM1
> Reporter: Ondrej Dockal
> Assignee: Ondrej Dockal
> Priority: Major
> Fix For: 12.14.0.GA
>
>
> devstudio-installer.test/target/uitestlogs/installer/jemmy-err.log:
> {code}
> java.lang.SecurityException
> at com.jboss.jbds.installer.test.TestBase$SecurityManagerImpl.checkExit(TestBase.java:347)
> at java.base/java.lang.Runtime.exit(Runtime.java:113)
> at java.base/java.lang.System.exit(System.java:1746)
> at com.izforge.izpack.util.Housekeeper.shutDown(Unknown Source)
> at com.izforge.izpack.installer.InstallerFrame.exit(InstallerFrame.java:1186)
> at com.izforge.izpack.installer.InstallerFrame$NavigationHandler.actionPerformed(InstallerFrame.java:1587)
> at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
> at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
> at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
> at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
> at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279)
> at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
> at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
> at java.desktop/java.awt.Component.processEvent(Component.java:6397)
> at java.desktop/java.awt.Container.processEvent(Container.java:2263)
> at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
> at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
> at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
> at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
> at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
> at java.base/java.security.AccessController.doPrivileged(Native Method)
> at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
> at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
> at java.base/java.security.AccessController.doPrivileged(Native Method)
> at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
> at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
> at org.netbeans.jemmy.QueueTool$JemmyQueue.dispatchEvent(QueueTool.java:588)
> at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
> at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
> at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
> at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
> at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
> at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (JBDS-4788) Running devstudio-post-install.test plugin introduces Application error on IDE start up
by Stephane Bouchet (Jira)
[ https://issues.redhat.com/browse/JBDS-4788?page=com.atlassian.jira.plugin... ]
Stephane Bouchet updated JBDS-4788:
-----------------------------------
Fix Version/s: 12.14.0.GA
(was: 12.14.0.AM1)
> Running devstudio-post-install.test plugin introduces Application error on IDE start up
> ---------------------------------------------------------------------------------------
>
> Key: JBDS-4788
> URL: https://issues.redhat.com/browse/JBDS-4788
> Project: Red Hat CodeReady Studio (devstudio)
> Issue Type: Bug
> Components: install-tests
> Affects Versions: 12.13.0.AM1
> Environment: Fedora 29
> Reporter: Ondrej Dockal
> Assignee: Ondrej Dockal
> Priority: Major
> Fix For: 12.14.0.GA
>
>
> Running post install test locally and on jenkins using
> {code}
> mvn -f devstudio-post-install.test/pom.xml -Dmaven.test.failure.ignore=true -DskipTests=false -Dbuild.id=20190820-1016-B4838 -DtestInstallBase=../target/crstudio/studio -Dconfig=../jbds.config -Dusage_reporting_enabled=false clean verify -PITests
> {code}
> Ends up with:
> {code}
> !SESSION 2019-08-26 08:58:25.681 -----------------------------------------------
> eclipse.buildId=12.13.0.AM1-v20190820-1016-B4838
> java.version=1.8.0_212
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /home/odockal/git/jbdevstudio-qa/devstudio-post-install.test/target/surefire.properties -product com.jboss.devstudio.core.product -nouithread -pluginCustomization /home/odockal/git/jbdevstudio-qa/devstudio-post-install.test/target/requirements/pluginCustomization.ini
> Command-line arguments: -debug -consolelog -data /home/odockal/git/jbdevstudio-qa/devstudio-post-install.test/target/work/data -application org.eclipse.tycho.surefire.osgibooter.uitest -testproperties /home/odockal/git/jbdevstudio-qa/devstudio-post-install.test/target/surefire.properties -product com.jboss.devstudio.core.product -nouithread -pluginCustomization /home/odockal/git/jbdevstudio-qa/devstudio-post-install.test/target/requirements/pluginCustomization.ini -clean
> !ENTRY org.eclipse.epp.logging.aeri.ide 2 0 2019-08-26 08:58:32.495
> !MESSAGE Could not resolve module: org.eclipse.epp.logging.aeri.ide [350]
> Unresolved requirement: Import-Package: org.apache.lucene.document; version="[7.1.0,8.0.0)"
> !ENTRY org.eclipse.osgi 4 0 2019-08-26 08:58:32.496
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "org.eclipse.tycho.surefire.osgibooter.uitest" could not be found in the registry. The applications available are: com.jboss.devstudio.core.application, com.jboss.devstudio.core.EclipseGenerator, org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, org.eclipse.datatools.connectivity.console.profile.StorageFileEditor, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.emf.codegen.CodeGen, org.eclipse.emf.codegen.JMerger, org.eclipse.emf.codegen.ecore.Generator, org.eclipse.emf.importer.ecore.Ecore2GenModel, org.eclipse.emf.importer.java.Java2GenModel, org.eclipse.emf.importer.rose.Rose2GenModel, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.touchpoint.natives.nativePackageExtractor, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.jdt.core.JavaIndexer, org.eclipse.pde.api.tools.apiAnalyzer, org.eclipse.pde.build.Build, org.eclipse.pde.junit.runtime.uitestapplication, org.eclipse.pde.junit.runtime.legacytestapplication, org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.coretestapplicationnonmain, org.eclipse.pde.junit.runtime.nonuithreadtestapplication, org.eclipse.ui.ide.workbench, org.eclipse.wst.jsdt.core.JavaCodeFormatter, org.eclipse.wst.server.preview.preview.
> at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:252)
> at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:33)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1441)
> !ENTRY org.jboss.tools.usage 4 0 2019-08-26 08:58:32.554
> !MESSAGE FrameworkEvent ERROR
> !STACK 0
> org.osgi.framework.BundleException: Exception in org.jboss.tools.usage.internal.JBossToolsUsageActivator.stop() of bundle org.jboss.tools.usage.
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:919)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1027)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:370)
> at org.eclipse.osgi.container.Module.doStop(Module.java:658)
> at org.eclipse.osgi.container.Module.stop(Module.java:520)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1885)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1760)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:202)
> at org.eclipse.osgi.container.Module.doStop(Module.java:658)
> at org.eclipse.osgi.container.Module.stop(Module.java:520)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.usage.internal.JBossToolsUsageActivator.stop(JBossToolsUsageActivator.java:45)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:899)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:891)
> ... 13 more
> Root exception:
> java.lang.NullPointerException
> at org.jboss.tools.usage.internal.JBossToolsUsageActivator.stop(JBossToolsUsageActivator.java:45)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:899)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:891)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1027)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:370)
> at org.eclipse.osgi.container.Module.doStop(Module.java:658)
> at org.eclipse.osgi.container.Module.stop(Module.java:520)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1885)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1760)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:202)
> at org.eclipse.osgi.container.Module.doStop(Module.java:658)
> at org.eclipse.osgi.container.Module.stop(Module.java:520)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:220)
> at java.lang.Thread.run(Thread.java:748)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (JBDS-4765) UnknownHostException: download.jboss.org after installation of software from central to devstudio
by Stephane Bouchet (Jira)
[ https://issues.redhat.com/browse/JBDS-4765?page=com.atlassian.jira.plugin... ]
Stephane Bouchet updated JBDS-4765:
-----------------------------------
Fix Version/s: 12.14.0.GA
(was: 12.14.0.AM1)
> UnknownHostException: download.jboss.org after installation of software from central to devstudio
> -------------------------------------------------------------------------------------------------
>
> Key: JBDS-4765
> URL: https://issues.redhat.com/browse/JBDS-4765
> Project: Red Hat CodeReady Studio (devstudio)
> Issue Type: Bug
> Components: central
> Affects Versions: 12.11.0.GA
> Reporter: Ondrej Dockal
> Assignee: Jeff MAURY
> Priority: Major
> Fix For: 12.14.0.GA
>
>
> {code}
> eclipse.buildId=12.11.0.GA-v20190321-1925-B4244
> java.version=11.0.2
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.equinox.p2.transport.ecf
> Error
> Tue Mar 26 21:50:38 CET 2019
> Unknown Host: http://download.jboss.org/jbosstools/usage/installs/central-site/4.10.0-S...
> java.net.UnknownHostException: download.jboss.org
> at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:797)
> at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:883)
> at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505)
> at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1364)
> at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1298)
> at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:263)
> at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162)
> at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326)
> at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610)
> at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445)
> at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835)
> at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
> at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:263)
> at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months
[JBoss JIRA] (JBDS-4735) Central projects Wizard sometimes fails to open
by Stephane Bouchet (Jira)
[ https://issues.redhat.com/browse/JBDS-4735?page=com.atlassian.jira.plugin... ]
Stephane Bouchet updated JBDS-4735:
-----------------------------------
Fix Version/s: 12.14.0.GA
(was: 12.14.0.AM1)
> Central projects Wizard sometimes fails to open
> -----------------------------------------------
>
> Key: JBDS-4735
> URL: https://issues.redhat.com/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.GA
>
> Attachments: central.tar.gz, image-2018-10-17-09-24-31-555.png, issue-reproduced-19-11-16.png, screenshot-1.png
>
>
> h2. This issue has been successfully reproduced on the following OSes:
> * Fedora 28
> * Fedora 29, JDK 8
> * RHEL 7.7, JDK 8
> h2. This issue is not reproducible on the following OSes:
> * OS X, JDK 11
> * Windows 10, JDK 8
> h2. Details describing this issue:
> 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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 2 months