Hi,
I have an exception that I think shouldn't happen (am I doing sth wrong?,
does anybody know how to avoid it?):
Regards,
Zied
// *TODO*: remove this if block if prooven this never happens anymore
*if* (command == *null
*
&& currentActionId != *null* && currentActionId.matches(".*:\\d+:.*")) {
// If currentActionId component was inside a sheet the id contains the
// rowindex and is therefore not found here.
// We do not need the row here because we want just to find the
// related form, so removing the rowindex will help here.
currentActionId = currentActionId.replaceAll(":\\d+:", ":");
*try* {
command = findComponent(currentActionId);
*LOG*.info("command = \"" + command + "\"", *new* Exception());
} *catch* (Exception e) {
// ignore
}
here's the trace
10:34:16,171 INFO [STDOUT] 2007-09-05 10:34:16,171 [http-127.0.0.1-8080-4]
INFO org.apache.myfaces.tobago.component.UIPage.markSubmittedForm(176) -
command = "[EMAIL PROTECTED]"
*java.lang.Exception*
at org.apache.myfaces.tobago.component.UIPage.markSubmittedForm(*
UIPage.java:176*)
at org.apache.myfaces.tobago.component.UIPage.processDecodes(*
UIPage.java:138*)
at javax.faces.component.UIComponentBase.processDecodes(*
UIComponentBase.java:1001*)
at javax.faces.component.UIViewRoot.processDecodes(*UIViewRoot.java
:493*)
at org.apache.myfaces.tobago.component.UIViewRoot.processDecodes(*
UIViewRoot.java:183*)
at
org.apache.myfaces.tobago.lifecycle.ApplyRequestValuesExecutor.execute(*
ApplyRequestValuesExecutor.java:78*)
at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.executePhase(*
TobagoLifecycle.java:102*)
at org.apache.myfaces.tobago.lifecycle.TobagoLifecycle.execute(*
TobagoLifecycle.java:72*)
at javax.faces.webapp.FacesServlet.service(*FacesServlet.java:244*)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:290*)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)
at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(*
ExtensionsFilter.java:147*)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:235*)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(*
ReplyHeaderFilter.java:96*)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(*
ApplicationFilterChain.java:235*)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(*
ApplicationFilterChain.java:206*)
at org.apache.catalina.core.StandardWrapperValve.invoke(*
StandardWrapperValve.java:230*)
at org.apache.catalina.core.StandardContextValve.invoke(*
StandardContextValve.java:175*)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(*
SecurityAssociationValve.java:179*)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(*
JaccContextValve.java:84*)
at org.apache.catalina.core.StandardHostValve.invoke(*
StandardHostValve.java:128*)
at org.apache.catalina.valves.ErrorReportValve.invoke(*
ErrorReportValve.java:104*)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(*
CachedConnectionValve.java:157*)
at org.apache.catalina.core.StandardEngineValve.invoke(*
StandardEngineValve.java:109*)
at org.apache.catalina.connector.CoyoteAdapter.service(*
CoyoteAdapter.java:241*)
at org.apache.coyote.http11.Http11Processor.process(*
Http11Processor.java:844*)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(*
Http11Protocol.java:580*)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(*JIoEndpoint.java
:447*)
at java.lang.Thread.run(*Thread.java:619*)
--
Zied Hamdi
zatreex.sourceforge.net