日期:2014-05-18  浏览次数:20717 次

java.lang.reflect.InvocationTargetException这个异常什么意思
今天已经在网上找了半天,郁闷的要死了
Java code
2009-01-18 22:24:09,234 DEBUG (org.apache.struts2.components.template.FreemarkerTemplateEngine:115) - Rendering template /template/simple/form-close.ftl 
2009-01-18 22:24:16,375 DEBUG (org.apache.struts2.dispatcher.Dispatcher:635) - saveDir=d:/temp
2009-01-18 22:24:16,562 DEBUG (org.apache.struts2.dispatcher.multipart.MultiPartRequest:94) - Found item fileName
2009-01-18 22:24:16,562 DEBUG (org.apache.struts2.dispatcher.multipart.MultiPartRequest:116) - Item is a file upload
2009-01-18 22:24:16,796 ERROR (com.opensymphony.xwork2.interceptor.ParametersInterceptor:204) - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'fileNameContentType' on 'class com.freshpower.bid.bm.action.ImpProjectAction: Error setting expression 'fileNameContentType' with value '[Ljava.lang.String;@1551b28'
2009-01-18 22:24:16,796 ERROR (com.opensymphony.xwork2.interceptor.ParametersInterceptor:204) - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting 'fileNameFileName' on 'class com.freshpower.bid.bm.action.ImpProjectAction: Error setting expression 'fileNameFileName' with value '[Ljava.lang.String;@6a1b46'
2009-01-18 22:24:16,812 DEBUG (org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor:134) - Validating /struts/bm/impModel with method impProjectFile.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:213)
at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:149)
at org.apache.poi.hssf.usermodel.HSSFWorkbook. <init>(HSSFWorkbook.java:183)
at org.apache.poi.hssf.usermodel.HSSFWorkbook. <init>(HSSFWorkbook.java:152)
at com.freshpower.bid.common.util.ExcelReader.readExcelContent(ExcelReader.java:63)
at com.freshpower.bid.bm.action.ImpProjectAction.impProjectFile(ImpProjectAction.java:64)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:229)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:221)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:86)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:224)
at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(DefaultActionInvocation.java:223)
at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTimerStack.java:455)
at com.open