Bug 67890 [PropertiesView] Exception when entries added to properties view
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetViewer.java
PropertySheetCategory c1, c2;
                String dname1, dname2;
                c1 = (PropertySheetCategory) a;
                dname1 = c1.getCategoryName();
                c2 = (PropertySheetCategory) b;
                dname2 = c2.getCategoryName();
                return coll.compare(dname1, dname2);
            }
        });
        categories = (PropertySheetCategory[]) list
                .toArray(new PropertySheetCategory[list.size()]);
    }
    /**
     * Update the category (but not its parent or children).
     * 
     * @param category
     *            the category to update
     * @param item
     *            the tree item for the given entry
     */
    private void updateCategory(PropertySheetCategory category,
            TreeItem item) {
        
        item.setData(category);
        
        item.setText(0, category.getCategoryName());
        item.setText(1, ""); 
        
        if (category.getAutoExpand()) {