Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Kapukaranov2011-03-13 12:44:14 +0000
committerBorislav Kapukaranov2011-03-13 12:44:14 +0000
commit7550f35b2b4f285c569e6406d1d9871055bf3363 (patch)
treed352e5e554ed682df2b95646ec5ff4cd732be110
parent8f662da298766ba663140514fcd177af1c2098a5 (diff)
downloadorg.eclipse.virgo.kernel-7550f35b2b4f285c569e6406d1d9871055bf3363.tar.gz
org.eclipse.virgo.kernel-7550f35b2b4f285c569e6406d1d9871055bf3363.tar.xz
org.eclipse.virgo.kernel-7550f35b2b4f285c569e6406d1d9871055bf3363.zip
bug339179: Removed blueprint events from Virgo's serviceability
chain, because they were causing NPE. When bug339179 is fixed they'll be included again.
-rw-r--r--org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/ApplicationContextDependencyMonitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/ApplicationContextDependencyMonitor.java b/org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/ApplicationContextDependencyMonitor.java
index 2385646c..e3cb0c66 100644
--- a/org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/ApplicationContextDependencyMonitor.java
+++ b/org.eclipse.virgo.kernel.core/src/main/java/org/eclipse/virgo/kernel/core/internal/blueprint/ApplicationContextDependencyMonitor.java
@@ -244,7 +244,7 @@ public final class ApplicationContextDependencyMonitor implements EventHandler {
List<ServiceDependency> serviceDependencies = new ArrayList<ServiceDependency>();
- if (filters != null) {
+ if (filters != null && beanNames != null) {
for (int i = 0; i < filters.length; i++) {
serviceDependencies.add(new ServiceDependency(filters[i], beanNames[i]));
}

Back to the top