我对 Birt Reports 很陌生,所以请耐心等待。我正进入(状态
org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report.; nested exception is: java.lang.NullPointerException
从一些论坛我知道有一些数据源问题存在此类错误,但我无法解决。如果有人知道这样的错误,请弄清楚这一点。
这是堆栈跟踪
org.eclipse.birt.report.data.adapter.internal.adapter.OdaDataSourceAdapter.(OdaDataSourceAdapter.java:85)
org.eclipse.birt.report.data.adapter.impl.ModelAdapter.adaptDataSource(ModelAdapter.java:93)
org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.defineCube(DataRequestSessi onImpl.java:526)
org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.prepare(AbstractDataEngine.java:1 54)
org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:101)
org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedR eportExecutor.java:59)
org.eclipse.birt.report.engine.internal.executor.emitter.ReportEmitterExecutor.execute(Repor tEmitterExecutor.java:76)
org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedR eportExecutor.java:59)
org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplciateReportExecutor.execute (SuppressDuplciateReportExecutor.java:51)
org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilde r.java:193)
org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:228)
org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:89)
org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1117)
org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.ja va:146)
org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunRe portActionHandler.java:78)
org.eclipse.birt.report.service.actionhandler.BirtGetPageActionHandler.__checkDocumentExists (BirtGetPageActionHandler.java:58)
org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.prepareParameters (AbstractGetPageActionHandler.java:119)
org.eclipse.birt.report.service.actionhandler.AbstractGetPageActionHandler.__execute(Abstrac tGetPageActionHandler.java:104)
org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBase ActionHandler.java:89)
org.eclipse.birt.report.soapengine.processor.AbstractBaseDocumentProcessor.__executeAction(A bstractBaseDocumentProcessor.java:47) org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.executeAction(Ab stractBaseComponentProcessor.java:159) org.eclipse。 birt.report.soapengine.processor.BirtDocumentProcessor.handleGetPage(BirtDocumen tProcessor.java:87) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown来源)java.lang.reflect.Method.invoke(未知来源)org.eclipse.birt.report.soapengine.processor.AbstractBaseComponentProcessor.process(Abstract BaseComponentProcessor.java:111)org.eclipse.birt.report.soapengine.endpoint。 BirtSoapBindingImpl。getUpdatedObjects(BirtSoapBi ndingImpl.java:66) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.调用(未知来源) org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397) org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186) org.apache.axis .providers.java.JavaProvider.invoke(JavaProvider.java:323) org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) org .apache.axis.SimpleChain.invoke(SimpleChain.java:83) org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454) org.apache.axis.server。AxisServer.invoke(AxisServer.java:281) org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699) org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispa tcherServlet.java:225 ) javax.servlet.http.HttpServlet.service(HttpServlet.java:637) org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327) javax.servlet.http.HttpServlet.service(HttpServlet.java :717) org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDisp atcherServlet.java:112) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) org.apache.catalina.core。 ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) org.apache.catalina.core.StandardWrapperValve。调用(StandardWrapperValve.java:233)org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)org.apache.catalina。 Valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:347) org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:210) org.apache.catalina.connector.CoyoteAdapter。服务(CoyoteAdapter.java:293)org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)org.apache。 tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) java.lang.Thread.run(未知来源)
笔记
我有 Birt 2.3 版本,我正在使用 ubuntu 操作系统。