[JBoss JIRA] (JBDS-4593) devstudio 11.1 nightly based on oxygen 1a will not run with Java 9
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4593?page=com.atlassian.jira.plugin.... ]
Nick Boldt updated JBDS-4593:
-----------------------------
Component/s: updatesite
> devstudio 11.1 nightly based on oxygen 1a will not run with Java 9
> ------------------------------------------------------------------
>
> Key: JBDS-4593
> URL: https://issues.jboss.org/browse/JBDS-4593
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: installer, updatesite
> Affects Versions: 11.1.0.GA
> Reporter: Martin Malina
> Assignee: Nick Boldt
> Fix For: 11.1.0.GA
>
>
> Not sure what component to use here.
> I tried to run latest devstudio 11.1.0.GA nightly with java 9 and it won't run.
> Here's what I got in the log:
> {code}
> !SESSION 2017-10-24 14:47:37.893 -----------------------------------------------
> eclipse.buildId=11.1.0.GA-v20171024-0818-B1458
> java.version=9
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_CZ
> Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/rasp/.eclipse_keyring
> Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/rasp/.eclipse_keyring
> !ENTRY org.eclipse.osgi 4 0 2017-10-24 14:47:54.644
> !MESSAGE Application error
> !STACK 1
> org.eclipse.e4.core.di.InjectionException: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
> at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:410)
> at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:318)
> at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultHeadlessContext(E4Application.java:491)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createDefaultContext(E4Application.java:505)
> at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:204)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:614)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1499)
> Caused by: java.lang.NoClassDefFoundError: javax/annotation/PostConstruct
> at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:124)
> at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:399)
> ... 22 more
> Caused by: java.lang.ClassNotFoundException: javax.annotation.PostConstruct cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
> ... 24 more
> !ENTRY org.eclipse.e4.ui.workbench 4 0 2017-10-24 14:47:54.653
> !MESSAGE FrameworkEvent ERROR
> !STACK 0
> java.lang.NoClassDefFoundError: javax/annotation/PreDestroy
> at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:450)
> at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:156)
> at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:78)
> at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111)
> at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74)
> at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:178)
> at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:99)
> at org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:141)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
> at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213)
> at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120)
> at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112)
> at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:168)
> at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
> at org.eclipse.osgi.container.Module.doStop(Module.java:634)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
> at java.base/java.lang.Thread.run(Thread.java:844)
> Caused by: java.lang.ClassNotFoundException: javax.annotation.PreDestroy cannot be found by org.eclipse.e4.core.di_1.6.100.v20170421-1418
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:433)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:496)
> ... 21 more
> {code}
> So it's those java.lang.NoClassDefFoundError errors that we've seen before.
> I know that for 11.1.0.GA it's not our goal to run devstudio on java 9, but it would be good to figure out what's wrong.
> This devstudio is based on the new oxygen 1a TP which includes
> org.eclipse.platform_4.7.1.v20171009-0410
> I tried plain Eclipse Oxygen 1a and it can start on java 9 without a problem.
> Maybe they have some tweaks in their eclipse.ini that we could emulate?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 11 months
[JBoss JIRA] (JBIDE-25137) externalize the Eclipse platform and JEE bundles used for running jbt builds/tests
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25137?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-25137:
------------------------------------
File pushed here:
https://raw.githubusercontent.com/jbosstools/jbosstools-build-ci/master/u...
Script to fetch and include it in env vars in Jenkins:
{code}
+ <hudson.tasks.Shell>
+ <command># fetch eclipse tarball from jbosstools-jenkins.properties
+curl -s -S -k https://raw.githubusercontent.com/jbosstools/jbosstools-build-ci/master/u... > jbosstools-jenkins.properties
+</command>
+ </hudson.tasks.Shell>
+ <EnvInjectBuilder plugin="envinject(a)1.93.1">
+ <info>
+ <propertiesFilePath>jbosstools-jenkins.properties</propertiesFilePath>
+ </info>
+ </EnvInjectBuilder>
{code}
then later...
{code}
-downloadURL=${downloadURL}</properties>
+downloadURL=${downloadPhpURL}${eclipsePlatformURL}</properties>
{code}
Example of it working:
{code}
[jbosstools-composite-install_master] $ /qa/tools/opt/groovy-2.4.3/bin/groovy -DeclipseCacheDirectory=/home/hudson/static_build_env/jbds/tools/sources -DdownloadURL=${downloadPhpURL}${eclipsePlatformURL} /mnt/hudson_workspace/workspace/jbosstools-composite-install_master/getAndInstallEclipse.groovy
Downloading: eclipse-platform-4.7.1a-linux-gtk-x86_64.tar.gz from http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downloads... (x86_64)
[untar] Expanding: /home/hudson/static_build_env/jbds/tools/sources/eclipse-platform-4.7.1a-linux-gtk-x86_64.tar.gz into /mnt/hudson_workspace/workspace/jbosstools-composite-install_master{code} -- https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/Devstud...
> externalize the Eclipse platform and JEE bundles used for running jbt builds/tests
> ----------------------------------------------------------------------------------
>
> Key: JBIDE-25137
> URL: https://issues.jboss.org/browse/JBIDE-25137
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, install-tests, integration-tests
> Affects Versions: 4.5.1.AM3
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Fix For: 4.5.1.Final
>
>
> Currently, we have a number of Eclipse URLs in jobs and they're inconsistently applied, plus are scattered across a lot of jobs / variations.
> Instead, we should externalize these URLs as variables we can control from some other global properties file, perhaps located in https://github.com/jbosstools/jbosstools-build-ci/blob/master/util/ and called *jbosstools-jenkins.properties*. This would make the jobs easier to maintain and I'd forget to update stuff less often. :D
> Affected jobs:
> * devstudio_master/job/jbosstools-composite-install_master/config.xml
> * devstudio_master/job/jbosstools-install-p2director.install-tests.matrix_master/config.xml
> * devstudio_target_platforms/job/jbosstoolstargetplatform-4.70.x/config.xml
> * devstudio_target_platforms/job/jbosstoolstargetplatform-4.71.x/config.xml
> * devstudio_target_platforms/job/jbosstoolstargetplatform-4.71.x-experimental/config.xml
> * devstudio_target_platforms/job/jbosstoolstargetplatformrequirements-mirror-matrix/config.xml
> * jbosstools-releng/job/jbosstools-cleanup/config.xml
> * ...?
> URL patterns:
> * /eclipse/downloads/drops4/R-4.7.1-201709061700/eclipse-platform-4.7.1-linux-gtk.tar.gz
> * /eclipse/downloads/drops4/M-4.7.1RC4-201709061700/eclipse-platform-4.7.1RC4-linux-gtk.tar.gz
> * /eclipse/downloads/drops4/S-4.7RC4a-201706120950/eclipse-platform-4.7RC4a-linux-gtk.tar.gz
> * http://www.eclipse.org/downloads/download.php?r=1&file=/eclipse/downl...
> * http://download.eclipse.org/eclipse/downloads/drops4/S-4.7RC4a-2017061209...
> * eclipse_downloads_drops4_R-4.7.1-201709061700_eclipse-platform-4.7.1-linux-gtk.tar.gz
> * eclipse-platform-4.7.1-linux-gtk.tar.gz
> * ... more?
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 11 months
[JBoss JIRA] (JBIDE-24845) [regression] unable to open the Maven Repositories wizard
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24845?page=com.atlassian.jira.plugi... ]
Fred Bricon commented on JBIDE-24845:
-------------------------------------
[~dbocharov] m2e doesn't use external maven installations to work in Eclipse, those are for running Maven launch configurations. The problem occurs in m2e 1.9 that uses the Maven 3.5.0 embedder.
Try installing it from http://download.eclipse.org/technology/m2e/snapshots/1.9.0/latest/
> [regression] unable to open the Maven Repositories wizard
> ---------------------------------------------------------
>
> Key: JBIDE-24845
> URL: https://issues.jboss.org/browse/JBIDE-24845
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: maven
> Affects Versions: 4.4.4.Final
> Reporter: Fred Bricon
> Assignee: Dmitrii Bocharov
> Fix For: 4.5.1.Final
>
>
> 1 - open Preferences > JBoss Tools > JBoss Maven Integration
> 2 - click on the Configure Maven Repositories... button
> expected: the Maven repositories wizard open
> actual: Unhandled event loop exception:
> {noformat}
> java.lang.NoSuchFieldError: DEFAULT_USER_SETTINGS_FILE
> at org.jboss.tools.maven.ui.wizard.ConfigureMavenRepositoriesWizardPage.getUserSettings(ConfigureMavenRepositoriesWizardPage.java:988)
> at org.jboss.tools.maven.ui.wizard.ConfigureMavenRepositoriesWizardPage.createControl(ConfigureMavenRepositoriesWizardPage.java:242)
> at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:176)
> at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:688)
> at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:580)
> at org.eclipse.jface.window.Window.create(Window.java:426)
> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
> at org.jboss.tools.maven.ui.preferences.ConfiguratorPreferencePage$2.widgetSelected(ConfiguratorPreferencePage.java:155)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4257)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1502)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1525)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1510)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1314)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4081)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:818)
> at org.eclipse.jface.window.Window.open(Window.java:794)
> at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.open(WorkbenchPreferenceDialog.java:211)
> at org.eclipse.ui.internal.handlers.ShowPreferencePageHandler.execute(ShowPreferencePageHandler.java:59)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 11 months
[JBoss JIRA] (JBTIS-1182) JBTIS Target Platform - sync with JBT 4.5.1.Final
by Paul Leacu (JIRA)
Paul Leacu created JBTIS-1182:
---------------------------------
Summary: JBTIS Target Platform - sync with JBT 4.5.1.Final
Key: JBTIS-1182
URL: https://issues.jboss.org/browse/JBTIS-1182
Project: JBoss Tools Integration Stack
Issue Type: Task
Reporter: Paul Leacu
*Reason:* Sync w/ JBT 4.5.1.Final/ 4.71.0.Final
*Project page/sources:*
*Version:* 4.5.1.Final
*License and owner:* ...
*Original p2 repo:*
*JBoss mirror:*
*Include Sources:* Yes
*Affected JBoss Tools components:* Integration Stack
*Include in JBDS:* Yes (IS)
*Type of dependency:* testing|central-only|distribution
*List of bundles added/removed:*
{code}
{code}
First sync with the latest .Final-SNAPSHOT versions and create JBTIS TP 4.5.1.Beta1a
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 11 months
[JBoss JIRA] (JBIDE-25228) target platform fix-version and targetToRepoMojo no longer able to find multiple IU versions
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25228?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-25228:
------------------------------------
I did manage to fix [1] this compilation problem ...
{code}
18:20:58 [ERROR] COMPILATION ERROR :
18:20:58 [INFO] -------------------------------------------------------------
18:20:58 [ERROR] /mnt/hudson_workspace/workspace/jbosstools-maven-plugins.tycho-plugins_master/tycho-plugins/repository-utils/src/main/java/org/jboss/tools/tycho/sitegenerator/GenerateRepositoryFacadeMojo.java:[651,37] multi-catch statement is not supported in -source 1.5
18:20:58 (use -source 7 or higher to enable multi-catch statement){code} [2]
which I assume you didn't see because you built with m2e and mvn 3.3.9, rather than commandline mvn 3.5.0:
[1] https://github.com/jbosstools/jbosstools-maven-plugins/commit/52ed36041c3...
[2] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstoo...
> target platform fix-version and targetToRepoMojo no longer able to find multiple IU versions
> --------------------------------------------------------------------------------------------
>
> Key: JBIDE-25228
> URL: https://issues.jboss.org/browse/JBIDE-25228
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: target-platform
> Affects Versions: 4.5.1.Final
> Reporter: Nick Boldt
> Assignee: Mickael Istria
> Priority: Blocker
> Fix For: 4.5.1.Final
>
>
> With these recent changes [0], [1], target platform resolution is no longer able to fetch more than one version of an IU.
> We need apache.commons.codec 1.6.0.v201305230611, per the .target file [2], but only org.apache.commons.codec_1.9.0.v20170208-1614.jar is found in the update site [3], so the job [4] cannot perform an installation and validation of the TP fails.
> Is there a setting I can pass in to make TargetToRepo more greedy about pulling multiple versions of IUs?
> Note too that I was having problems last night getting the fix-version mojo to properly find and update the versions of WTP in the new 3.9.1a site, even when explicitly setting 0.0.0 to force it to search and update. Seems the target platform resolver will only pull the latest version of an IU, rather than an older one (a few WTP features have gone backwards in their timestamp). But it could also not resolve a version change from 3.3.600 [5] to 3.3.601 [6], so I had to update the version manually.
> [0] https://github.com/jbosstools/jbosstools-maven-plugins/commit/2b724eceadb...
> [1] https://github.com/jbosstools/jbosstools-maven-plugins/commit/ac4e492fab4...
> [2] https://github.com/jbosstools/jbosstools-target-platforms/blob/4.71.x/jbo...
> [3] http://download.jboss.org/jbosstools/targetplatforms/jbosstoolstarget/4.7...
> [4] https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/jbosstoo...
> [5] https://github.com/jbosstools/jbosstools-target-platforms/blob/14ec465a9b...
> [6] https://github.com/jbosstools/jbosstools-target-platforms/blob/4.71.x/jbo...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 11 months