Java. Lang. Reflect. invocationtargetexception
At sun. Reflect. nativeconstructoraccessorimpl. newinstance0 (native method)
At sun. Reflect. nativeconstruct%cessorimpl. newinstance (nativeconstruct%cessorimpl. Java: 39)
At sun. Reflect. delegatingconstruct%cessorimpl. newinstance (delegatingconstruct%cessorimpl. Java: 27)
At java. Lang. Reflect. constructor. newinstance (constructor. Java: 274)
At org. Apache. Poi. hssf. Record. recordfactory. createrecord (recordfactory. Java: 224)
At org. Apache. Poi. hssf. Record. recordfactory. createrecords (recordfactory. Java: 160)
At org. Apache. Poi. hssf. usermodel. hssfworkbook. <init> (hssfworkbook. Java: 163)
At org. Apache. Poi. hssf. usermodel. hssfworkbook. <init> (hssfworkbook. Java: 210)
At org. Apache. Poi. hssf. usermodel. hssfworkbook. <init> (hssfworkbook. Java: 191)
At com. Kingdee. Outsourcing. Sangon. testexcelana. analyexcel (testexcelana. Java: 45)
At org. Apache. jsp. anatestorderexcel_jsp. _ jspservice (anatestorderexcel_jsp.java: 130)
At org. Apache. Jasper. runtime. httpjspbase. Service (httpjspbase. Java: 94)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 802)
At org. Apache. Jasper. servlet. jspservletwrapper. Service (jspservletwrapper. Java: 324)
At org. Apache. Jasper. servlet. jspservlet. servicejspfile (jspservlet. Java: 292)
At org. Apache. Jasper. servlet. jspservlet. Service (jspservlet. Java: 236)
At javax. servlet. http. httpservlet. Service (httpservlet. Java: 802)
At org. Apache. Catalina. Core. applicationfilterchain. internaldofilter (applicationfilterchain. Java: 237)
At org. Apache. Catalina. Core. applicationfilterchain. dofilter (applicationfilterchain. Java: 157)
At org. Apache. Catalina. Core. standardwrappervalve. Invoke (standardwrappervalve. Java: 214)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. standardcontextvalve. invokeinternal (standardcontextvalve. Java: 198)
At org. Apache. Catalina. Core. standardcontextvalve. Invoke (standardcontextvalve. Java: 152)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. standardhostvalve. Invoke (standardhostvalve. Java: 137)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Valves. errorreportvalve. Invoke (errorreportvalve. Java: 118)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 102)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. standardenginevalve. Invoke (standardenginevalve. Java: 109)
At org. Apache. Catalina. Core. standardvalvecontext. invokenext (standardvalvecontext. Java: 104)
At org. Apache. Catalina. Core. standardpipeline. Invoke (standardpipeline. Java: 520)
At org. Apache. Catalina. Core. containerbase. Invoke (containerbase. Java: 929)
At org. Apache. Coyote. tomcat5.coyoteadapter. Service (coyoteadapter. Java: 160)
At org. Apache. Coyote. http11.http11processor. Process (http11processor. Java: 799)
At org. Apache. Coyote. http11.http11protocol $ http11connectionhandler. processconnection (http11protocol. Java: 705)
At org.apache.tomcat.util.net. tcpworkerthread. Runit (pooltcpendpoint. Java: 577)
At org. Apache. tomcat. util. threads. threadpool $ controlrunnable. Run (threadpool. Java: 683)
At java. Lang. thread. Run (thread. Java: 536)
Caused by: Java. Lang. arrayindexoutofboundsexception
At java. Lang. system. arraycopy (native method)
At org. Apache. Poi. hssf. Record. unknownrecord. <init> (unknownrecord. Java: 62)
At org. Apache. Poi. hssf. Record. subrecord. createsubrecord (subrecord. Java: 57)
At org. Apache. Poi. hssf. Record. objrecord. fillfields (objrecord. Java: 99)
At org. Apache. Poi. hssf. Record. Record. fillfields (record. Java: 90)
At org. Apache. Poi. hssf. Record. Record. <init> (record. Java: 55)
At org. Apache. Poi. hssf. Record. objrecord. <init> (objrecord. Java: 61)
Out of bounds ??
Java. Lang. arrayindexoutofboundsexception
This is the most basic array exception that exceeds the range.
You first use sheet. getlastrownum ()
Check whether the number of your row is out of the range.
Use row. getlastcellnum () to check if the value is out of the range.
You can also add a break point in your program to check for problems. java. Lang. arrayindexoutofboundsexception
This is the most basic array exception that exceeds the range.
You first use sheet. getlastrownum ()
Check whether the number of your row is out of the range.
Use row. getlastcellnum () to check if the value is out of the range.
You can also add a break point in your program to check for problems.