You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Blower, Andy" <An...@proquest.co.uk> on 2010/08/25 12:01:34 UTC

[T5.2] Property is not readable (was RE: Identity of the active page not established)

Thanks Robert, overriding with the latest version of PageResponse fixed it. 

I now have a problem with property conduits not being created where they were created fine in 5.1, e.g.

	@SessionState(create = false)
	@Property
	private Profile personalProfile;

Caused by: java.lang.RuntimeException: Property 'personalProfile' of class com.proquest.apps.onesearch.components.myresearch.SignInOverlay is not readable (it has no read accessor method).

No idea why @Property isn't working the same in 5.2 - any ideas anyone?


> -----Original Message-----
> From: robert zeigler [mailto:robert.zeigler@gmail.com] On Behalf Of
> Robert Zeigler
> Sent: 23 August 2010 20:33
> To: Tapestry users
> Subject: Re: [T5.2] Identity of the active page not established
> 
> There is a jira for this one (TAP5-1201/TAP5-1234... there might be one
> more related?).  It is fixed in trunk.
> 
> Robert


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


RE: [T5.2] Property is not readable (was RE: Identity of the active page not established)

Posted by "Blower, Andy" <An...@proquest.co.uk>.
It was a coding error, there was a base class with:

	protected Profile getPersonalProfile() {
		return personalProfile;
	}

in it, not sure why this worked with 5.1 though. Anyway I've corrected it now. Thanks. :-)

It seems T5.2 is a bit stricter than previous versions and is saving me the trouble of randomly finding Tapestry coding issues. That's nice, although it means I have 2 years worth of unnoticed problems to work through...

Andy


> -----Original Message-----
> From: Howard Lewis Ship [mailto:hlship@gmail.com]
> Sent: 25 August 2010 15:21
> To: Tapestry users
> Subject: Re: [T5.2] Property is not readable (was RE: Identity of the
> active page not established)
> 
> That's very odd; I've not seen anything like that.  Could we see the
> full stack trace?
> 
> On Wed, Aug 25, 2010 at 3:01 AM, Blower, Andy
> <An...@proquest.co.uk> wrote:
> > Thanks Robert, overriding with the latest version of PageResponse
> fixed it.
> >
> > I now have a problem with property conduits not being created where
> they were created fine in 5.1, e.g.
> >
> >        @SessionState(create = false)
> >        @Property
> >        private Profile personalProfile;
> >
> > Caused by: java.lang.RuntimeException: Property 'personalProfile' of
> class com.proquest.apps.onesearch.components.myresearch.SignInOverlay
> is not readable (it has no read accessor method).
> >
> > No idea why @Property isn't working the same in 5.2 - any ideas
> anyone?
> >
> >
> >> -----Original Message-----
> >> From: robert zeigler [mailto:robert.zeigler@gmail.com] On Behalf Of
> >> Robert Zeigler
> >> Sent: 23 August 2010 20:33
> >> To: Tapestry users
> >> Subject: Re: [T5.2] Identity of the active page not established
> >>
> >> There is a jira for this one (TAP5-1201/TAP5-1234... there might be
> one
> >> more related?).  It is fixed in trunk.
> >>
> >> Robert
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
> >
> 
> 
> 
> --
> Howard M. Lewis Ship
> 
> Creator of Apache Tapestry
> 
> The source for Tapestry training, mentoring and support. Contact me to
> learn how I can get you up and productive in Tapestry fast!
> 
> (971) 678-5210
> http://howardlewisship.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 



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


Re: [T5.2] Property is not readable (was RE: Identity of the active page not established)

Posted by Howard Lewis Ship <hl...@gmail.com>.
That's very odd; I've not seen anything like that.  Could we see the
full stack trace?

On Wed, Aug 25, 2010 at 3:01 AM, Blower, Andy
<An...@proquest.co.uk> wrote:
> Thanks Robert, overriding with the latest version of PageResponse fixed it.
>
> I now have a problem with property conduits not being created where they were created fine in 5.1, e.g.
>
>        @SessionState(create = false)
>        @Property
>        private Profile personalProfile;
>
> Caused by: java.lang.RuntimeException: Property 'personalProfile' of class com.proquest.apps.onesearch.components.myresearch.SignInOverlay is not readable (it has no read accessor method).
>
> No idea why @Property isn't working the same in 5.2 - any ideas anyone?
>
>
>> -----Original Message-----
>> From: robert zeigler [mailto:robert.zeigler@gmail.com] On Behalf Of
>> Robert Zeigler
>> Sent: 23 August 2010 20:33
>> To: Tapestry users
>> Subject: Re: [T5.2] Identity of the active page not established
>>
>> There is a jira for this one (TAP5-1201/TAP5-1234... there might be one
>> more related?).  It is fixed in trunk.
>>
>> Robert
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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