Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupted OSGi manifest header in latest two versions (1.1.4, 1.1.3) of org.eclipse.parsson.jakarta.json #106

Closed
ideas-into-software opened this issue Aug 12, 2023 · 0 comments · Fixed by #107

Comments

@ideas-into-software
Copy link
Contributor

Latest two versions of org.eclipse.parsson.jakarta.json (org.eclipse.parsson:jakarta.json:1.1.4 and org.eclipse.parsson:jakarta.json:1.1.3) have corrupted OSGi manifest header, preventing their use in OSGi projects.

This problem is not yet present in version org.eclipse.parsson:jakarta.json:1.1.2, which is what I had to revert to in project worked on.

Below please find stack trace snippet, as well as screenshot of same.

Failed to install bundle /home/michal/.m2/repository/org/eclipse/parsson/jakarta.json/1.1.4/jakarta.json-1.1.4.jar, exception Error creating requirement: java.lang.IllegalArgumentException: Missing closing parenthesis: (osgi.serviceloader=jakarta.json.spi.JsonProvider
org.osgi.framework.BundleException: Error creating requirement: java.lang.IllegalArgumentException: Missing closing parenthesis: (osgi.serviceloader=jakarta.json.spi.JsonProvider
	at org.apache.felix.framework.util.manifestparser.ManifestParser.convertRequireCapabilities(ManifestParser.java:615)
	at org.apache.felix.framework.util.manifestparser.ManifestParser.<init>(ManifestParser.java:240)
	at org.apache.felix.framework.BundleRevisionImpl.<init>(BundleRevisionImpl.java:117)
	at org.apache.felix.framework.BundleImpl.createRevision(BundleImpl.java:1290)
	at org.apache.felix.framework.BundleImpl.<init>(BundleImpl.java:114)
	at org.apache.felix.framework.Felix.installBundle(Felix.java:3287)
	at org.apache.felix.framework.BundleContextImpl.installBundle(BundleContextImpl.java:147)
	at aQute.launcher.Launcher.install(Launcher.java:1039)
	at aQute.launcher.Launcher.synchronizeFiles(Launcher.java:770)
	at aQute.launcher.Launcher.update(Launcher.java:632)
	at aQute.launcher.Launcher.activate(Launcher.java:575)
	at aQute.launcher.Launcher.launch(Launcher.java:404)
	at aQute.launcher.Launcher.run(Launcher.java:186)
	at aQute.launcher.Launcher.main(Launcher.java:162)
	at aQute.launcher.pre.EmbeddedLauncher.executeWithRunPath(EmbeddedLauncher.java:170)
	at aQute.launcher.pre.EmbeddedLauncher.findAndExecute(EmbeddedLauncher.java:135)
	at aQute.launcher.pre.EmbeddedLauncher.main(EmbeddedLauncher.java:52)

Screenshot from 2023-08-05 01-36-08

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant