麦粉社区
>
帖子详情

复杂 Web 报表导出报错

数据分析 发表于 2024-1-25 15:29
发表于 2024-1-25 15:29:26

离线导出时报如下错误,有什么解决办法呢?


 


java.util.concurrent.ExecutionException: 执行异常
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at smartbi.scheduletask.runner.JobImpl.runTask(JobImpl.java:467)
    at smartbi.scheduletask.runner.JobImpl.runJob(JobImpl.java:369)
    at smartbi.scheduletask.runner.JobImpl.executeJob(JobImpl.java:292)
    at smartbi.scheduletask.runner.JobImpl.executeInternalOnce(JobImpl.java:183)
    at smartbi.scheduletask.runner.JobImpl.executeInternal(JobImpl.java:169)
    at smartbi.scheduletask.runner.JobImpl.executeJobListener(JobImpl.java:133)
    at smartbi.scheduletask.runner.JobImpl.execute(JobImpl.java:96)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: 执行异常
    at smartbi.scheduletask.task.TaskBO$2.call(TaskBO.java:536)
    at ...(...)
    at smartbi.usermanager.local.LocalClientConnector.processDownload(LocalClientConnector.java:540)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: 查询失败
    at smartbi.usermanager.local.LocalClientConnector.processDownload(LocalClientConnector.java:540)
    at smartbi.usermanager.local.LocalClientConnector.download(LocalClientConnector.java:302)
    at smartbi.sdk.service.spreadsheetreport.SSReport.doExport(SSReport.java:244)
    at smartbi.sdk.service.spreadsheetreport.SSReport.doExport(SSReport.java:202)
    at smartbi.scheduletask.routine.impl.ResourceHandleFactory$SSReportAdapter.export(ResourceHandleFactory.java:1040)
    at smartbi.scheduletask.routine.builtins.ExportResource.execute(ExportResource.java:186)
    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.scheduletask.task.RoutineExecutor.execute(RoutineExecutor.java:65)
    at smartbi.scheduletask.task.TaskBO$2.call(TaskBO.java:533)
    at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
    at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
    at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
    at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
    at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
    at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
    at org.mozilla.javascript.Context.evaluateString(Context.java:1111)
    at smartbi.scheduletask.task.TaskBO.executeV2(TaskBO.java:548)
    at smartbi.scheduletask.task.TaskBO.execute(TaskBO.java:443)
    at smartbi.scheduletask.task.TaskBO.call(TaskBO.java:433)
    at smartbi.scheduletask.runner.JobImpl$3.call(JobImpl.java:461)
    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)
Caused by: java.lang.RuntimeException: 查询失败
    at smartbi.spreadsheetreport.core.SpreadsheetReportServlet.service(Smartbi:345)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
    at smartbi.usermanager.local.LocalClientConnector.processDownload(LocalClientConnector.java:508)
    ... 26 more
Caused by: 查询失败:I/O error on POST request for "http://127.0.0.1:18081/smartbiolap/smartbiquery": Unexpected end of file from server; nested exception is java.net.SocketException: Unexpected end of file from server
    at smartbix.augmenteddataset.util.AugmentedDataSetException.create(AugmentedDataSetException.java:34)
    at smartbix.augmenteddataset.olap.impl.OlapQueryService.createException(OlapQueryService.java:460)
    at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:361)
    at smartbix.augmenteddataset.olap.impl.OlapQueryService$$FastClassBySpringCGLIB$$d01e6225.invoke()
    at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
    at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
    at smartbix.augmenteddataset.olap.impl.OlapQueryService$$EnhancerBySpringCGLIB$$1a0dc14d.executeQuery()
    at smartbix.augmenteddataset.query.mondrian.MDXQueryEngine.getData(MDXQueryEngine.java:53)
    at smartbix.augmenteddataset.handler.DefaultAugmentedDataSetHandler.getDataSetData(DefaultAugmentedDataSetHandler.java:126)
    at smartbix.augmenteddataset.service.AugmentedDataSetQueryService.getDataSetDataInner(AugmentedDataSetQueryService.java:277)
    at smartbix.augmenteddataset.service.AugmentedDataSetQueryService.getDataSetData(AugmentedDataSetQueryService.java:264)
    at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$FastClassBySpringCGLIB$$3c7d00ce.invoke()
    at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
    at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
    at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
    at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
    at smartbix.augmenteddataset.service.AugmentedDataSetQueryService$$EnhancerBySpringCGLIB$$e33e6446.getDataSetData()
    at smartbix.smartbi.AugmentedDataSetForVModule.getDataSetData(AugmentedDataSetForVModule.java:761)
    at sun.reflect.GeneratedMethodAccessor1849.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at smartbi.cl.a(Smartbi:97)
    at smartbi.spreadsheetreport.core.selfquery.AugmentedGirdDataQuery.getGridData(Smartbi:121)
    at smartbi.spreadsheetreport.core.GridDataFactory$a.a(Smartbi:510)
    at smartbi.spreadsheetreport.core.GridDataFactory$a.b(Smartbi:207)
    at smartbi.spreadsheetreport.core.GridDataFactory$a.a(Smartbi:189)
    at smartbi.spreadsheetreport.core.GridDataFactory$a.call(Smartbi:134)
    at smartbi.freequery.client.simplereport.JobService$3.call(JobService.java:133)
    ... 4 more
    Suppressed: smartbixlibs.org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://127.0.0.1:18081/smartbiolap/smartbiquery": Unexpected end of file from server; nested exception is java.net.SocketException: Unexpected end of file from server
        at smartbixlibs.org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:791)
        at smartbixlibs.org.springframework.web.client.RestTemplate.execute(RestTemplate.java:757)
        at smartbixlibs.org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:465)
        at smartbix.augmenteddataset.olap.impl.OlapQueryService.getOlapQueryResponse(OlapQueryService.java:718)
        at smartbix.augmenteddataset.olap.impl.OlapQueryService$$FastClassBySpringCGLIB$$d01e6225.invoke()
        at smartbixlibs.org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
        at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
        at smartbixlibs.org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:102)
        at smartbix.smartbi.service.OlapQueryServiceHandler.getOlapQueryResponse(OlapQueryServiceHandler.java:66)
        at sun.reflect.GeneratedMethodAccessor1313.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
        at smartbixlibs.org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
        at smartbixlibs.org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
        at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
        at smartbixlibs.org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
        at smartbixlibs.org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
        at smartbixlibs.org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
        at smartbix.augmenteddataset.olap.impl.OlapQueryService$$EnhancerBySpringCGLIB$$1a0dc14d.getOlapQueryResponse()
        at smartbix.augmenteddataset.olap.impl.OlapQueryService.executeQuery(OlapQueryService.java:345)
        ... 39 more
    Caused by: java.net.SocketException: Unexpected end of file from server
        at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:851)
        at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1587)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
        at smartbixlibs.org.springframework.http.client.SimpleClientHttpResponse.getRawStatusCode(SimpleClientHttpResponse.java:55)
        at smartbixlibs.org.springframework.http.client.AbstractClientHttpResponse.getStatusCode(AbstractClientHttpResponse.java:33)
        at smartbixlibs.org.springframework.http.client.BufferingClientHttpResponseWrapper.getStatusCode(BufferingClientHttpResponseWrapper.java:50)
        at smartbix.augmenteddataset.interceptor.LoggingClientHttpRequestInterceptor.traceResponse(LoggingClientHttpRequestInterceptor.java:46)
        at smartbix.augmenteddataset.interceptor.LoggingClientHttpRequestInterceptor.intercept(LoggingClientHttpRequestInterceptor.java:32)
        at smartbixlibs.org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93)
        at smartbixlibs.org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77)
        at smartbixlibs.org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
        at smartbixlibs.org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66)
        at smartbixlibs.org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:782)
        ... 63 more

发表于 2024-1-25 16:50:58
离线导出是需要配置ftp地址的,是否有配置好相关服务器地址?
https://wiki.smartbi.com.cn/page ... mp;pageId=111884861
  •   cni
    之前的报表是可以的,但今天这个报表就报错了。我去了几个 sheet 也可以导出。是不是因为报表比较复杂?
    2024-1-25 16:58| 回复

回复

使用道具 举报

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

本版积分规则

2回帖数 0关注人数 469浏览人数
最后回复于:2024-1-25 16:50
快速回复 返回顶部 返回列表