关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 更新日志 - 技术支持 - 招聘英才

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务QQ: 69893005、418799587 商务热线(5*8小时): 010-64808099 官方邮箱: jeecgos@163.com

查看: 33213|回复: 0

导入Excel报java.lang.IllegalStateException: Cannot get a text value from a...

[复制链接]
发表于 2020-6-15 15:27:08 | 显示全部楼层 |阅读模式
  1. 2020-06-15 15:18:24.088 [http-nio-8081-exec-5] ERROR org.jeecg.modules.online.cgform.a.a:728 - Cannot get a text value from a numeric formula cell
  2. java.lang.IllegalStateException: Cannot get a text value from a numeric formula cell
  3.         at org.apache.poi.xssf.usermodel.XSSFCell.typeMismatch(XSSFCell.java:845)
  4.         at org.apache.poi.xssf.usermodel.XSSFCell.checkFormulaCachedValueType(XSSFCell.java:302)
  5.         at org.apache.poi.xssf.usermodel.XSSFCell.getRichStringCellValue(XSSFCell.java:290)
  6.         at org.apache.poi.xssf.usermodel.XSSFCell.getStringCellValue(XSSFCell.java:246)
  7.         at org.jeecgframework.poi.excel.imports.CellValueServer.getCellValue(CellValueServer.java:83)
  8.         at org.jeecgframework.poi.excel.imports.CellValueServer.getValue(CellValueServer.java:126)
  9.         at org.jeecgframework.poi.excel.imports.ExcelImportServer.saveFieldValue(ExcelImportServer.java:384)
  10.         at org.jeecgframework.poi.excel.imports.ExcelImportServer.importExcel(ExcelImportServer.java:215)
  11.         at org.jeecgframework.poi.excel.imports.ExcelImportServer.importExcelByIs(ExcelImportServer.java:361)
  12.         at org.jeecgframework.poi.excel.ExcelImportUtil.importExcel(ExcelImportUtil.java:85)
  13.         at org.jeecg.modules.online.cgform.a.a.b(OnlCgformApiController.java:626)
  14.         at org.jeecg.modules.online.cgform.a.a$FastClassBySpringCGLIB$b709198.invoke(<generated>)
  15.         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
  16.         at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
  17.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
  18.         at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93)
  19.         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
  20.         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
  21.         at org.jeecg.modules.online.cgform.a.a$EnhancerBySpringCGLIB$3db2ab84.b(<generated>)
  22.         at org.jeecg.modules.online.cgform.a.a$FastClassBySpringCGLIB$b709198.invoke(<generated>)
  23.         at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
  24.         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684)
  25.         at org.jeecg.modules.online.cgform.a.a$EnhancerBySpringCGLIB$7fe0d143.b(<generated>)
  26.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  27.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  28.         at sun.reflect.DelegatingMethodAccessorImpl.__invoke(DelegatingMethodAccessorImpl.java:43)
  29.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:45009)
  30.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:45012)
  31.         at java.lang.reflect.Method.invoke(Method.java:498)
  32.         at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:189)
  33.         at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
  34.         at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
  35.         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
  36.         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:800)
  37.         at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
  38.         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
  39.         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
  40.         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1005)
  41.         at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:908)
  42.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
  43.         at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:882)
  44.         at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
  45.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
  46.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  47.         at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
  48.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  49.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  50.         at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
  51.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  52.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  53.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  54.         at com.github.xiaoymin.swaggerbootstrapui.filter.SecurityBasicAuthFilter.doFilter(SecurityBasicAuthFilter.java:84)
  55.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  56.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  57.         at com.github.xiaoymin.swaggerbootstrapui.filter.ProductionSecurityFilter.doFilter(ProductionSecurityFilter.java:53)
  58.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  59.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  60.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
  61.         at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
  62.         at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
  63.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  64.         at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
  65.         at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
  66.         at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
  67.         at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
  68.         at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
  69.         at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)
  70.         at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
  71.         at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
  72.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  73.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  74.         at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:124)
  75.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  76.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  77.         at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:90)
  78.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  79.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  80.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  81.         at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
  82.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  83.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  84.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  85.         at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92)
  86.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  87.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  88.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  89.         at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
  90.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  91.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  92.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  93.         at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:117)
  94.         at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:106)
  95.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  96.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  97.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  98.         at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
  99.         at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  100.         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
  101.         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
  102.         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
  103.         at org.apache.catalina.core.StandardContextValve.__invoke(StandardContextValve.java:96)
  104.         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:41002)
  105.         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
  106.         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
  107.         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
  108.         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
  109.         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
  110.         at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
  111.         at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
  112.         at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:834)
  113.         at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
  114.         at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
  115.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  116.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  117.         at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  118.         at java.lang.Thread.run(Thread.java:748)
复制代码
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表