diff --git a/service/src/main/java/org/ops4j/pax/wicket/internal/injection/AbstractProxyTargetLocator.java b/service/src/main/java/org/ops4j/pax/wicket/internal/injection/AbstractProxyTargetLocator.java
index <HASH>..<HASH> 100644
--- a/service/src/main/java/org/ops4j/pax/wicket/internal/injection/AbstractProxyTargetLocator.java
+++ b/service/src/main/java/org/ops4j/pax/wicket/internal/injection/AbstractProxyTargetLocator.java
@@ -67,8 +67,8 @@ public abstract class AbstractProxyTargetLocator<Container> implements IProxyTar
             throw new IllegalStateException("not possible", e);
         }
         if (references == null || references.length == 0) {
-            throw new IllegalStateException(String.format("Found %s service references for %s; this is not OK...",
-                references.length, bundleContext.getBundle().getSymbolicName()));
+            throw new IllegalStateException(String.format("Found zero service references for %s; this is not OK...",
+                bundleContext.getBundle().getSymbolicName()));
         }
         try {
             Thread.currentThread().setContextClassLoader(parent.getClassLoader());
[PAXWICKET-<I>] NPE during bean resolvement failure handling

This one was an especially pitty one since the NPE was thrown during the creation
of the error message hiding the real problem. Many