Yes. it seems that _activePageNames is null. If that's the root of the 
problem, what could have caused that?

Norbert S�ndor <[EMAIL PROTECTED]> wrote on 06/15/2005 05:39:45 PM:

> This means that the line
> 
> Visit visit = (Visit)getVisit();
> 
> fails?
> Do you have a custom visit object? Maybe the visit creation fails...
> (Did you try to debug the listener?)
> 
> Br,
> Norbi
> 
> ----- Original Message ----- 
> From: <[EMAIL PROTECTED]>
> To: "Tapestry users" <[email protected]>
> Sent: Wednesday, June 15, 2005 11:25 PM
> Subject: Unable to invoke method start
> 
> 
> > I'm getting this error message and can't understand why.
> > 
> > org.apache.tapestry.ApplicationRuntimeException Unable to invoke 
method 
> > start on [EMAIL PROTECTED]: null 
> > 
> > Home.html contains only one tapestry component:
> > 
> >        <p><a href="#" jwcid="@DirectLink" 
listener="ognl:listeners.start"
> >><img src="images/go.gif" width="40" height="40" border="0" alt="Start"
> > /></a></p>
> > 
> > Home.page is likewise simple:
> > 
> > <page-specification class="demo.Home">
> >    <description>Get Data from File</description>
> > </page-specification>
> > 
> > Home.java contains almost nothing
> > 
> > public class Home extends BasePage {
> >        public void start(IRequestCycle cycle) {
> >                System.out.println("Home 1");
> >                Visit visit = (Visit)getVisit();
> >                System.out.println("Home 2");
> >                //visit.startReview(cycle);
> > 
> >        }
> > }
> > 
> > "Home 1" prints out to the eclipse console but "Home 2" does not, due 
to 
> > the exception.
> > 
> > What am I doing wrong?
> > 
> > Thanks,
> > 
> > Joe Polanik
> 

Reply via email to