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)
Birt deployement with struts in Weblogic 9.2
bachi
Hi,
I am trying to deploy my struts application in to weblogic 9.2, birt is integrated with this application. I get the following exception. I have been searching online so many have issue on this but I didn't get the solution for this. I am trying to view report in birt viewer. This application is successfully deployed in tomcat and generated reports but our main server is weblogic 9.2.
Jan 25, 2010 8:31:25 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
WARNING: fontsConfig:null
java.lang.NullPointerException
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler.getStringValue(FontConfigHandler.java:645)
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler.access$1(FontConfigHandler.java:643)
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler$FontAliasesState$AliasState.parseAttrs(FontConfigHandler.java:215)
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler.startElement(FontConfigHandler.java:45)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigReader.parseConfig(FontConfigReader.java:37)
at org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory.loadFontMappingConfig(FontMappingManagerFactory.java:360)
at org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory.createFontMappingManager(FontMappingManagerFactory.java:281)
at org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory.getFontMappingManager(FontMappingManagerFactory.java:164)
at org.eclipse.birt.report.engine.nLayout.LayoutContext.getFontManager(LayoutContext.java:330)
at org.eclipse.birt.report.engine.nLayout.area.impl.TextAreaLayout.<init>(TextAreaLayout.java:71)
at org.eclipse.birt.report.engine.nLayout.area.impl.InlineTextArea.layout(InlineTextArea.java:58)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.startContent(LayoutEngine.java:459)
at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startText(ContentEmitterAdapter.java:147)
at org.eclipse.birt.report.engine.emitter.ContentEmitterAdapter.startLabel(ContentEmitterAdapter.java:153)
at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:65)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.visitContent(LayoutEngine.java:592)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.visitContent(LayoutEngine.java:600)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.startForeign(LayoutEngine.java:633)
at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.startContent(ContentEmitterUtil.java:77)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.visitContent(LayoutEngine.java:592)
at org.eclipse.birt.report.engine.nLayout.LayoutEngine.visitChildren(LayoutEngine.java:616)
Jan 25, 2010 8:31:25 PM org.eclipse.birt.report.engine.layout.pdf.font.FontMappingManagerFactory loadFontMappingConfig
WARNING: fontsConfig_win32:null
java.lang.NullPointerException
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler.getStringValue(FontConfigHandler.java:645)
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler.access$1(FontConfigHandler.java:643)
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler$FontAliasesState$AliasState.parseAttrs(FontConfigHandler.java:215)
at org.eclipse.birt.report.engine.layout.pdf.font.FontConfigHandler.startElement(FontConfigHandler.java:45)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
Please help me to resolve this issue. This is my fourth day spending time on this.
Find more posts tagged with
Comments
birtlover
Hi,
Can any one please reply me the solution for above issue?
Thanks,
Virgil Dodson
I don't know if the issue is exactly the same, but someone else deploying to WebLogic 9.2 has success with BIRT by doing a few configurations explained here: <a class='bbc_url' href='
http://www.otweb.com/phramework/pw/module/blog/?id=937'>On
The Web - BIRT and Weblogic problem</a><br />
<br />
I could find only one other person online (<a class='bbc_url' href='
http://www.coderanch.com/forums/posts/watch/0/480137'>Struts
integrating with birt viewer (Struts forum at JavaRanch)</a>) who is having the same problem with fontsConfig being null, so if the steps above do not help, please report this to <a class='bbc_url' href='
http://www.birt-exchange.org/bug-reporting/'>Report
Bugs - BIRT Exchange</a>