Comments (4)
Is this when you start Eclipse for your workspace, or is it starting an eclipse instance from your running Eclipse workspace (self-hosting)?
from equinox.bundles.
To me it looks like this is the relevant part (I really don't understand why Java's Throwable.printStacktrace()
prints the very first exception at the bottom. That's usually the cause and therefore the most interesting part):
Caused by: org.osgi.framework.BundleException: Invalid manifest header Provide-Capability: "osgi.native; eclipse.product="org.eclipse.sdk.ide"; osgi.nl="de_DE"; osgi.framework.useSystemProperties="true"; osgi.instance.area.default="file:/C:/Users/vogella/workspace/"; ds.delayed.keepInstances.default="true"; osgi.bundles="reference:file:org.eclipse.equinox.simpleconfigurator_1.4.0.v20210315-2228.jar@1:start"; osgi.native.osversion:Version="10.0.0"; osgi.native.osname:List="Windows10,Windows 10,Win10,Win32"; eclipse.p2.profile="SDKProfile"; org.osgi.framework.processor="x86-64"; osgi.framework="file:/c:/Users/vogella/Downloads/eclipse-SDK-I20220424-1800-win32-x86_64/eclipse/plugins/org.eclipse.osgi_3.18.0.v20220426-2016.jar"; osgi.framework.extensions="reference:file:org.eclipse.osgi.compatibility.state_1.2.600.v20220207-1403.jar"; osgi.os="win32"; org.osgi.framework.os.name="Windows10"; osgi.splashPath="platform:/base/plugins/org.eclipse.platform"; osgi.arch="x86_64"; osgi.ws="win32"; osgi.instance.area="C:\Users\vogella\workspace\eclipse"; org.eclipse.equinox.simpleconfigurator.configUrl="file:org.eclipse.equinox.simpleconfigurator/bundles.info"; osgi.bundles.defaultStartLevel="4"; org.osgi.framework.language="de"; osgi.native.processor:List="x86-64,amd64,em64t,x86_64"; eclipse.application="org.eclipse.ui.ide.workbench"; org.osgi.framework.os.version="10.0.0"; osgi.compatibility.bootdelegation.default="true"; eclipse.p2.data.area="@config.dir/../p2/"; eclipse.buildId="4.24.0.I20220427-0410"; osgi.native.language="de""
at org.eclipse.osgi.util.ManifestElement.parseHeader(ManifestElement.java:444)
It looks like the manifest is somehow invalid. I would be supprised if this this is due to the latest change, but it would not be the first time. But didn't have somebody, maybe it was even you, a similar exception a few months ago? I don't remember exactly anymore.
Anyway, maybe you can place a break-point at org.eclipse.osgi.util.ManifestElement.parseHeader(ManifestElement.java:444) to gather some more information.
from equinox.bundles.
I also don't understand why this is happening and cannot reproduce it. I even took the string and tried passing it to ManifestElement.parseHeader
and it works fine:
public static void main(String[] args) throws BundleException {
System.out.println(ManifestElement.parseHeader("Provide-Capability", "osgi.native; eclipse.product=\"org.eclipse.sdk.ide\"; osgi.nl=\"de_DE\"; osgi.framework.useSystemProperties=\"true\"; osgi.instance.area.default=\"file:/C:/Users/vogella/workspace/\"; ds.delayed.keepInstances.default=\"true\"; osgi.bundles=\"reference:file:org.eclipse.equinox.simpleconfigurator_1.4.0.v20210315-2228.jar@1:start\"; osgi.native.osversion:Version=\"10.0.0\"; osgi.native.osname:List=\"Windows10,Windows 10,Win10,Win32\"; eclipse.p2.profile=\"SDKProfile\"; org.osgi.framework.processor=\"x86-64\"; osgi.framework=\"file:/c:/Users/vogella/Downloads/eclipse-SDK-I20220424-1800-win32-x86_64/eclipse/plugins/org.eclipse.osgi_3.18.0.v20220426-2016.jar\"; osgi.framework.extensions=\"reference:file:org.eclipse.osgi.compatibility.state_1.2.600.v20220207-1403.jar\"; osgi.os=\"win32\"; org.osgi.framework.os.name=\"Windows10\"; osgi.splashPath=\"platform:/base/plugins/org.eclipse.platform\"; osgi.arch=\"x86_64\"; osgi.ws=\"win32\"; osgi.instance.area=\"C:\\Users\\vogella\\workspace\\eclipse\"; org.eclipse.equinox.simpleconfigurator.configUrl=\"file:org.eclipse.equinox.simpleconfigurator/bundles.info\"; osgi.bundles.defaultStartLevel=\"4\"; org.osgi.framework.language=\"de\"; osgi.native.processor:List=\"x86-64,amd64,em64t,x86_64\"; eclipse.application=\"org.eclipse.ui.ide.workbench\"; org.osgi.framework.os.version=\"10.0.0\"; osgi.compatibility.bootdelegation.default=\"true\"; eclipse.p2.data.area=\"@config.dir/../p2/\"; eclipse.buildId=\"4.24.0.I20220427-0410\"; osgi.native.language=\"de\""));
}
from equinox.bundles.
I cannot reproduce anymore. This was in a regular IDE not a runtime IDE:
from equinox.bundles.
Related Issues (15)
- There is a new test fail caused by this change, tests must be updated too. HOT 2
- Create equinox repo to merge equinox.bundles and equinox.framework into it HOT 22
- -Dosgi.dataAreaRequiresExplicitInit=true doesn't work anymore HOT 5
- Publish the a "BundleStateScope" as an IScopeContext service (factory)
- Build failure in 4.24 I-Build: I20220428-0120 HOT 5
- org.eclipse.equinox.preferences has wrong version HOT 6
- Enable Discussions? HOT 2
- Storage location for ConfigAdmin HOT 9
- logback RCE CVE-2021-42550 HOT 7
- Incorrect `org.osgi.service.prefs` dependency in org.eclipse.equinox.preferences-3.10.0 HOT 68
- org.osgi.service.prefs.Preferences cannot be resolved. It is indirectly referenced from required .class files HOT 2
- Archive this repository HOT 9
- UnsupportedClassVersionError due to fix on org.osgi.service.prefs HOT 11
- org.eclipse.equinox.http.jetty has 1 resolution problems.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from equinox.bundles.