Commit 21d48438 authored by Dominique Marcadet's avatar Dominique Marcadet

avoid NPE when LN not in LDevice

parent 3c487bea
Pipeline #7652 passed with stages
in 27 seconds
......@@ -1576,6 +1576,10 @@ public class DataObjectPresenceConditionValidator {
// The attribute ldNs shall be a DataAttribute of the name plate NamPlt of the LOGICAL- NODE-ZERO (LLN0).
for( AnyLN anyLN : lNodeType.getReferredByAnyLN() ) {
if(( anyLN.getParentLDevice() == null ) || ( anyLN.getParentLDevice().getLN0() == null )) {
// TODO: error message ?
continue;
}
String ldNs = null;
doType =
anyLN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment