Home > Back-end >  Using poi do Excel import error org. Apache. Poi. Util. RecordFormatException: Unable to construct
Using poi do Excel import error org. Apache. Poi. Util. RecordFormatException: Unable to construct

Time:12-01


When parsing the file error, but open the file save and close to normal after import, excel macro language, is the effect? To solve the
Org, the apache poi. Util. RecordFormatException: Unable to construct record instance
At org, apache poi. HSSF. Record. RecordFactory $ReflectionConstructorRecordCreator. Create (98) RecordFactory. Java:
The at org, apache poi. HSSF. Record. RecordFactory. CreateSingleRecord (RecordFactory. Java: 345)
The at org, apache poi. HSSF. Record. RecordFactoryInputStream. ReadNextRecord (RecordFactoryInputStream. Java: 289)
The at org, apache poi. HSSF. Record. RecordFactoryInputStream. NextRecord (RecordFactoryInputStream. Java: 255)
The at org, apache poi. HSSF. Record. RecordFactory. CreateRecords (RecordFactory. Java: 494)
The at org, apache poi. HSSF. Usermodel. HSSFWorkbook. & lt; init> (HSSFWorkbook. Java: 356)
The at org, apache poi. HSSF. Usermodel. HSSFWorkbook. & lt; init> (HSSFWorkbook. Java: 413)
The at org, apache poi. HSSF. Usermodel. HSSFWorkbook. & lt; init> (HSSFWorkbook. Java: 394)
The at cn. Uniquesoft. Util. ImportCommonUtil. CreateWorkbookByCheckExtension (60) ImportCommonUtil. Java:
The at cn. Uniquesoft. Controller. RecordController. SaveRecordSheet (RecordController. Java: 397)
The at cn. Uniquesoft. Controller. RecordController. Save (RecordController. Java: 297)
The at cn. Uniquesoft. Controller. The RecordController $$FastClassBySpringCGLIB $$390085 ef. Invoke (& lt; Generated>)
The at org. Springframework. Additional. Proxy. MethodProxy. Invoke (MethodProxy. Java: 218)
The at org. Springframework. Aop. Framework. CglibAopProxy $CglibMethodInvocation. InvokeJoinpoint (CglibAopProxy. Java: 746)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 163)
At org. Springframework. Aop) framework) adapter. MethodBeforeAdviceInterceptor. Invoke (MethodBeforeAdviceInterceptor. Java: 56)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 186)
The at org. Springframework. Transaction. The interceptor. TransactionAspectSupport. InvokeWithinTransaction (TransactionAspectSupport. Java: 294)
The at org. Springframework. Transaction. The interceptor. TransactionInterceptor. Invoke (TransactionInterceptor. Java: 98)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 186)
The at org. Springframework. Aop. Interceptor. ExposeInvocationInterceptor. Invoke (ExposeInvocationInterceptor. Java: 93)
The at org. Springframework. Aop. Framework. ReflectiveMethodInvocation. Proceed (ReflectiveMethodInvocation. Java: 186)
The at org. Springframework. Aop. Framework. CglibAopProxy $DynamicAdvisedInterceptor. Intercept (CglibAopProxy. Java: 688)
The at cn. Uniquesoft. Controller. The RecordController $$EnhancerBySpringCGLIB $$53474 ca3. Save (& lt; Generated>)
At sun. Reflect. NativeMethodAccessorImpl. Invoke0 (Native Method)
At sun. Reflect. NativeMethodAccessorImpl. Invoke (NativeMethodAccessorImpl. Java: 62)
At sun. Reflect. DelegatingMethodAccessorImpl. Invoke (43) DelegatingMethodAccessorImpl. Java:
The at Java. Lang. Reflect. Method. Invoke (498) Method. The Java:
The at org. Springframework. Web. Method. Support. InvocableHandlerMethod. DoInvoke (InvocableHandlerMethod. Java: 215)
The at org. Springframework. Web. Method. Support. InvocableHandlerMethod. InvokeForRequest (InvocableHandlerMethod. Java: 142)
The at org. Springframework. Web. Servlet. MVC) method. The annotation. ServletInvocableHandlerMethod. InvokeAndHandle (ServletInvocableHandlerMethod. Java: 102)
The at org. Springframework. Web. Servlet. MVC) method. The annotation. RequestMappingHandlerAdapter. InvokeHandlerMethod (RequestMappingHandlerAdapter. Java: 895)
The at org. Springframework. Web. Servlet. MVC) method. The annotation. RequestMappingHandlerAdapter. HandleInternal (RequestMappingHandlerAdapter. Java: 800)
The at org. Springframework. Web. Servlet. MVC. Method. AbstractHandlerMethodAdapter. Handle (AbstractHandlerMethodAdapter. Java: 87)
The at org. Springframework. Web. Servlet. DispatcherServlet. DoDispatch (DispatcherServlet. Java: 1038)
The at org. Springframework. Web. Servlet. DispatcherServlet. DoService (DispatcherServlet. Java: 942)
The at org. Springframework. Web. Servlet. FrameworkServlet. The processRequest (FrameworkServlet. Java: 998)
The at org. Springframework. Web. Servlet. FrameworkServlet. DoPost (FrameworkServlet. Java: 901)
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 660)
At org. Springframework. Web. Servlet. FrameworkServlet. Service (875) FrameworkServlet. Java:
The at javax.mail. Servlet. HTTP. HttpServlet. Service (HttpServlet. Java: 741)
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 231)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
At org, apache tomcat, websocket server WsFilter. DoFilter (53) WsFilter. Java:
The at org. Apache. Catalina. Core. ApplicationFilterChain. InternalDoFilter (ApplicationFilterChain. Java: 193)
The at org. Apache. Catalina. Core. ApplicationFilterChain. DoFilter (ApplicationFilterChain. Java: 166)
The at org. Springframework. Web. Filter. CorsFilter. DoFilterInternal (CorsFilter. Java: 96)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related