BIRT OSGi startup: java.lang.UnsupportedOperationException: Not able to create StateObjectFactory implementation
See original GitHub issueHello Team,
when I start the BIRT Platform using Platform.startup (engineConfig);
the following error comes up in the log hundreds of times:
ERROR [stderr] (Start Level: Equinox Container: 5e58e5a4-451b-49b1-bee8-0c6462d606dc) Error Processing: org.eclipse.equinox.internal.p2.extensionlocation.SiteListener@74bf1f63: java.lang.UnsupportedOperationException: Not able to create StateObjectFactory implementation: org.eclipse.osgi.internal.resolver.StateObjectFactoryImpl
But it seems that BIRT itself operates without issues afterwards, but I’m not 100% sure.
I’m using the BIRT 4.8 Runtime OSGi on Wildfly 20 with OpenJDK JDK 1.8.0_212. I already tried to run it on AdoptOpenJDK jdk8u252-b09, but this did not solve the issue. I did not try later java 8 update versions because of #660.
I’ve seen that this error is mentioned in eclipse bugzilla as well as in issue 787.
Do you know what causes the error and if it can be fixed? Or maybe there is a way to suppress this error messages (in the case it does not break BIRTs functionality) - maybe via some configuration in config.ini?
Thank you in advance for your help.
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top GitHub Comments
This error happens if you do not have the framework extension
org.eclipse.osgi.compatibility.state
Yes, I too am puzzled by the ant stuff. If possible, that should just go away and be replaced by a product configuration.
The ant stuff does seem to pull in mostly recent jars, although the runtimes contain some old stuff as well.