the pid could be missing - e.g. no metatype for the concrete pid, so we must catch illegalargumentexception

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1176789 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java b/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java
index 4af5c48..0e9439a 100644
--- a/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java
+++ b/webconsole-plugins/ds/src/main/java/org/apache/felix/webconsole/plugins/ds/internal/WebConsolePlugin.java
@@ -470,7 +470,11 @@
                 final MetaTypeInformation mti = mts.getMetaTypeInformation(providingBundle);
                 if (mti != null)
                 {
-                    return mti.getObjectClassDefinition(pid, null) != null;
+                    try {
+                        return mti.getObjectClassDefinition(pid, null) != null;
+                    } catch (IllegalArgumentException e) {
+                        return false;
+                    }
                 }
             }
         }