-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Urgent excepton: java.lang.reflect.InvocationTargetException
PostPosted: Mon Mar 14, 2011 4:42 pm 
Newbie

Joined: Fri Feb 25, 2011 2:34 am
Posts: 11
Hi friends,
I am on production and getting this error:
can anyone help me solve, i am using hte hibernate 3, tomcat 5.5 , struts2, linux centos 5.x.

Code:
java.lang.reflect.InvocationTargetException
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   java.lang.reflect.Method.invoke(Method.java:597)
   com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
   com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
   com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
   com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)
   org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
   com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
   com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195)
   com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:235)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:89)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:130)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:126)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:138)
   com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:165)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:179)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:176)
   com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
   org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
   org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488)
   org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
   org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
   org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
   org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
   org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
   org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:381)
   com.eggbods.struts.action.RequestFilter.doFilter(RequestFilter.java:169)

I have following files in lib folder.
Code:
                           commons-io-1.3.2.jar          json-lib-2.1.jar                       struts2-embeddedjsp-plugin-2.1.8.1.jar
                           commons-lang-2.3.jar          jstl-1.2.jar                           struts2-json-plugin-2.1.8.1.jar
                         commons-logging-api-1.1.jar   jta-1.1.jar                            struts2-tiles-plugin-2.1.8.1.jar
antlr-3.3-complete.jar        commons-validator-1.3.1.jar   mysql-connector-java-5.1.10-bin.jar    swarmcache-1.0RC2.jar
aopalliance-1.0.jar           dom4j-1.6.1.jar               ognl-2.7.3.jar                         tiles-api-2.0.6.jar
c3p0-0.9.1.jar                ehcache-1.2.3.jar             oro-2.0.8.jar                          tiles-core-2.0.6.jar
cglib-2.2.jar                 el-api-2.2.jar                oscache-2.1.jar                        tiles-jsp-2.0.6.jar
classworlds-1.1.jar           freemarker-2.3.15.jar         proxool-0.8.3.jar                      urlrewrite-3.2.0.jar
commons-beanutils-1.7.0.jar   hibernate3.jar                serializer.jar                         xalan.jar
commons-chain-1.2.jar         javassist-3.9.0.GA.jar        slf4j-api-1.5.8.jar                    xml-apis.jar
commons-collections-3.2.jar   jboss-cache-1.4.1.GA.jar      sslext-1.2-0.jar                       xwork-core-2.1.6.jar
commons-digester-2.0.jar      jbosscache-core-3.1.0.GA.jar  struts2-convention-plugin-2.1.8.1.jar
commons-fileupload-1.2.1.jar  jsf-api.jar                   struts2-core-2.1.8.1.jar


pl. help, immediate replies will be appreciated.
the code is developed using ide myeclipse.
--
Thanks and kind Regards,
Abhishek jain


Top
 Profile  
 
 Post subject: Re: Urgent excepton: java.lang.reflect.InvocationTargetException
PostPosted: Tue Mar 15, 2011 1:21 am 
Newbie

Joined: Fri Dec 24, 2010 2:08 pm
Posts: 6
Hi friend,

Please provide full trace, since this exception is generic at the time of invoking method or using constructor of a imported class.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.