Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT integration error
BIRT integration error [message #362088] Tue, 29 April 2008 18:27 Go to next message
Samuel Santos is currently offline Samuel SantosFriend
Messages: 15
Registered: July 2009
Junior Member
I've tried to integrate the last version of BIRT Report Engine (2.2.2)
with my application like shown in the example at
http://wiki.eclipse.org/Servlet_Example_(BIRT)_2.1.

But when I execute Platform.startup(config) the platform enters in an
infinite loop...
The stacktrace at WEB-INF\platform\configuration\1209492366848.bak_0.log
looks like:

org.osgi.framework.BundleException: Exception in
org.eclipse.core.internal.registry.osgi.Activator.start() of bundle
org.eclipse.equinox.registry.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:1018)
[ ... ]
Caused by: java.lang.StackOverflowError
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
at
org.eclipse.osgi.framework.internal.core.ManifestLocalizatio n$EmptyResouceBundle.isEmpty(ManifestLocalization.java:216)
[ ... ]
and more and more...

This is how I start the engine:
EngineConfig config = new EngineConfig();
IPlatformContext context = new PlatformServletContext(servletContext);

config.setEngineHome("");
config.setLogConfig(null, Level.FINE);
config.setPlatformContext(context);

try {
Platform.startup(config);
} catch (BirtException e) {
LOGGER.error(e.getMessage(), e);
}

IReportEngineFactory factory = (IReportEngineFactory)
Platform.createFactoryObject(IReportEngineFactory.EXTENSION_ REPORT_ENGINE_FACTORY);
birtEngine = factory.createReportEngine(config);
birtEngine.changeLogLevel(Level.WARNING);


I'm using JBoss 4.2.2 and Java 6.

Can anyone help me there please?
Re: BIRT integration error [message #362100 is a reply to message #362088] Wed, 30 April 2008 12:10 Go to previous messageGo to next message
Samuel Santos is currently offline Samuel SantosFriend
Messages: 15
Registered: July 2009
Junior Member
Has anyone deployed BIRT 2.2.2 with JBoss 4.2.2?
Re: BIRT integration error [message #362113 is a reply to message #362088] Wed, 30 April 2008 17:49 Go to previous messageGo to next message
Samuel Santos is currently offline Samuel SantosFriend
Messages: 15
Registered: July 2009
Junior Member
I've found what was causing this nearly impossible problem to debug.

I was doing "Locale.setDefault(Locale.ROOT);" in my context listener which
was executed before RE startup.

I think it's important to BIRT to prevent this kind of error.
Re: BIRT integration error [message #362118 is a reply to message #362113] Wed, 30 April 2008 18:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Samuel,

Can you log a bugzilla entry for this?

Jason

Samuel Santos wrote:
> I've found what was causing this nearly impossible problem to debug.
>
> I was doing "Locale.setDefault(Locale.ROOT);" in my context listener
> which was executed before RE startup.
>
> I think it's important to BIRT to prevent this kind of error.
>
Re: BIRT integration error [message #362122 is a reply to message #362118] Wed, 30 April 2008 18:35 Go to previous messageGo to next message
Samuel Santos is currently offline Samuel SantosFriend
Messages: 15
Registered: July 2009
Junior Member
Done https://bugs.eclipse.org/bugs/show_bug.cgi?id=229692
Re: BIRT integration error [message #362142 is a reply to message #362122] Thu, 01 May 2008 14:09 Go to previous message
Eclipse UserFriend
Originally posted by: jasonweathersby.alltel.net

Thankyou

Samuel Santos wrote:
> Done https://bugs.eclipse.org/bugs/show_bug.cgi?id=229692
>
Previous Topic:Tutorial about Birt and Pojo
Next Topic:NoClassDefFoundError when running BIRT213 on Websphere6102
Goto Forum:
  


Current Time: Sat Apr 27 02:53:53 GMT 2024

Powered by FUDForum. Page generated in 0.03153 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top