Interestingly, the PDT[1] issue is the same issue that Oomph had [2] and that signature change also affects Groovy plugins[3] and Eclipse Ceylon[4]. This was the result of a quick github code search to see who and how the adapter manager current behaviour changed in Bug 576024[5] is affecting the wider ecosystem.
java.lang.ClassNotFoundException: An error occurred while
automatically activating bundle org.eclipse.php.debug.ui (356).
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:126)
at
org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:570)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:345)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:384)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:463)
at
org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:170)
at
java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:616)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:196)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:920)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
at
org.eclipse.ui.internal.WorkbenchPlugin.lambda$0(WorkbenchPlugin.java:287)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:57)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:285)
at
org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:55)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)
at
org.eclipse.ui.internal.Workbench$40.run(Workbench.java:2667)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: org.osgi.framework.BundleException: Exception in
org.eclipse.php.internal.debug.ui.PHPDebugUIPlugin.start() of
bundle org.eclipse.php.debug.ui.
at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:828)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:759)
at
org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1019)
at
org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:365)
at org.eclipse.osgi.container.Module.doStart(Module.java:605)
at org.eclipse.osgi.container.Module.start(Module.java:468)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:404)
at
org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:117)
... 18 more
Caused by: java.lang.NoSuchMethodError: 'java.util.HashMap
org.eclipse.core.internal.runtime.AdapterManager.getFactories()'
at
org.eclipse.php.internal.debug.ui.PHPDebugUIPlugin.start(PHPDebugUIPlugin.java:110)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.lambda$2(BundleContextImpl.java:808)
at
java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:802)
... 25 more
It needs to be recompiled against the last platform...
Regards,
Ed
On 29.10.2021 03:11, Jonah Graham
wrote:
Hi everyone,
Our next milestone build is available for testing: EPP 2021-12 M2
There are a range of issues / things to note in M2:
- 2021-12 M2 contains macOS
AArch64 packages. See Bug 575680 - but they don't
appear linked (yet) See Bug 576532.
- The macOS AArch64 packages should now contain a JRE
(if your package on other platforms contains a JRE)
- The EPP is bundled with Java 17 now
- While Upgrades fail under some circumstances
(see Bug 576506)
this time it ran fine for me by having Eclipse on the same
drive as tmp.
- The mac notarization issues return. A bundle (JFFI
related) that has notarized fine in the past is now
rejected by Apple due to lack of signature. Therefore CPP
and Embed-CPP do not have notarized macOS dmgs for
M2. See Bug 576947