question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BIRT OSGi startup: java.lang.UnsupportedOperationException: Not able to create StateObjectFactory implementation

See original GitHub issue

Hello 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:closed
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
tjwatsoncommented, Feb 17, 2022

This error happens if you do not have the framework extension org.eclipse.osgi.compatibility.state

0reactions
wimjongmancommented, Feb 18, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

547526 – An error in log when run a report using OSGI ... - Bugs
... java.lang.UnsupportedOperationException: Not able to create StateObjectFactory implementation: org.eclipse.osgi.internal.resolver.
Read more >
org.eclipse.birt.core.exception.BirtException: Can't startup the ...
I create one reportdesign(.rptdesign) and run it using javacode which gives me pdf report my code is working fine on windows, but same...
Read more >
error.CannotStartupOSGIPlatform issue when running birt
Yes it is indeed a permission error. The relevant file is: WEB-INF/platform/configuration/org.eclipse.osgi/.manager/.fileTableLock.
Read more >
BIRT Review - Innovent Solutions
BIRT is a collection of open source reporting tool that is part of the open source Eclipse project, the leading development platform for...
Read more >
Error running BIRT from Report Design - Knowage Q&A
When trying to view report in web viewer i get the following error: Caused by: java.lang.UnsupportedOperationException: This DocumentBuilder ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found