Bug 67890 [PropertiesView] Exception when entries added to properties view
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/properties/PropertySheetViewer.java
if (node instanceof IPropertySheetEntry)
            entry = (IPropertySheetEntry) node;
        else
            category = (PropertySheetCategory) node;
        
        List children;
        if (category == null)
            children = getChildren(entry);
        else
            children = getChildren(category);
        return children;
    }
    /**
     * Returns the child entries of the given entry
     * @param entry The entry to search
     * 
     * @return the children of the given entry (element type
     *         <code>IPropertySheetEntry</code>)
     */
    private List getChildren(IPropertySheetEntry entry) {
        
        
        
        if (entry == rootEntry && isShowingCategories) {
            if (categories.length > 1
                    || (categories.length == 1 && !categories[0]
                            .getCategoryName().equals(
                                    MISCELLANEOUS_CATEGORY_NAME)))
                return Arrays.asList(categories);
        }