is also something really going wrong??
because 501 is this:
try
{
method = clz.getMethod("is" + name, null);
<<<<<<<<<<<<<<<<<<
}
catch (Exception e)
{
log.debug("Cannot find getter " + clz + "." + expression,
e);
}
we try to TEST if we can find it, and then do a debug log if we still can't
find it
after that we will see that it is a map and fallback on that.
johan
On 9/5/07, David Leangen <[EMAIL PROTECTED]> wrote:
>
>
> Migrating from 1.2 to 1.3.
>
> I've been trying to track down the cause of the following error.
>
> Since this is using reflection, I'm not getting any useful line numbers
> or direct information on the cause.
>
>
> If anybody can shed some light on this for me, I'd really appreciate it!
>
> All I know is that it happens at render time when visiting one of the
> components, but it's difficult to find the exact component.
>
>
>
> java.lang.NoSuchMethodException:
> org.apache.wicket.util.value.ValueMap.isUsername()
> at java.lang.Class.getMethod(Class.java:1581)
> at
> org.apache.wicket.util.lang.PropertyResolver.findGetter(
> PropertyResolver.java:501)
> at
> org.apache.wicket.util.lang.PropertyResolver.getGetAndSetter(
> PropertyResolver.java:317)
>
> ...
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>