Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Trouble using Tribix Excel Emitter
Trouble using Tribix Excel Emitter [message #1012883] Fri, 22 February 2013 11:32 Go to next message
madhulika mitruka is currently offline madhulika mitrukaFriend
Messages: 3
Registered: February 2013
Junior Member
Hi all,

I am new to BIRT and trying to generate a Excel report using the Tribix xls emitter. But somehow I am not able to get it working. Following is what I did :

1) I downloaded the jars for tribix :

2) I then extracted the contents of '' file. I removed the 4 libraries from the 'lib' folder. My lib folder was empty after this. I repackaged the remaining contents in a jar file with the same name.

3) I copied all the 6 jar files to my lib folder where my 'org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar' is also present. I changed the code to provide the EMITTER ID for the tribix XLS emitter.
options.setOption(IRenderOption.EMITTER_ID, "");

4) When I ran a report, I got the error : EmitterID for render option is invalid.

5) To fix this problem , I followed the link :
I basically extracted the contents of file 'org.eclipse.birt.runtime_3.7.2.v20120214-1408.jar' and modified the plugin.xml file to comment out the default xls emitter <extension> part. I then deleted eveything from my 'META-INF' folder except MANIFEST file. I basically deleted files eclipse.inf and .DS_Store. I changed MANIFEST file and my MANIFEST file now has :
Manifest-Version: 1.0
Bundle-Version: 3.7.2.v20120214-1408
Bundle-Name: BIRT Runtime SDK
Bundle-SymbolicName: org.eclipse.birt.runtime

I repackaged the contents into jar and copied the jar to 'lib' folder.

6) When I run the report now, I get a NPE exception.
The code where I get it is :
EngineConfig config = new EngineConfig();
		try {
		} catch (BirtException e) {
			logger.error("BIRT exception encountered " + e);

		IReportEngineFactory factory = (IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY);
		birtEngine = factory.createReportEngine(config);

Basically Platform.createFactoryObject() returns a 'null' resulting in a NPE.

Apologies for the long post. Could someone kindly take a look and let me know what is that I am missing here.

Thanks in advance.


[Updated on: Fri, 22 February 2013 11:33]

Report message to a moderator

Re: Trouble using Tribix Excel Emitter [message #1013128 is a reply to message #1012883] Fri, 22 February 2013 21:00 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Have you tried any of the newer options that are available? The best free option is probably this one:

BIRT Exchange Marketplace - Spud Soft BIRT Excel Emitter


Developer Evangelist, Silanis
Previous Topic:Cant startup the OSGI framework in birt 4.2.1
Next Topic:BIRT in an Eclipse RCP application
Goto Forum:

Current Time: Sun Oct 04 15:41:33 GMT 2015

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

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