异常-求高手解惑java.lang.reflect.InvocationTargetException

问题描述

求高手解惑java.lang.reflect.InvocationTargetException

2015-06-24 09:23:35,527 ERROR [STDERR] java.lang.reflect.InvocationTargetException
2015-06-24 09:23:35,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-06-24 09:23:35,531 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2015-06-24 09:23:35,531 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-06-24 09:23:35,531 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:616)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.commons.tools.ReflectionUtils.InvokeMethod(ReflectionUtils.java:173)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.service.commons.ApplicationController.Service(ApplicationController.java:570)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.servlet.FrontController.doGet(FrontController.java:205)
2015-06-24 09:23:35,531 ERROR [STDERR] at com.pt.servlet.FrontController.doPost(FrontController.java:261)
2015-06-24 09:23:35,531 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
2015-06-24 09:23:35,531 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
2015-06-24 09:23:35,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
2015-06-24 09:23:35,531 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,531 ERROR [STDERR] at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495)
2015-06-24 09:23:35,532 ERROR [STDERR] at com.util.MyFilter.doFilter(MyFilter.java:44)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,532 ERROR [STDERR] at com.pt.servlet.filter.LoginFilter.doFilter(LoginFilter.java:52)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
2015-06-24 09:23:35,532 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
2015-06-24 09:23:35,533 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
2015-06-24 09:23:35,533 ERROR [STDERR] at java.lang.Thread.run(Thread.java:636)
2015-06-24 09:23:35,534 ERROR [STDERR] Caused by: com.pt.commons.entity.ExceptionEx: TIMEOUT
2015-06-24 09:23:35,534 ERROR [STDERR] at com.pt.service.business.service.impl.commons.ImplEmployeeDataService.saveEmployeeInfo(ImplEmployeeDataService.java:433)
2015-06-24 09:23:35,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-06-24 09:23:35,534 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2015-06-24 09:23:35,534 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-06-24 09:23:35,534 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:616)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
2015-06-24 09:23:35,534 ERROR [STDERR] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
2015-06-24 09:23:35,534 ERROR [STDERR] at $Proxy168.saveEmployeeInfo(Unknown Source)
2015-06-24 09:23:35,534 ERROR [STDERR] ... 37 more

解决方案

有大神么? 网上有的说是log4j包与slf4j-log4j12包 有冲突,是这样的么?

解决方案二:

把你出错误的地方的代码贴出来看下。

时间: 2024-11-03 18:01:23

异常-求高手解惑java.lang.reflect.InvocationTargetException的相关文章

异常-java.lang.reflect.InvocationTargetException

问题描述 java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException 这个异常一般是什么错误 解决方案 问题解决了.少了一个文件,.获取这个文件的时候找不到报错 解决方案二: java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

异常:java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce

从jsp中调用Applet,出现java.lang.reflect.InvocationTargetException异常

问题描述 项目中通过jsp访问硬件,使用Applet访问硬件com串口,但是,从jsp中访问applet中的方法时,提示java.lang.reflect.InvocationTargetException错误,此方法中包括了访问硬件com串口的类.另外,单独作为一个application运行这样applet,是正常的. 解决方案 解决方案二:LZ把堆栈最好都贴出来,如果可以还有报错代码段.解决方案三:是不是你引入了其他的Jar包,但是这个Applet找不到这个Jar包导致的这种包冲突最难搞了

打印-JS报错java.lang.reflect.InvocationTargetException

问题描述 JS报错java.lang.reflect.InvocationTargetException web项目打印时,JS报错 解决方案 这个一般都不是异常的问题,你看看控制台输出的是什么错误,你有这一条解决不了什么的 解决方案二: 方法没定义或方法名写错了,引起框架的反射错误 解决方案三: 应该把js报的具体错误弄出来看看

java.lang.reflect.InvocationTargetException

问题描述 java.lang.reflect.InvocationTargetExceptionat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin

报错:java.lang.reflect.InvocationTargetException

问题描述 type Exception reportmessagedescription The server encountered an internal error () that prevented it from fulfilling this request.exception java.lang.reflect.InvocationTargetExceptionsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)su

axis1.4 调用报错:faultString: java.lang.reflect.InvocationTargetException

问题描述 本来在本地我开两个项目访问是没问题的,然后我把服务端发布在客户的服务器上,在本地写测试代码调用接口时就报错了,望大神指点迷津,我弄了一天了,都快疯了..错误如下:AxisFaultfaultCode:{http://schemas.xmlsoap.org/soap/envelope/}Server.userExceptionfaultSubcode:faultString:java.lang.reflect.InvocationTargetExceptionfaultActor:fau

求高手解答 java.lang.ClassCastException: org.quartz.simpl.SimpleThreadPool

问题描述 使用quartz的时候,启动程序就抛出如下异常,不知道问题出在那,求解决...严重:Spring容器初始化过程中出现异常[wrzs_core]org.springframework.beans.factory.BeanCreationException:Errorcreatingbeanwithname'getScheduling':Invocationofinitmethodfailed;nestedexceptionisorg.quartz.SchedulerException:T

xmlbeans-java.lang.reflect.InvocationTargetException?

问题描述 java.lang.reflect.InvocationTargetException? ssh项目用 poi导入Excel时报 java.lang.reflect.InvocationTargetException java.lang.reflect.InvocationTargetException java.lang.NoClassDefFoundError: org/apache/xmlbeans/XmlObject java.lang.ClassNotFoundExcepti