Hi Arjun,

Oops, this is in fact a bad bug !

May I ask you to report an issue ? Thanks

Regards
Felix

Arjun Panday schrieb:
> Hi all,
> 
> I just bumped into this exception in the webconsole module:
> 
> java.lang.ArrayIndexOutOfBoundsException: 1
>     at
> org.apache.felix.webconsole.internal.compendium.ComponentConfigurationPrinter.printConfiguration(ComponentConfigurationPrinter.java:81)
> 
> 
> 
> And indeed, looking at the code in the trunk, it looks like a typo..
> (should be "Components components = components[i];")
> 
>                // order components by id
>                TreeMap componentMap = new TreeMap();
>                for ( int i = 0; i < components.length; i++ )
>                {
>                    Component component = *components[1];*
>                    componentMap.put( new Long( component.getId() ),
> component );
>                }
> 
> 
> thanks,
> Arjun
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to