Hi all, I'm using a DispatchAction.
I'm using the attached ExceptionHandler. In my handler I'm not able to catch the exception. I also attached my struts-config.xml global-exceptions element. Also the stack trace I get is attached... Any ideas? Kind regards
java.lang.reflect.InvocationTargetException 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:324) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:209) at com.mycompany.struts.actions.DispatchAction.execute(DispatchAction.java:93) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:442) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:264) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:452) at javax.servlet.http.HttpServlet.service(HttpServlet.java:126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:103) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet.java:96) at com.caucho.server.http.Invocation.service(Invocation.java:312) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:244) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:163) at com.caucho.server.TcpConnection.run(TcpConnection.java:137) at java.lang.Thread.run(Thread.java:536) Caused by: com.mycompany.commons.component.ComponentException: This is my message at com.mycompany.commons.component.ComponentValidator.validateComponent(ComponentValidator.java:23) at com.mycompany.myapp.MyApp.validateMyAppComponent(MyApp.java:420) at com.mycompany.myapp.MyApp.getInstance(MyApp.java:113) at com.mycompany.myapp.http.SystemAction.getThreads(SystemAction.java:238)
struts-config.xml
Description: Binary data
ComponentExceptionHandler.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>