java.lang.NullPointerException at org.fao.geonet.monitor.health.HarvestersHealthCheck

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

java.lang.NullPointerException at org.fao.geonet.monitor.health.HarvestersHealthCheck

lmoeller
Dear GN User community,

in one of our GN instances (v4.0.2) we are having this error in
Non-critical System checks (the full error message can be found in the
attached fail.log) :

Harvesting, however, seems to work ok in both directions, as long as we
use only other GN instances to check (using generic OGC CSW 2.0.2). That
is why we haven't been concerned about it too much so far.

But now we are having troubles to harvest our GN node from an ESRI
geoportal instance. While this might be caused by a myriad of other
issues, we would like to rule out that this error above is somehow related.

Does anyone of you have an idea what might be causing this error
message, and or even a pointer were to dig deeper into the potential
roots of the problem? None of the log files in $CATALINA_HOME/logs seem
to indicate that there is something wrong or malfunctioning concerning
csw -  well at least if you ignore multiple instances of this message:

2021-02-08 09:45:47,669 ERROR [geonetwork.csw] - Error getting domain value for specified PropertyName : org.apache.commons.lang.NotImplementedException: CSW not implemented in ES

But this doesn't seem to be related.

Thank you for thinking about it!

Best regards and stay safe,

Lars Möller

--
Dr. Lars Möller

Helmholtz-Zentrum Geesthacht
Zentrum für Material und Küstenforschung
-Modellierung zur Bewertung von Küstensystemen (KBS)
Max-Planck-Straße 1

21502 Geesthacht
Germany

Fon +49  (0) 4152- 87 - 1849
Fax +49  (0) 4152- 87 - 41849
E-mail: [hidden email]
www.hzg.de

Helmholtz-Zentrum Geesthacht
Zentrum für Material- und Küstenforschung GmbH
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany

Geschäftsführung/Board of Management: Prof. Dr. Matthias Rehahn, Silke Simon
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Ministerialdirigent Engelbert Beyer
Amtsgericht Lübeck HRB 285 GE (Register Court)
Internet: http://www.hzg.de


_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

gn_harvhc_fail.log (9K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: java.lang.NullPointerException at org.fao.geonet.monitor.health.HarvestersHealthCheck

Francois Prunayre
Hi Lars

The GetDomain error is related to a GetCapabilities request which was
collecting keywords to be added to the capabilities document.
This will be disabled in 4.0.3 and it is recommended to use a service
metadata for the GetCapabilities configuration
https://geonetwork-opensource.org/manuals/4.0.x/en/administrator-guide/configuring-the-catalog/csw-configuration.html#service-metadata-record
https://github.com/geonetwork/core-geonetwork/commit/762d8ad46babc368dd2f02eaa802ddd3f2c41de2

So I don't think it relates to your harvesting issue.

Francois


Le lun. 8 févr. 2021 à 12:11, Lars Möller <[hidden email]> a écrit :

> Dear GN User community,
>
> in one of our GN instances (v4.0.2) we are having this error in
> Non-critical System checks (the full error message can be found in the
> attached fail.log) :
>
> Harvesting, however, seems to work ok in both directions, as long as we
> use only other GN instances to check (using generic OGC CSW 2.0.2). That
> is why we haven't been concerned about it too much so far.
>
> But now we are having troubles to harvest our GN node from an ESRI
> geoportal instance. While this might be caused by a myriad of other
> issues, we would like to rule out that this error above is somehow related.
>
> Does anyone of you have an idea what might be causing this error
> message, and or even a pointer were to dig deeper into the potential
> roots of the problem? None of the log files in $CATALINA_HOME/logs seem
> to indicate that there is something wrong or malfunctioning concerning
> csw -  well at least if you ignore multiple instances of this message:
>
> 2021-02-08 09:45:47,669 ERROR [geonetwork.csw] - Error getting domain
> value for specified PropertyName :
> org.apache.commons.lang.NotImplementedException: CSW not implemented in ES
>
> But this doesn't seem to be related.
>
> Thank you for thinking about it!
>
> Best regards and stay safe,
>
> Lars Möller
>
> --
> Dr. Lars Möller
>
> Helmholtz-Zentrum Geesthacht
> Zentrum für Material und Küstenforschung
> -Modellierung zur Bewertung von Küstensystemen (KBS)
> Max-Planck-Straße 1
>
> 21502 Geesthacht
> Germany
>
> Fon +49  (0) 4152- 87 - 1849
> Fax +49  (0) 4152- 87 - 41849
> E-mail: [hidden email]
> www.hzg.de
>
> Helmholtz-Zentrum Geesthacht
> Zentrum für Material- und Küstenforschung GmbH
> Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany
>
> Geschäftsführung/Board of Management: Prof. Dr. Matthias Rehahn, Silke
> Simon
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board:
> Ministerialdirigent Engelbert Beyer
> Amtsgericht Lübeck HRB 285 GE (Register Court)
> Internet: http://www.hzg.de
> _______________________________________________
> GeoNetwork-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geonetwork-users
> GeoNetwork OpenSource is maintained at
> http://sourceforge.net/projects/geonetwork
>

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork