Fix NPE in code generator
This commit is contained in:
parent
42a9e47379
commit
138a8cdb2d
|
@ -210,7 +210,7 @@ public class Analyser {
|
|||
if (ok) {
|
||||
if (cd.getValueSet() != null) {
|
||||
ValueSet vs = definitions.getValuesets().get(cd.getValueSet());
|
||||
if (vs.hasName() && vs.getName().contains("ColorCodesOrRGB")) {
|
||||
if (vs != null && vs.hasName() && vs.getName().contains("ColorCodesOrRGB")) {
|
||||
return false;
|
||||
}
|
||||
if (vs != null && vs.hasCompose() && vs.getCompose().getInclude().size() == 1) {
|
||||
|
|
Loading…
Reference in New Issue