fix for NPE in HAPI
This commit is contained in:
parent
771947a958
commit
f72dfa83ef
|
@ -223,7 +223,7 @@ public class ContextUtilities implements ProfileKnowledgeProvider {
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (!isSuppressDebugMessages()) {
|
if (!isSuppressDebugMessages()) {
|
||||||
System.out.println("Unable to generate snapshot @2 for "+tail(sd.getUrl()) +" from "+tail(sd.getBaseDefinition())+" because "+e.getMessage());
|
System.out.println("Unable to generate snapshot @2 for "+tail(sd.getUrl()) +" from "+tail(sd.getBaseDefinition())+" because "+e.getMessage());
|
||||||
if (context.getLogger().isDebugLogging()) {
|
if (context.getLogger() != null && context.getLogger().isDebugLogging()) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue