麦粉社区
>
帖子详情

报表预览时报错

其它 发表于 2022-3-8 13:13
发表于 2022-3-8 13:13:49

查询失败:errorMessageMondrian Error:Internal error: Error while looking up jdbcDriver!


errorStackTrace=mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while looking up jdbcDriver!


发表于 2022-3-8 14:00:25
94936226f0ec2a276.png 错误的图片
回复

使用道具 举报

发表于 2022-3-8 15:03:56
看报错是找驱动的时候出错了,可能是数据源没有对应驱动,拖拽的字段是来源数据集之类的?在数据集或者数据源那块预览是正常的不?

回复

使用道具 举报

发表于 2022-3-8 17:06:18
报错那个"显示栈信息"里面的全部报错,发我看看

回复

使用道具 举报

发表于 2022-3-10 11:32:00
查询失败:errorMessageMondrian Error:Internal error: Error while looking up jdbcDriver!
errorStackTrace=mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while looking up jdbcDriver!
        at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:1002)
        at mondrian.olap.Util.newInternal(Util.java:2508)
        at mondrian.rolap.RolapConnection.createDataSource(RolapConnection.java:428)
        at mondrian.rolap.RolapConnection.(RolapConnection.java:151)
        at mondrian.rolap.RolapConnection.(RolapConnection.java:108)
        at mondrian.olap.DriverManager.getConnection(DriverManager.java:113)
        at mondrian.olap.DriverManager.getConnection(DriverManager.java:69)
        at mondrian.olap4j.MondrianOlap4jConnection.(MondrianOlap4jConnection.java:164)
        at mondrian.olap4j.FactoryJdbc4Plus$AbstractConnection.(FactoryJdbc4Plus.java:323)
        at mondrian.olap4j.FactoryJdbc41Impl$MondrianOlap4jConnectionJdbc41.(FactoryJdbc41Impl.java:118)
        at mondrian.olap4j.FactoryJdbc41Impl.newConnection(FactoryJdbc41Impl.java:32)
        at mondrian.olap4j.MondrianOlap4jDriver.connect(MondrianOlap4jDriver.java:97)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:208)
        at mondrian.xmla.SmartbiQueryServlet.getConnection(SmartbiQueryServlet.java:678)
        at mondrian.xmla.SmartbiQueryServlet.doPost(SmartbiQueryServlet.java:389)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1707)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.kingbase8.Driver
        at mondrian.olap.DynamicLoadLibManager.loadClass(DynamicLoadLibManager.java:390)
        at mondrian.rolap.RolapConnection.createDataSource(RolapConnection.java:419)
        ... 36 more

        at smartbix.augmenteddataset.util.AugmentedDataSetException.create(AugmentedDataSetException.java:34)
        at smartbix.augmenteddataset.olap.impl.OlapQueryService.createException(OlapQueryService.java:389)
        at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:369)
        at smartbix.augmenteddataset.olap.impl.OlapQueryService$$FastClassBySpringCGLIB$$d01e6225.invoke()
        at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
        at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
        at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
        at smartbix.augmenteddataset.olap.impl.OlapQueryService$$EnhancerBySpringCGLIB$$a0783ac5.executeQuery()
        at smartbix.augmenteddataset.query.mondrian.MondrianQueryExecutor.getData(MondrianQueryExecutor.java:33)
        at smartbix.augmenteddataset.service.AugmentedDataSetQueryService.getDataSetData(AugmentedDataSetQueryService.java:165)
        at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$FastClassBySpringCGLIB$$3c7d00ce.invoke()
        at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:737)
        at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
        at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:672)
        at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$EnhancerBySpringCGLIB$$9172fb67.getDataSetData()
        at smartbix.smartbi.AugmentedDataSetForVModule.getDataSetData(AugmentedDataSetForVModule.java:557)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at smartbi.cp.a(Smartbi:61)
        at smartbi.spreadsheetreport.core.GridDataFactory$a.a(Smartbi:434)
        at smartbi.spreadsheetreport.core.GridDataFactory$a.b(Smartbi:208)
        at smartbi.spreadsheetreport.core.GridDataFactory$a.a(Smartbi:172)
        at smartbi.spreadsheetreport.core.GridDataFactory$a.call(Smartbi:117)
        at smartbi.freequery.client.simplereport.JobService$1.call(JobService.java:74)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
        Suppressed: java.lang.RuntimeException: errorMessageMondrian Error:Internal error: Error while looking up jdbcDriver!
errorStackTrace=mondrian.olap.MondrianException: Mondrian Error:Internal error: Error while looking up jdbcDriver!
        at mondrian.resource.MondrianResource$_Def0.ex(MondrianResource.java:1002)
        at mondrian.olap.Util.newInternal(Util.java:2508)
        at mondrian.rolap.RolapConnection.createDataSource(RolapConnection.java:428)
        at mondrian.rolap.RolapConnection.(RolapConnection.java:151)
        at mondrian.rolap.RolapConnection.(RolapConnection.java:108)
        at mondrian.olap.DriverManager.getConnection(DriverManager.java:113)
        at mondrian.olap.DriverManager.getConnection(DriverManager.java:69)
        at mondrian.olap4j.MondrianOlap4jConnection.(MondrianOlap4jConnection.java:164)
        at mondrian.olap4j.FactoryJdbc4Plus$AbstractConnection.(FactoryJdbc4Plus.java:323)
        at mondrian.olap4j.FactoryJdbc41Impl$MondrianOlap4jConnectionJdbc41.(FactoryJdbc41Impl.java:118)
        at mondrian.olap4j.FactoryJdbc41Impl.newConnection(FactoryJdbc41Impl.java:32)
        at mondrian.olap4j.MondrianOlap4jDriver.connect(MondrianOlap4jDriver.java:97)
        at java.sql.DriverManager.getConnection(DriverManager.java:664)
        at java.sql.DriverManager.getConnection(DriverManager.java:208)
        at mondrian.xmla.SmartbiQueryServlet.getConnection(SmartbiQueryServlet.java:678)
        at mondrian.xmla.SmartbiQueryServlet.doPost(SmartbiQueryServlet.java:389)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:227)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:374)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1707)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: com.kingbase8.Driver
        at mondrian.olap.DynamicLoadLibManager.loadClass(DynamicLoadLibManager.java:390)
        at mondrian.rolap.RolapConnection.createDataSource(RolapConnection.java:419)
        ... 36 more

                at smartbix.augmenteddataset.olap.impl.OlapQueryService.throwRequestFailException(OlapQueryService.java:611)
                at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:366)
                ... 33 more
回复

使用道具 举报

发表于 2022-3-10 13:38:53
数据库连的是kingbase?把数据源那里怎么写的截图看下

回复

使用道具 举报

发表于 2022-3-10 15:03:13
数据源的配置
回复

使用道具 举报

发表于 2022-3-10 15:03:55
462176229a2d5e7237.png
  •   打工人的一天
    kingbase8的驱动本身产品是不带的,你使用的smartbi版本是什么时候的?
    获取版本信息可以查看:https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=76679842
    
    如果V95以上的,可以查看这个文档添加驱动测试验证:https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=76677820
    
    另外确认驱动类 com.kingbase8.Driver 是否能成功加载可以参考文档进行确认是否能找到匹配的驱动:https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=44500299
    2022-3-21 18:05| 回复

回复

使用道具 举报

发表于 2022-3-21 18:04:46
本帖最后由 月 于 2022-3-23 09:25 编辑

https://wiki.smartbi.com.cn/pages/viewpage.action?pageId=76677820你看看这个~

回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

14回帖数 0关注人数 1794浏览人数
最后回复于:2022-3-21 18:04
快速回复 返回顶部 返回列表