Hi,
the extension point definition of net.refractions.udig.render.Tool
defines the category name as #implied (see below).
However, if an extension defines a category without a name, a NPE is
thrown in MapToolPaletteFactory row 173, where label is NULL (obtained
from category.getName() in row 81):
int cut = label.indexOf("&");
Tested with uDig 1.3.3 SDK
Regards,
Matthias
<!ATTLIST category
id CDATA #REQUIRED
commandId CDATA #IMPLIED
icon CDATA #IMPLIED
name CDATA #IMPLIED
selectionProvider CDATA #IMPLIED
applicabilityId CDATA #IMPLIED
>
--
GFZ German Research Centre for Geosciences
CeGIT Centre for GeoInformation Technology
Tel +49 331 288-1687, FAX +49 331 288-1703
Telegrafenberg A20, 14473 Potsdam, Germany
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel