Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
runtime exception in the birt DE hello world example
yuvyon
Hi guys <br />
i installed birt all in one 2.5.0<br />
also extracted the runtime package to a directory<br />
created a simple java proj<br />
added all the lib from the runtime package (c:BIRTBIRT_RUN_TIMEbirt-runtime-2_5_0ReportEnginelib)<br />
trying to run few examples (i googled for the error and tried few hello world type of java files suggested) but in vain ;-(<br />
using java sdk 1.5 ,also tried with 1.6 <br />
what am i doing wrong ?<br />
maybe it is due to the fact the examples are for older birt versions ?<br />
i attached the java files i am using and the error in a txt file<br />
also pasted the error below<br />
<br />
failing at this line:<br />
//create a new session<br />
SessionHandle session = engine.newSessionHandle( ULocale.ENGLISH ) ;<br />
<br />
please help :-)<br />
<br />
thanks in advance<br />
<br />
Yuval<br />
<br />
<a href='mailto:' title='E-mail Link' class='bbc_email'>yuvyon@yahoo.com</a><br />
<br />
getting :<br />
Exception in thread "main" java.lang.NullPointerException<br />
at com.ibm.icu.impl.ICUData.getStream(ICUData.java:70)<br />
at com.ibm.icu.impl.ICUData.getStream(ICUData.java:79)<br />
at com.ibm.icu.impl.ICUResourceBundleReader.getReader(ICUResourceBundleReader.java:185)<br />
at com.ibm.icu.impl.ICUResourceBundle.createBundle(ICUResourceBundle.java:829)<br />
at com.ibm.icu.impl.ICUResourceBundle.instantiateBundle(ICUResourceBundle.java:737)<br />
at com.ibm.icu.impl.ICUResourceBundle.getBundleInstance(ICUResourceBundle.java:705)<br />
at com.ibm.icu.util.UResourceBundle.getRootType(UResourceBundle.java:463)<br />
at com.ibm.icu.util.UResourceBundle.instantiateBundle(UResourceBundle.java:511)<br />
at com.ibm.icu.util.UResourceBundle.getBundleInstance(UResourceBundle.java:137)<br />
at com.ibm.icu.util.UResourceBundle.getBundleInstance(UResourceBundle.java:119)<br />
at org.eclipse.birt.core.i18n.ResourceHandle.<init>(ResourceHandle.java:82)<br />
at org.eclipse.birt.report.model.i18n.ModelResourceHandle.<init>(ModelResourceHandle.java:38)<br />
at org.eclipse.birt.report.model.i18n.ThreadResources.getResourceHandle(ThreadResources.java:160)<br />
at org.eclipse.birt.report.model.i18n.ThreadResources.getMessage(ThreadResources.java:112)<br />
at org.eclipse.birt.report.model.i18n.ModelMessages.getMessage(ModelMessages.java:51)<br />
at org.eclipse.birt.report.model.metadata.Choice.getDisplayName(Choice.java:96)<br />
at org.eclipse.birt.report.model.metadata.ChoiceSet.findChoiceByDisplayName(ChoiceSet.java:223)<br />
at org.eclipse.birt.report.model.metadata.PropertyDefn.validateExtendedChoicesByDisplayName(PropertyDefn.java:803)<br />
at org.eclipse.birt.report.model.metadata.PropertyDefn.validateValue(PropertyDefn.java:838)<br />
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$PeerExtensionElementLoader.addDefaultStyleToMeta(PeerExtensionLoader.java:383)<br />
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader$PeerExtensionElementLoader.loadElement(PeerExtensionLoader.java:344)<br />
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.loadExtension(PeerExtensionLoader.java:113)<br />
at org.eclipse.birt.report.model.metadata.ExtensionLoader.doLoad(ExtensionLoader.java:137)<br />
at org.eclipse.birt.report.model.metadata.PeerExtensionLoader.doLoad(PeerExtensionLoader.java:65)<br />
at org.eclipse.birt.report.model.metadata.ExtensionLoader.load(ExtensionLoader.java:71)<br />
at org.eclipse.birt.report.model.metadata.ExtensionManager.initialize(ExtensionManager.java:101)<br />
at org.eclipse.birt.report.model.metadata.MetaDataDictionary.intializeExtension(MetaDataDictionary.java:1116)<br />
at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.initialize(DesignEngineImpl.java:99)<br />
at org.eclipse.birt.report.model.api.impl.DesignEngineImpl.newSessionHandle(DesignEngineImpl.java:147)<br />
at com.approximatch.reports.design.DesignTest.main(DesignTest.java:46)
Find more posts tagged with
Comments
Virgil Dodson
Hi yuvyon,<br />
<br />
Have you seen these instructions for using the Design Engine API at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/deploy/designEngineAPI.php?'>Design
Engine API</a>