You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Pedro Alves <pm...@think.pt> on 2004/03/19 12:25:27 UTC

Tapestry (occasional) error


    Hi!


    I'm getting a strange error that only happens occasionally. I have a
form with a number of checkboxes (100) that are beeing procecced. I was not
able to reproduce the problem... I think it happens when there is some time
between the page load and the submit (2-3 minutes... :/ ).


    Any clue? Any suggestions? Any addicional information I can give you?


    Thanks a lot!


_______________________________


org.apache.tapestry.BindingException
Unable to resolve expression 'tableModel.rowCount' for
pt.think.event.pages.contacts.SelectContacts@12bf560[SelectContacts].
binding:    ExpressionBinding[SelectContacts tableModel.rowCount]
location:   context:/WEB-INF/pages/contacts/SelectContacts.page, line 39,
column 60


ognl.OgnlException
tableModel


java.lang.NullPointerException
Stack Trace:

    *
pt.think.event.pages.contacts.SelectContacts.getTableModel(SelectContacts.java:165)
    * sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
    *
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    * java.lang.reflect.Method.invoke(Method.java:324)
    * ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java)
    * ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java)
    *
ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java)
    * ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java)
    * ognl.OgnlRuntime.getProperty(OgnlRuntime.java)
    * ognl.ASTProperty.getValueBody(ASTProperty.java)
    * ognl.SimpleNode.getValue(SimpleNode.java)
    * ognl.ASTChain.getValueBody(ASTChain.java)
    * ognl.SimpleNode.getValue(SimpleNode.java)
    * ognl.Ognl.getValue(Ognl.java)
    * ognl.Ognl.getValue(Ognl.java)
    * .....

Session
Properties
Name    Value
id  8CF8CA71C91A0FC6A16F1B8441C3875D
creationTime    Fri Mar 19 11:00:52 WET 2004
lastAccessedTime    Fri Mar 19 11:03:55 WET 2004
maxInactiveInterval 900
new no






-- 
Pedro Miguel G. Alves            pmalves@think.pt
THINK - Tecnologias de Informação    www.think.pt
Tel:   +351 21 413 46 00  Av. José Gomes Ferreira
Fax:   +351 21 413 46 09     nº 13 1495-139 ALGÉS

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry (occasional) error

Posted by Pedro Alves <pm...@think.pt>.

    Did not work as I expected.


    Can I increase the keepalive parameter of tomcat? How?


    Thankx



On Fri, Mar 19, 2004 at 01:08:26PM -0500, Bryan Lewis wrote:
> A similar kind of problem -- an error after the app is idle for a
> while -- was discussed here:
> 
> http://article.gmane.org/gmane.comp.java.tapestry.user/6449
> 
> 
> ----- Original Message ----- 
> From: "Pedro Alves" <pm...@think.pt>
> To: "Tapestry Mailing List" <ta...@jakarta.apache.org>
> Sent: Friday, March 19, 2004 6:25 AM
> Subject: Tapestry (occasional) error
> 
> 
> >
> >
> >     Hi!
> >
> >
> >     I'm getting a strange error that only happens occasionally. I have
> a
> > form with a number of checkboxes (100) that are beeing procecced. I
> was not
> > able to reproduce the problem... I think it happens when there is some
> time
> > between the page load and the submit (2-3 minutes... :/ ).
> >
> >
> >     Any clue? Any suggestions? Any addicional information I can give
> you?
> >
> >
> >     Thanks a lot!
> >
> >
> > _______________________________
> >
> >
> > org.apache.tapestry.BindingException
> > Unable to resolve expression 'tableModel.rowCount' for
> > pt.think.event.pages.contacts.SelectContacts@12bf560[SelectContacts].
> > binding:    ExpressionBinding[SelectContacts tableModel.rowCount]
> > location:   context:/WEB-INF/pages/contacts/SelectContacts.page, line
> 39,
> > column 60
> >
> >
> > ognl.OgnlException
> > tableModel
> >
> >
> > java.lang.NullPointerException
> > Stack Trace:
> >
> >     *
> >
> pt.think.event.pages.contacts.SelectContacts.getTableModel(SelectContact
> s.java:165)
> >     * sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
> >     *
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
> >     * java.lang.reflect.Method.invoke(Method.java:324)
> >     * ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java)
> >     * ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java)
> >     *
> >
> ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.j
> ava)
> >     *
> ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java)
> >     * ognl.OgnlRuntime.getProperty(OgnlRuntime.java)
> >     * ognl.ASTProperty.getValueBody(ASTProperty.java)
> >     * ognl.SimpleNode.getValue(SimpleNode.java)
> >     * ognl.ASTChain.getValueBody(ASTChain.java)
> >     * ognl.SimpleNode.getValue(SimpleNode.java)
> >     * ognl.Ognl.getValue(Ognl.java)
> >     * ognl.Ognl.getValue(Ognl.java)
> >     * .....
> >
> > Session
> > Properties
> > Name    Value
> > id  8CF8CA71C91A0FC6A16F1B8441C3875D
> > creationTime    Fri Mar 19 11:00:52 WET 2004
> > lastAccessedTime    Fri Mar 19 11:03:55 WET 2004
> > maxInactiveInterval 900
> > new no
> >
> >
> >
> >
> >
> >
> > -- 
> > Pedro Miguel G. Alves            pmalves@think.pt
> > THINK - Tecnologias de Informação    www.think.pt
> > Tel:   +351 21 413 46 00  Av. José Gomes Ferreira
> > Fax:   +351 21 413 46 09     nº 13 1495-139 ALGÉS
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

-- 
Pedro Miguel G. Alves            pmalves@think.pt
THINK - Tecnologias de Informação    www.think.pt
Tel:   +351 21 413 46 00  Av. José Gomes Ferreira
Fax:   +351 21 413 46 09     nº 13 1495-139 ALGÉS

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Tapestry (occasional) error

Posted by Bryan Lewis <br...@maine.rr.com>.
A similar kind of problem -- an error after the app is idle for a
while -- was discussed here:

http://article.gmane.org/gmane.comp.java.tapestry.user/6449


----- Original Message ----- 
From: "Pedro Alves" <pm...@think.pt>
To: "Tapestry Mailing List" <ta...@jakarta.apache.org>
Sent: Friday, March 19, 2004 6:25 AM
Subject: Tapestry (occasional) error


>
>
>     Hi!
>
>
>     I'm getting a strange error that only happens occasionally. I have
a
> form with a number of checkboxes (100) that are beeing procecced. I
was not
> able to reproduce the problem... I think it happens when there is some
time
> between the page load and the submit (2-3 minutes... :/ ).
>
>
>     Any clue? Any suggestions? Any addicional information I can give
you?
>
>
>     Thanks a lot!
>
>
> _______________________________
>
>
> org.apache.tapestry.BindingException
> Unable to resolve expression 'tableModel.rowCount' for
> pt.think.event.pages.contacts.SelectContacts@12bf560[SelectContacts].
> binding:    ExpressionBinding[SelectContacts tableModel.rowCount]
> location:   context:/WEB-INF/pages/contacts/SelectContacts.page, line
39,
> column 60
>
>
> ognl.OgnlException
> tableModel
>
>
> java.lang.NullPointerException
> Stack Trace:
>
>     *
>
pt.think.event.pages.contacts.SelectContacts.getTableModel(SelectContact
s.java:165)
>     * sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
>     *
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
>     * java.lang.reflect.Method.invoke(Method.java:324)
>     * ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java)
>     * ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java)
>     *
>
ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.j
ava)
>     *
ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java)
>     * ognl.OgnlRuntime.getProperty(OgnlRuntime.java)
>     * ognl.ASTProperty.getValueBody(ASTProperty.java)
>     * ognl.SimpleNode.getValue(SimpleNode.java)
>     * ognl.ASTChain.getValueBody(ASTChain.java)
>     * ognl.SimpleNode.getValue(SimpleNode.java)
>     * ognl.Ognl.getValue(Ognl.java)
>     * ognl.Ognl.getValue(Ognl.java)
>     * .....
>
> Session
> Properties
> Name    Value
> id  8CF8CA71C91A0FC6A16F1B8441C3875D
> creationTime    Fri Mar 19 11:00:52 WET 2004
> lastAccessedTime    Fri Mar 19 11:03:55 WET 2004
> maxInactiveInterval 900
> new no
>
>
>
>
>
>
> -- 
> Pedro Miguel G. Alves            pmalves@think.pt
> THINK - Tecnologias de Informação    www.think.pt
> Tel:   +351 21 413 46 00  Av. José Gomes Ferreira
> Fax:   +351 21 413 46 09     nº 13 1495-139 ALGÉS
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org