X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.osgi%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fosgi%2FOsgiExecutionModulesManager.java;h=3df33cab896f944a05086e71704aebe79cb9cfde;hb=2bb24bcf2e92d430d402d0b9108348327cc262d0;hp=5a8d3da5437ac728876c78a536c9910dad0c6ab4;hpb=e40206b672597909b3100c6241be116d5da99168;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/OsgiExecutionModulesManager.java b/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/OsgiExecutionModulesManager.java index 5a8d3da54..3df33cab8 100644 --- a/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/OsgiExecutionModulesManager.java +++ b/runtime/org.argeo.slc.support.osgi/src/main/java/org/argeo/slc/osgi/OsgiExecutionModulesManager.java @@ -100,6 +100,8 @@ public class OsgiExecutionModulesManager extends log.debug("Launch unique flow " + flow + " from module " + module); try { OsgiBundle osgiBundle = bundlesManager.findFromPattern(module); + if (osgiBundle == null) + throw new SlcException("No OSGi bundle found for " + module); Bundle moduleBundle = bundlesManager.findRelatedBundle(osgiBundle); bundlesManager.startSynchronous(moduleBundle); RealizedFlow lastLaunch = findRealizedFlow(module, flow);