hibernate - threw an unexpected exception: java.lang.reflect.InvocationTargetException -


i working on gwt-hibernate application, application works on integrated gwt environment , on external server tomcat. need deploy application on jboss v 6.0. able deploy application on jboss , able run until on point of execution. @ particular button click application threw unexpected exception: java.lang.reflect.invocationtargetexception

normally "java.lang.reflect.invocationtargetexception" occurs when java compiler finds 2 different classes same name in 2 different packages. when importing both classes @ time , when trying create object of class throws "java.lang.reflect.invocationtargetexception" exception.

now not able figure out compiler finds 2 different class! there method available can know exact location (i.e physical path) finds 2 different path, can remove bad one.

any appreciated.

thanking you,

regards,

edit :

error [org.apache.catalina.core.containerbase.[jboss.web].[localhost].[/myproj]] (http-127.0.0.1-8080-4) exception while dispatching incoming rpc call: com.google.gwt.user.server.rpc.unexpectedexception: service method 'public com.proj.client.beans.domain.common.transaction.document com.proj.server.actions.configuration.documentaction.savedocument(com.proj.client.beans.domain.common.transaction.document,java.lang.long)' threw unexpected exception: java.lang.reflect.invocationtargetexception     @ com.google.gwt.user.server.rpc.rpc.encoderesponseforfailure(rpc.java:378) [:]     @ com.google.gwt.user.server.rpc.rpc.encoderesponseforfailure(rpc.java:361) [:]     @ com.google.gwt.user.server.rpc.rpc.encoderesponseforfailure(rpc.java:329) [:]     @ com.googlcode.strut2gwtplugin.interceptor.gwtservlet.processcall(gwtservlet.java:138) [:]     @ com.google.gwt.user.server.rpc.remoteserviceservlet.processpost(remoteserviceservlet.java:224) [:]     @ com.google.gwt.user.server.rpc.abstractremoteserviceservlet.dopost(abstractremoteserviceservlet.java:62) [:]     @ javax.servlet.http.httpservlet.service(httpservlet.java:754) [:1.0.0.final]     @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [:1.0.0.final]     @ com.googlcode.strut2gwtplugin.interceptor.gwtinterceptor.intercept(gwtinterceptor.java:49) [:]     @ com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) [:]     @ com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) [:]     @ com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) [:]     @ com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) [:]     @ com.proj.server.logininterceptor.intercept(logininterceptor.java:37) [:]     @ com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) [:]     @ com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) [:]     @ com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) [:]     @ com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) [:]     @ org.apache.struts2.impl.strutsactionproxy.execute(strutsactionproxy.java:50) [:]     @ org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:504) [:]     @ org.apache.struts2.dispatcher.filterdispatcher.dofilter(filterdispatcher.java:422) [:]     @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:274) [:6.0.0.final]     @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:242) [:6.0.0.final]     @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:275) [:6.0.0.final]     @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:191) [:6.0.0.final]     @ org.jboss.web.tomcat.security.securityassociationvalve.invoke(securityassociationvalve.java:181) [:6.0.0.final]     @ org.jboss.modcluster.catalina.catalinacontext$requestlistenervalve.event(catalinacontext.java:285) [:1.1.0.final]     @ org.jboss.modcluster.catalina.catalinacontext$requestlistenervalve.invoke(catalinacontext.java:261) [:1.1.0.final]     @ org.jboss.web.tomcat.security.jacccontextvalve.invoke(jacccontextvalve.java:88) [:6.0.0.final]     @ org.jboss.web.tomcat.security.securitycontextestablishmentvalve.invoke(securitycontextestablishmentvalve.java:100) [:6.0.0.final]     @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:127) [:6.0.0.final]     @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102) [:6.0.0.final]     @ org.jboss.web.tomcat.service.jca.cachedconnectionvalve.invoke(cachedconnectionvalve.java:158) [:6.0.0.final]     @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) [:6.0.0.final]     @ org.jboss.web.tomcat.service.request.activerequestresponsecachevalve.invoke(activerequestresponsecachevalve.java:53) [:6.0.0.final]     @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:362) [:6.0.0.final]     @ org.apache.coyote.http11.http11processor.process(http11processor.java:877) [:6.0.0.final]     @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:654) [:6.0.0.final]     @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:951) [:6.0.0.final]     @ java.lang.thread.run(thread.java:662) [:1.6.0_23] caused by: java.lang.reflect.invocationtargetexception     @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) [:1.6.0_23]     @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) [:1.6.0_23]     @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) [:1.6.0_23]     @ java.lang.reflect.method.invoke(method.java:597) [:1.6.0_23]     @ com.googlcode.strut2gwtplugin.interceptor.gwtservlet.processcall(gwtservlet.java:127) [:]     ... 36 more caused by: java.lang.nullpointerexception     @ com.proj.server.actions.configuration.documentaction.savedocument(documentaction.java:161) [:]     ... 41 more 

try deploy code on jboss-5.0.0.ga

hope helps


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -