Skip to content

Commit e1ac5f9

Browse files
committed
fix null pointer exception
1 parent bc19105 commit e1ac5f9

File tree

1 file changed

+3
-0
lines changed
  • src/main/java/net/apnic/rdap/conformance/test/common

1 file changed

+3
-0
lines changed

src/main/java/net/apnic/rdap/conformance/test/common/Search.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ public boolean run() {
130130
} catch (ClassCastException ce) {
131131
return false;
132132
}
133+
if (results == null) {
134+
return false;
135+
}
133136

134137
Result r = new Result(proto);
135138
r.setCode("response");

0 commit comments

Comments
 (0)