Hi Volker,

this is the output with UIPage in debug level:
I forgot to tell you it happens whan I click on a link in a UIData :


<tc:sheet id="personData" value="#{personCtrl.persons}"

var="currentPerson" state="#{personCtrl.sheetState}" showHeader="true"

binding="#{personCtrl.personTable}"

columns="18px;70px;70px;100px;110px;*;18px" showPageRange="center"

showRowRange="right">

<tc:column sortable="false" align="center">

<tc:link action="#{personCtrl.edit}"

image="image/edit.PNG">

</tc:link>

</tc:column>
the log is:

12:01:19,984 INFO [STDOUT] 2007-09-05 12:01:19,984 [http-127.0.0.1-8080-2]
DEBUG org.apache.myfaces.tobago.component.UIPage.markSubmittedForm(156) -
actionId = 'page:personForm:personTableSubview:personData:0:j_id14'

12:01:20,000 INFO [STDOUT] 2007-09-05 12:01:19,984 [http-127.0.0.1-8080-2]
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*)

12:01:20,046 INFO [STDOUT] 2007-09-05 12:01:20,046 [http-127.0.0.1-8080-2]
TRACE fr.into.common.command.CommandExecuterImpl.execute(102) - Executing
Person selector: subject: '
[EMAIL PROTECTED]',
params: 'Client: (name: 'Zied', last name: 'Hamdi')', outcome:
'null'(unfinished) : subject: '
[EMAIL PROTECTED]',
params: 'Client: (name: 'Zied', last name: 'Hamdi')', outcome: 'null'

12:01:20,046 INFO [STDOUT] Hibernate: select client0_.ID as ID0_2_,
client0_.startDate as startDate0_2_, client0_.note as note0_2_,
client0_.endDate as endDate0_2_, client0_.lastOccurence as lastOccu5_0_2_,
client0_.source_id as source12_0_2_, client0_.PERFORMER_ID as
PERFORMER11_0_2_, client0_.firstName as firstName0_2_, client0_.lastName as
lastName0_2_, client0_.entryDate as entryDate0_2_, client0_.exitDate as
exitDate0_2_, client0_.gender as gender0_2_, phones1_.person_id as
person6_4_, phones1_.id as id4_, phones1_.id as id2_0_, phones1_.type as
type2_0_, phones1_.number as number2_0_, phones1_.note as note2_0_,
phones1_.main as main2_0_, phones1_.person_id as person6_2_0_,
adresses2_.person_id as person10_5_, adresses2_.id as id5_, adresses2_.id as
id1_1_, adresses2_.type as type1_1_, adresses2_.number as number1_1_,
adresses2_.country as country1_1_, adresses2_.postalCode as postalCode1_1_,
adresses2_.street as street1_1_, adresses2_.specifier as specifier1_1_,
adresses2_.town as town1_1_, adresses2_.city as city1_1_,
adresses2_.person_id as person10_1_1_ from Client client0_ left outer join
ClientPhoneNumber phones1_ on client0_.ID=phones1_.person_id left outer join
ClientAdress adresses2_ on client0_.ID=adresses2_.person_id where
client0_.ID=?

12:01:20,109 INFO [STDOUT] Hibernate: select planningco0_.client_id as
client11_1_, planningco0_.ID as ID1_, planningco0_.ID as ID15_0_,
planningco0_.startDate as startDate15_0_, planningco0_.note as note15_0_,
planningco0_.endDate as endDate15_0_, planningco0_.lastOccurence as
lastOccu5_15_0_, planningco0_.source_id as source10_15_0_,
planningco0_.PERFORMER_ID as PERFORMER8_15_0_, planningco0_.client_id as
client11_15_0_, planningco0_.subscriptionDate as subscrip6_15_0_,
planningco0_.planningEndDate as planning7_15_0_, planningco0_.commercial_id
as commercial9_15_0_ from WorkPlanningContract planningco0_ where
planningco0_.client_id=?

12:01:20,140 INFO [STDOUT] 2007-09-05 12:01:20,125 [http-127.0.0.1-8080-2]
TRACE fr.into.common.command.util.SelectElementCommand.execute(24) -
Executing Person selector: subject: '
[EMAIL PROTECTED]',
params: 'Client: (name: 'Zied', last name: 'Hamdi')', outcome:
'null'(unfinished): Setting subject to Client: (name: 'Zied', last name:
'Hamdi')

12:01:20,140 INFO [STDOUT] 2007-09-05 12:01:20,140 [http-127.0.0.1-8080-2]
TRACE fr.into.common.command.util.SelectElementCommand.execute(27) - New
SelectElementCommandExecuter nested element : Edit Person: subject: 'Client:
(name: 'Zied', last name: 'Hamdi')', params: 'null', outcome:
'null'(unfinished)

12:01:20,140 INFO [STDOUT] 2007-09-05 12:01:20,140 [http-127.0.0.1-8080-2]
TRACE fr.into.common.command.CommandExecuterImpl.execute(106) - Finished
executing Person selector: subject: '
[EMAIL PROTECTED]',
params: 'Client: (name: 'Zied', last name: 'Hamdi')', outcome:
'null'(unfinished)->Edit Person(unfinished) : subject: '
[EMAIL PROTECTED]',
params: 'Client: (name: 'Zied', last name: 'Hamdi')', outcome: 'null'

12:01:20,140 INFO [STDOUT] current person: null

12:01:20,187 INFO [STDOUT] 2007-09-05 12:01:20,187 [http-127.0.0.1-8080-2]
INFO org.apache.myfaces.tobago.util.DebugPhaseListener.afterPhase(65) -
Total response time : 219 milliseconds



2007/9/5, Volker Weber <[EMAIL PROTECTED]>:
>
> Hi Zied,
>
> did you have the output of this statement in the log
>      LOG.debug("actionId = '" + currentActionId + "'");
> just before the exception?
>
> you  may need to set debug-level to debug for UIPage.
>
> please post the actionId.
>
>
> Regards,
>    Volker
>
> 2007/9/5, Zied Hamdi <[EMAIL PROTECTED]>:
> > 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
>



-- 
Zied Hamdi
zatreex.sourceforge.net

Reply via email to