fix NPE
This commit is contained in:
parent
51d34952d0
commit
c60bc4de96
2 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ public abstract class AbstractSearchClient extends AbstractBasicClient implement
|
|||
@Override
|
||||
public void close() throws IOException {
|
||||
super.close();
|
||||
if (!searchMetric.isClosed()) {
|
||||
if (searchMetric != null && !searchMetric.isClosed()) {
|
||||
searchMetric.close();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
group = org.xbib
|
||||
name = elx
|
||||
version = 7.10.2.11
|
||||
version = 7.10.2.12
|
||||
|
||||
gradle.wrapper.version = 6.6.1
|
||||
xbib-metrics.version = 2.1.0
|
||||
|
|
Loading…
Reference in a new issue