Merge pull request #620 from EricLemieux/fix-618
Fix Issue 618 | NPE bundle validation
This commit is contained in:
commit
5a4ebbcba2
|
@ -143,7 +143,7 @@ public class BundleValidator extends BaseValidator{
|
||||||
}
|
}
|
||||||
|
|
||||||
Boolean searchMode = readHasSearchMode(entries);
|
Boolean searchMode = readHasSearchMode(entries);
|
||||||
if (searchMode == false) { // if no resources have search mode
|
if (searchMode != null && searchMode == false) { // if no resources have search mode
|
||||||
boolean typeProblem = false;
|
boolean typeProblem = false;
|
||||||
String rtype = null;
|
String rtype = null;
|
||||||
int count = 0;
|
int count = 0;
|
||||||
|
|
Loading…
Reference in New Issue