Bug 67890 [PropertiesView] Exception when entries added to properties view
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/properties/ResourcePropertySource.java
* This resolves path variables if present in the resource path.
     */
    private String getResolvedLocationText(IResource resource) {
        if (!resource.isLocal(IResource.DEPTH_ZERO))
            return NOT_LOCAL_TEXT;
        IPath location = resource.getLocation();
        if (location == null) {
            if (resource.isLinked())
                return UNDEFINED_PATH_VARIABLE;
            return FILE_NOT_FOUND;
        } else {
            String locationString = location.toOSString();
            File file = location.toFile();
            if (!file.exists()) {
                locationString += " " + FILE_NOT_EXIST_TEXT;  
            }
            return locationString;
        }
    }
    /* (non-Javadoc)
     * Method declared on IPropertySource.
     */
    public IPropertyDescriptor[] getPropertyDescriptors() {
        if (isPathVariable(element))
            return propertyDescriptorsLinkVariable;
        else
            return propertyDescriptors;
    }
    /* (non-Javadoc)
     * Method declared on IPropertySource.