Previously OK GN 3.10 fails to start

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

Previously OK GN 3.10 fails to start

Mats Elfström-3
Hi!
A GN 3.10 instance that has been working perfectly suddenly fails to start.
No changes other than system updates have been applied. This is a
windows server 2012 and container is Tomcat 9.
The error message is
*FileError:
'http://geonet.se:8080/geonetwork/catalog/lib/style/bootstrap-3.0.1/bootstrap.less
<http://geonet.se:8080/geonetwork/catalog/lib/style/bootstrap-3.0.1/bootstrap.less>'
wasn't found (404)*
The missing file is present, but in this path
*...webapps\geonetwork\catalog\lib\style\bootstrap\less*

Further, I find that the failing path is hard coded in the file
*...\webapps\geonetwork\xslt\ui\error-page.xsl*

So I guess something else is the problem.
The error thrown is


*2021-03-13 11:47:04,937 ERROR [jeeves.service] - Exception executing gui
service : java.lang.NullPointerException2021-03-13 11:47:04,937 ERROR
[jeeves.service] -  (C) Stack trace is :java.lang.NullPointerException*

Any clues, anyone?
--


*GisKraft*, Geodatakonsult

Mats Elfström, Marsvinsholms stationsväg 80, 271 93 Ystad, Sweden
tel: +46 70 595 39 35 / www.giskraft.se

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virusfritt.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

_______________________________________________
GeoNetwork-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Reply | Threaded
Open this post in threaded view
|

Re: Previously OK GN 3.10 fails to start

Juan Luis Rodríguez Ponce
On Sat, Mar 13, 2021 at 12:18 PM Mats Elfström <[hidden email]>
wrote:

> Hi!
> A GN 3.10 instance that has been working perfectly suddenly fails to start.
> No changes other than system updates have been applied. This is a
> windows server 2012 and container is Tomcat 9.
> The error message is
> *FileError:
> '
> http://geonet.se:8080/geonetwork/catalog/lib/style/bootstrap-3.0.1/bootstrap.less
> <
> http://geonet.se:8080/geonetwork/catalog/lib/style/bootstrap-3.0.1/bootstrap.less
> >'
> wasn't found (404)*
> The missing file is present, but in this path
> *...webapps\geonetwork\catalog\lib\style\bootstrap\less*
>

This folder existed a long time ago, but for sure not in 3.10 branch [1].
The new URL was added here [2] and the 3.0.1 one removed here [3]. This was
before the release of GN 3.0.0. I have no idea why GN is requesting these
3.0.1 files on start.



>
> Further, I find that the failing path is hard coded in the file
> *...\webapps\geonetwork\xslt\ui\error-page.xsl*
>

About this, it has been fixed since GN 3.10.3 [4].




>
> So I guess something else is the problem.
> The error thrown is
>
>
> *2021-03-13 11:47:04,937 ERROR [jeeves.service] - Exception executing gui
> service : java.lang.NullPointerException2021-03-13 11:47:04,937 ERROR
> [jeeves.service] -  (C) Stack trace is :java.lang.NullPointerException*
>
> Any clues, anyone?
>

[1]
https://github.com/geonetwork/core-geonetwork/commit/161b12dcacca159a376e4b134b986fe37d15f099#diff-64860cbdcd86ec0319719630d209fdacf52047542bff988bcd83d26396fd2234
[2]
https://github.com/geonetwork/core-geonetwork/commit/5df79475f642535928896dd37e694a74f4a0b1f0#diff-2ae3cc08c84ba961e1c61b3b8616828475addb9d4f0663646f1f5b1e6b02f9e0
[3]
https://github.com/geonetwork/core-geonetwork/commit/09bd125833d320333aeee2b4cc363772df7cb943

[4]
https://github.com/geonetwork/core-geonetwork/commit/a717891d46bb454090ebbe2aa6587467673f122d

--










*Vriendelijke groeten / Kind regards,Juan Luis Rodríguez.
<http://www.geocat.net/>Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664>Please consider the environment before printing
this email.*

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