not the case that David has..
If i write a test case for the ValueMap and i get and put username in it
everything works.
Ofcourse if i set the debug logging level then i get a debug warning because
we do log there when
we couldn't find a get or a is property method..

johan


On 9/6/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>
> you wrote it! :)
>
> -igor
>
>
> On 9/5/07, Johan Compagner <[EMAIL PROTECTED]> wrote:
> >
> > 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]
> > >
> > >
> >
>

Reply via email to