Community
Participate
Working Groups
Trying to use 'Export > Eclipse product' on 4.7.1aRC1 with Java 9 fails producing a log.zip file. Each plugin fails to compile with a "option -bootclasspath not supported at compliance level 9 and above" error. Plugins are set to use 'JavaSE-9' execution environment and Java 9 compliance. Using 'Run' in Eclipse runs the RCP correctly, it is just the export that fails. macOS 10.12.6 and 10.13 Java 9 GA Eclipse 4.7.1aRC1
I tried in a sample product file ( same as in bug 426530) and it worked fine if my compiler compliance is Java9 and project build path has Java9. Export > Eclipse product went well with Version: Oxygen.1a (4.7.1a) Build id: M20170926-1700 The vm arguments I had was -Dosgi.requiredJavaVersion=1.6 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=256m -Xms40m -Xmx512m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts Do you have -bootclasspath in your VM arguments? Can you attach the sample product file? Java9 onwards, -bootclasspath is not supported and such jars should be put on modulepath or classpath. >> Each plugin fails to compile with a What is the the plugin you are trying to compile. Can you give me steps?
Everything has compliance lavel 9 and JaveSE-9 execution environment. There is no -bootclasspath anywhere in my product file. The launch args look like: <launcherArgs> <programArgs>-clearPersistedState -persistState false </programArgs> <vmArgs>--add-modules=ALL-SYSTEM -XX:-CompactStrings -XX:MaxHeapFreeRatio=75 </vmArgs> <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts </vmArgsMac> </launcherArgs> The plugins being compiled by the export are the ones in my RCP, there are about 50 of them and they all fail. It looks to me like the 'bootclasspath' option in the temporary 'build.xml' generated during the export.
Created attachment 270722 [details] Example RCP A single plugin e4 RCP demonstrating the export problem
I added an attachment of a simple RCP which fails to export for me when selecting the 'Eclipse Product export wizard' on the product overview page. Note this is an e4 RCP (forget to say that earlier).
With comment#3, I am able to get # Eclipse Compiler for Java(TM) v20170926-1643, 3.13.50, Copyright IBM Corp 2000, 2015. All rights reserved. option -bootclasspath not supported at compliance level 9 and above PDE build is in maintenance mode. In any case, I plan to have a look for 4.7.2.
Same issue is present in 4.7.2 https://stackoverflow.com/questions/48468014/eclipse-oxygen-plugin-feature-export-fails-for-java-9
Bulk move out of 4.8 target milestone.
Is there any solution for this, or we should migrate to Tycho?
New Gerrit change created: https://git.eclipse.org/r/137852
Problem : Export while using Java 9 fails. ( create hello world pde project and export it as plugin and fragments) Solution: Dont put classboothpath option while exporting in Java 9 or later
There are few issues with exporting RCP application but exporting normal plugin project will be taken care by bug 544038
*** Bug 545653 has been marked as a duplicate of this bug. ***
Created attachment 278293 [details] Example project with feature and target platform Attached an example for the failing export.
I get equivalent problem with Java 1.8 Cannot complete the install because one or more required items could not be found. Software being installed: com.example.e4.rcp 1.0.0.201905071601 (com.example.e4.rcp.product 1.0.0.201905071601) Missing requirement: toolingorg.eclipse.core.runtime 1.0.0.201905071601 requires 'bundle org.eclipse.core.runtime [3.12.0.v20160606-1342]' but it could not be found Cannot satisfy dependency: in Version: Neon.1 (4.6.1) Build id: M20160824-0059
This is not java 9 or later specific issue. Java 9 or later issues is now fixed.
In SimplePlanner, put breakpoint at line 481 and look at the explanation. For some reason it is looking for org.eclipse.core.runtime 1.0.0.201905071601 whereas we have version 3.x of the same plugin
Moving to equinox.p2 for comments.
This bug is pretty old, if someone could comment on comment 16 that would be good. Because of the age of the defect I assume this is not blocking for 4.12. Moving to 4.13.
TYI, we have noticed that the "option -bootclasspath not supported at compliance level 9 and above" happens in 2019-03 and -06 only for projects that have NO "Bundle-RequiredExecutionEnvironment" defined in their MANIFEST.MF. As soon as you add this setting, the error goes away. The setting just needs to be there, it does not matter whether the value is JavaSE-12 or even -8 .
(In reply to Hannes Erven from comment #19) > TYI, we have noticed that the "option -bootclasspath not supported at > compliance level 9 and above" happens in 2019-03 and -06 only for projects > that have NO "Bundle-RequiredExecutionEnvironment" defined in their > MANIFEST.MF. > > As soon as you add this setting, the error goes away. The setting just needs > to be there, it does not matter whether the value is JavaSE-12 or even -8 . Moving back to PDE for consideration based on this information.
(In reply to Thomas Watson from comment #20) > (In reply to Hannes Erven from comment #19) > > TYI, we have noticed that the "option -bootclasspath not supported at > > compliance level 9 and above" happens in 2019-03 and -06 only for projects > > that have NO "Bundle-RequiredExecutionEnvironment" defined in their > > MANIFEST.MF. > > > > As soon as you add this setting, the error goes away. The setting just needs > > to be there, it does not matter whether the value is JavaSE-12 or even -8 . > > Moving back to PDE for consideration based on this information. The problem is still present in Modeling Tools 2020-03. As for the workaround: is there any drawback in specifying a specific "Bundle-RequiredExecutionEnvironment"? If I understand it correctly, that option is deprecated. But I am a bit worried it might still influence where the generated plugin can be used. Is there any knowledge about what causes the problem? Manually adding deprecated flags to configuration files is definitely not my favorite way to get things done. I can confirm that checking the "Use class files compiled in the workspace" checkbox of the export wizard (mentioned here: https://stackoverflow.com/questions/48468014/eclipse-oxygen-plugin-feature-export-fails-for-java-9) also gets rid of the problem.
(In reply to Stefan John from comment #21) > The problem is still present in Modeling Tools 2020-03. As for the > workaround: is there any drawback in specifying a specific > "Bundle-RequiredExecutionEnvironment"? If I understand it correctly, that > option is deprecated. But I am a bit worried it might still influence where > the generated plugin can be used. Setting the BREE header does influence what Java version the bundle can resolve on, just like the use of the osgi.ee namespace for a Require-Capability. If you specify "Bundle-RequiredExecutionEnvironment: JavaSE-1.8" then the bundle will resolve on any JavaSE version greater than or equal to Java 8. See https://docs.osgi.org/specification/osgi.core/7.0.0/framework.module.html#framework.module.bree > > Is there any knowledge about what causes the problem? Manually adding > deprecated flags to configuration files is definitely not my favorite way to > get things done. I don't know the internals of PDE to answer that without diving down into PDE. I was hoping someone more familiar with the codebase could provide some input. > > I can confirm that checking the "Use class files compiled in the workspace" > checkbox of the export wizard (mentioned here: > https://stackoverflow.com/questions/48468014/eclipse-oxygen-plugin-feature- > export-fails-for-java-9) also gets rid of the problem.
I am unable to export the feature based product with version 4.17/2020-09 and Java 11. If "Generate p2 repository" is active a strange error message pops up saying that a problem with genericTargets.xml occured. After removing the checkbox the product is exported without errors but can’t be started. Log states !SESSION 2020-09-23 11:10:08.322 ----------------------------------------------- eclipse.buildId=unknown java.version=11.0.8 java.vendor=Azul Systems, Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE Framework arguments: -clearPersistedState Command-line arguments: -os win32 -ws win32 -arch x86_64 -clearPersistedState !ENTRY org.eclipse.e4.ui.workbench 4 0 2020-09-23 11:10:11.402 !MESSAGE Unable to create class 'org.eclipse.e4.ui.swt.internal.win32.DarkThemeProcessor' from bundle '40' !STACK 0 org.eclipse.e4.core.di.InjectionException: Unable to process "DarkThemeProcessor.eventBroker": no actual value was found for the argument "IEventBroker". at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:482) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:473) at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:129) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:346) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:227) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:94) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:37) at org.eclipse.e4.ui.internal.workbench.ModelAssembler.runProcessor(ModelAssembler.java:417) at org.eclipse.e4.ui.internal.workbench.ModelAssembler.runProcessors(ModelAssembler.java:385) at org.eclipse.e4.ui.internal.workbench.ModelAssembler.processModel(ModelAssembler.java:110) at org.eclipse.e4.ui.internal.workbench.ResourceHandler.loadMostRecentModel(ResourceHandler.java:197) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.loadApplicationModel(E4Application.java:384) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:260) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:153) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 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:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY org.eclipse.e4.ui.workbench 2 0 2020-09-23 11:10:11.408 !MESSAGE Unable to create processor org.eclipse.e4.ui.swt.internal.win32.DarkThemeProcessor from org.eclipse.e4.ui.css.swt.theme !ENTRY org.eclipse.e4.ui.workbench 4 0 2020-09-23 11:10:11.430 !MESSAGE Unable to create class 'org.eclipse.e4.ui.internal.workbench.addons.CommandProcessingAddon' from bundle '47' !STACK 0 org.eclipse.e4.core.di.InjectionException: Unable to process "CommandProcessingAddon.broker": no actual value was found for the argument "IEventBroker". at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:482) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:473) at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:129) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:346) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:227) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:94) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:37) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:289) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:153) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 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:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY org.eclipse.e4.ui.workbench 4 0 2020-09-23 11:10:11.441 !MESSAGE Unable to create class 'org.eclipse.e4.ui.internal.workbench.addons.ContextProcessingAddon' from bundle '47' !STACK 0 org.eclipse.e4.core.di.InjectionException: Unable to process "ContextProcessingAddon.broker": no actual value was found for the argument "IEventBroker". at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:482) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:473) at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:129) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:346) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:227) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:94) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:37) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:289) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:153) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 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:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY org.eclipse.e4.ui.workbench 4 0 2020-09-23 11:10:11.462 !MESSAGE Unable to create class 'org.eclipse.e4.ui.workbench.addons.cleanupaddon.CleanupAddon' from bundle '48' !STACK 0 org.eclipse.e4.core.di.InjectionException: Unable to process "CleanupAddon.eventBroker": no actual value was found for the argument "IEventBroker". at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:482) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:473) at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:129) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:346) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:227) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:94) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:37) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:289) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:153) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 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:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY org.eclipse.e4.ui.workbench 4 0 2020-09-23 11:10:11.470 !MESSAGE Unable to create class 'org.eclipse.e4.ui.workbench.addons.minmax.MinMaxAddon' from bundle '48' !STACK 0 org.eclipse.e4.core.di.InjectionException: Unable to process "MinMaxAddon.eventBroker": no actual value was found for the argument "IEventBroker". at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:482) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:473) at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:129) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:346) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:227) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:94) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:37) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:289) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:153) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 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:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY org.eclipse.e4.ui.workbench 4 0 2020-09-23 11:10:11.477 !MESSAGE Unable to create class 'org.eclipse.e4.ui.workbench.addons.splitteraddon.SplitterAddon' from bundle '48' !STACK 0 org.eclipse.e4.core.di.InjectionException: Unable to process "SplitterAddon.ps": no actual value was found for the argument "EPartService". at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(InjectorImpl.java:482) at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(InjectorImpl.java:473) at org.eclipse.e4.core.internal.di.InjectorImpl.internalInject(InjectorImpl.java:129) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:405) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:346) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:227) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:94) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:60) at org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:37) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.createE4Workbench(E4Application.java:289) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:153) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 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:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) !ENTRY org.eclipse.osgi 4 0 2020-09-23 11:10:11.531 !MESSAGE Application error !STACK 1 java.lang.NullPointerException at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createThemeEngine(PartRenderingEngine.java:1409) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.initializeStyling(PartRenderingEngine.java:1286) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1050) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155) at org.eclipse.e4.ui.internal.workbench.swt.E4Application.start(E4Application.java:166) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 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:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 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:566) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:657) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:594) at org.eclipse.equinox.launcher.Main.run(Main.java:1465) After "Add Recommended" for the "Start Levels" in win32 configuration and exporting again the product could be started. win 10 azul java 11 eclipse 2020-09
I am unable to export a plug-in based product using JavaSE-11 in Eclipse 2020-09. See Bug #567394 for the errors. They appear different than the others here, and are not useful for identifying the problem. The export was working ok with JavaSE-1.8 a day ago. The product runs ok in the Workspace. Bundle-RequiredExecutionEnvironment: JavaSE-11 I am using Windows 10.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.