麦粉社区
>
帖子详情

数据修改回写时候报错“文件下载的主字段不支持该类型”

电子表格软件 发表于 2023-6-21 16:36
发表于 2023-6-21 16:36:57


没有具体的详细信息

当前是设置了上传下载文件功能嘛?如果是的话,参考文件排查一下设置是否规范:https://history.wiki.smartbi.com ... ion?pageId=35750793
如果还有问题,截图显示栈信息或导出系统日志发出来看看哈
68026492b7423e444.png
  •   Rei
    我没有设置上传下下载,就是回写表里面有个字段是图片,如果图片字段是空的就会报错,图标字段有内容就不会报错
    2023-6-21 17:38| 回复
  •   Rei
    version:	2022-03-11 18:00:04
    packageinfo:	Hotfix_SmartbiV97_20220309 
    
    
    文件下载的主键字段不支持该类型
    	at smartbi.ey.a(Smartbi:1251)
    	at smartbi.ey.a(Smartbi:488)
    	at smartbi.ey.a(Smartbi:256)
    	at smartbi.spreadsheetreport.SpreadsheetReportModule.saveWriteBack(Smartbi:1407)
    	at sun.reflect.GeneratedMethodAccessor891.invoke(Unknown Source)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at smartbi.framework.rmi.ClientService.execute(Smartbi:131)
    	at smartbi.framework.rmi.RMIServlet.processExecute(RMIServlet.java:249)
    	at smartbi.framework.rmi.RMIServlet.doPost(RMIServlet.java:178)
    	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:231)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.extension.ExtensionFilter$2.doFilter(ExtensionFilter.java:192)
    	at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:174)
    	at smartbi.security.patch.PatchFilter.doFilter(PatchFilter.java:77)
    	at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:174)
    	at smartbi.weixin.filter.WxLoginFilter.doFilter(WxLoginFilter.java:216)
    	at smartbi.extension.ExtensionFilter$1.doFilter(ExtensionFilter.java:174)
    	at smartbi.extension.ExtensionFilter.doFilterInternal(ExtensionFilter.java:205)
    	at smartbi.extension.ExtensionFilter.doFilter(ExtensionFilter.java:83)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.framework.rmi.TransactionFilter.doFilter(Smartbi:71)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.freequery.filter.GZIPFilter.doFilter(GZIPFilter.java:236)
    	at smartbi.freequery.filter.Filter.doFilter(Filter.java:33)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.freequery.filter.ExceptionResponseFilter.doFilter(ExceptionResponseFilter.java:77)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.freequery.filter.CheckIsLoggedFilter.doFilter(CheckIsLoggedFilter.java:219)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.freequery.filter.CheckRefererFilter.doFilter(CheckRefererFilter.java:45)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.freequery.filter.CheckHttpMethodFilter.doFilter(CheckHttpMethodFilter.java:62)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.freequery.filter.TraceFilter.doFilter(TraceFilter.java:129)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	at smartbi.framework.RedisSessionFilter.doFilter(Smartbi:137)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
    	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.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
    	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:868)
    	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1590)
    	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)
    
    2023-6-21 17:38| 回复
  •   一周只洗一次澡的脏脏包
     回复 Rei
    检查一下回写规则是不是将图片设置设置为主键,并且设置了不允许为空
    2023-6-21 17:44| 回复
  •   Rei
     回复 一周只洗一次澡的脏脏包
    没有,我们用的是整形的ID作为修改数据的主键
    2023-6-21 17:49| 回复
  •   一周只洗一次澡的脏脏包
     回复 Rei
    数据库中,图片字段是否允许为空呢?
    2023-6-21 18:00| 回复
  • 还有2条回复,点击查看

回复

使用道具 举报

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

本版积分规则

8回帖数 0关注人数 492浏览人数
最后回复于:2023-6-21 16:39
快速回复 返回顶部 返回列表