首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

Birt错误

2014-01-23 
Birt异常Java类使用Birt的ReportEngine调用一个report文件,报一下异常2014-1-7 15:32:36 org.eclipse.birt

Birt异常
Java类使用Birt的ReportEngine调用一个report文件,报一下异常
2014-1-7 15:32:36 org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager loadDriverExtensions
信息: Found JDBC driverinfo extension: driverClass=org.apache.derby.jdbc.EmbeddedDriver, connectionFactory=null
2014-1-7 15:32:36 org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager loadDriverExtensions
信息: Found JDBC driverinfo extension: driverClass=org.eclipse.birt.report.data.oda.sampledb.Driver, connectionFactory=org.eclipse.birt.report.data.oda.sampledb.SampleDBJDBCConnectionFactory
2014-1-7 15:32:36 org.eclipse.birt.report.data.oda.jdbc.JDBCDriverManager findDriver
信息: Loaded JDBC driver class in class path: com.mysql.jdbc.Driver
2014-1-7 15:32:37 org.eclipse.birt.data.engine.executor.DataSourceQuery execute
信息: ODA query execution time: 2 ms
2014-1-7 15:32:37 org.eclipse.birt.data.engine.impl.QueryResults getResultIterator
信息: ODI query execution: 43 ms
2014-1-7 15:32:37 org.eclipse.birt.report.engine.api.impl.EngineTask handleFatalExceptions
严重: An error happened while running the report. Cause:
java.lang.UnsupportedOperationException: This DocumentBuilder, "org.apache.xerces.jaxp.DocumentBuilderImpl", does not support the reset functionality.  Specification "null" version "null"
at javax.xml.parsers.DocumentBuilder.reset(DocumentBuilder.java:92)
at org.eclipse.birt.report.engine.parser.HTMLTextParser$DocumentBuilderPool.releaseDocumentBuilder(HTMLTextParser.java:341)
at org.eclipse.birt.report.engine.parser.HTMLTextParser.parseHTML(HTMLTextParser.java:145)
at org.eclipse.birt.report.engine.parser.TextParser.parse(TextParser.java:111)
at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.outputHtmlText(HTMLReportEmitter.java:2785)
at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.startForeign(HTMLReportEmitter.java:2762)
at org.eclipse.birt.report.engine.presentation.ContentEmitterVisitor.visitForeign(ContentEmitterVisitor.java:152)
at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:71)
at org.eclipse.birt.report.engine.presentation.ContentEmitterVisitor.visit(ContentEmitterVisitor.java:51)
at org.eclipse.birt.report.engine.presentation.ContentEmitterVisitor.visitChildren(ContentEmitterVisitor.java:171)
at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.outputPageBand(HTMLReportEmitter.java:1413)
at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.endPage(HTMLReportEmitter.java:1783)
at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.endPage(CompositeContentEmitter.java:171)
at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.endContent(ContentEmitterUtil.java:102)
at org.eclipse.birt.report.engine.layout.html.buffer.DummyPageBuffer.endContainer(DummyPageBuffer.java:61)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.end(HTMLPageLM.java:183)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:98)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at user.ExecuteReport.executeReport(ExecuteReport.java:69)
at user.ExecuteReport.main(ExecuteReport.java:77)
org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2363)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:191)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:77)
at user.ExecuteReport.executeReport(ExecuteReport.java:69)
at user.ExecuteReport.main(ExecuteReport.java:77)
Caused by: java.lang.UnsupportedOperationException: This DocumentBuilder, "org.apache.xerces.jaxp.DocumentBuilderImpl", does not support the reset functionality.  Specification "null" version "null"
at javax.xml.parsers.DocumentBuilder.reset(DocumentBuilder.java:92)
at org.eclipse.birt.report.engine.parser.HTMLTextParser$DocumentBuilderPool.releaseDocumentBuilder(HTMLTextParser.java:341)
at org.eclipse.birt.report.engine.parser.HTMLTextParser.parseHTML(HTMLTextParser.java:145)
at org.eclipse.birt.report.engine.parser.TextParser.parse(TextParser.java:111)
at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.outputHtmlText(HTMLReportEmitter.java:2785)
at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.startForeign(HTMLReportEmitter.java:2762)
at org.eclipse.birt.report.engine.presentation.ContentEmitterVisitor.visitForeign(ContentEmitterVisitor.java:152)
at org.eclipse.birt.report.engine.content.impl.ForeignContent.accept(ForeignContent.java:71)
at org.eclipse.birt.report.engine.presentation.ContentEmitterVisitor.visit(ContentEmitterVisitor.java:51)
at org.eclipse.birt.report.engine.presentation.ContentEmitterVisitor.visitChildren(ContentEmitterVisitor.java:171)
at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.outputPageBand(HTMLReportEmitter.java:1413)


at org.eclipse.birt.report.engine.emitter.html.HTMLReportEmitter.endPage(HTMLReportEmitter.java:1783)
at org.eclipse.birt.report.engine.emitter.CompositeContentEmitter.endPage(CompositeContentEmitter.java:171)
at org.eclipse.birt.report.engine.emitter.ContentEmitterUtil.endContent(ContentEmitterUtil.java:102)
at org.eclipse.birt.report.engine.layout.html.buffer.DummyPageBuffer.endContainer(DummyPageBuffer.java:61)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.end(HTMLPageLM.java:183)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:98)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:181)
... 3 more

热点排行