On Thu, 27 Nov 2008, Valentine2008 wrote:
> java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to
> [Lorg.apache
> .wicket.Component;
>         at
> org.apache.wicket.MarkupContainer.iterator(MarkupContainer.java:478)
> .........
> 
> The code on line 478 of MarkupContainer.java is:
> sorted = Arrays.asList((Component[])children);
> 
> Is it a bug of Wicket?

No, I think it's a limitation of Java. You cannnot cast
arrays.

Best wishes,
Timo

-- 
Timo Rantalaiho           
Reaktor Innovations Oy    <URL: http://www.ri.fi/ >

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to