[GeoNetwork-users] White screen when starting 3.4.3

Hi,

We are trying to start a default Geonetwork instance 3.4.3 (from a war) and
it seems to start but will not display in a browser, just a white blank
page and this in the log:

2018-11-02 15:45:42,135 ERROR [geonetwork.wro4j] - Error occurred during a
wro4j request handling
ro.isdc.wro.WroRuntimeException: Cannot build valid CacheKey from request:
/geonetwork/static/underscore-min.map
    at
ro.isdc.wro.manager.ResourceBundleProcessor.getSafeCacheKey(ResourceBundleProcessor.java:111)
    at
ro.isdc.wro.manager.ResourceBundleProcessor.serveProcessedBundle(ResourceBundleProcessor.java:61)
    at ro.isdc.wro.manager.WroManager.process(WroManager.java:159)
    at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:335) ..

and this in the browser:
SyntaxError: expected expression, got '<'[Learn More] gn_search_default.js:1
<https://karta.eskilstuna.se/geonetwork/static/gn_search_default.js&gt;
Source map error: request failed with status 404 Resource URL:
https://karta.eskilstuna.se/geonetwork/static/lib3d.js Source Map URL:
underscore-min.map[Learn More]
Error: [$injector:nomod]
http://errors.angularjs.org/1.5.2/$injector/nomod?p0=gn_search
lib3d.js:521:416 <https://karta.eskilstuna.se/geonetwork/static/lib3d.js&gt;
Error: [$injector:modulerr]
http://errors.angularjs.org/1.5.2/$injector/modulerr?p0=gn_search_default&p1=[%24injector%3Anomod]%20http%3A%2F%2Ferrors.angularjs.org%2F1.5.2%2F%24injector%2Fnomod%3Fp0%3Dgn_search_default O%2F<%40https%3A%2F%2Fkarta.eskilstuna.se%2Fgeonetwork%2Fstatic%2Flib3d.js%3A521%3A416%

The entire start page seems to exist if one views the blank page source.

Setup: Jetty 9.2..from 2017 Windows Server 2008R2, latest jre 8 as of two
weeks ago.

The same GN version installed via the installer on a linux platform starts
Okay.

Many thanks for any troubleshooting hints.

Hi,

The server side error is not important.
Did you upgrade your version or is it a fresh install ?

Can you try with ?debug in the url avec catalog.search
(/srv/eng/catalog.search?debug), to see if it's working or what the the
error message (should be more explicit).

On Fri, Nov 2, 2018 at 3:57 PM David Persson <perssond9@anonymised.com> wrote:

Hi,

We are trying to start a default Geonetwork instance 3.4.3 (from a war) and
it seems to start but will not display in a browser, just a white blank
page and this in the log:

2018-11-02 15:45:42,135 ERROR [geonetwork.wro4j] - Error occurred during a
wro4j request handling
ro.isdc.wro.WroRuntimeException: Cannot build valid CacheKey from request:
/geonetwork/static/underscore-min.map
    at

ro.isdc.wro.manager.ResourceBundleProcessor.getSafeCacheKey(ResourceBundleProcessor.java:111)
    at

ro.isdc.wro.manager.ResourceBundleProcessor.serveProcessedBundle(ResourceBundleProcessor.java:61)
    at ro.isdc.wro.manager.WroManager.process(WroManager.java:159)
    at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:335) ..

and this in the browser:
SyntaxError: expected expression, got '<'[Learn More]
gn_search_default.js:1
<https://karta.eskilstuna.se/geonetwork/static/gn_search_default.js&gt;
Source map error: request failed with status 404 Resource URL:
https://karta.eskilstuna.se/geonetwork/static/lib3d.js Source Map URL:
underscore-min.map[Learn More]
Error: [$injector:nomod]
AngularJS
lib3d.js:521:416 <https://karta.eskilstuna.se/geonetwork/static/lib3d.js&gt;
Error: [$injector:modulerr]

AngularJS

The entire start page seems to exist if one views the blank page source.

Setup: Jetty 9.2..from 2017 Windows Server 2008R2, latest jre 8 as of two
weeks ago.

The same GN version installed via the installer on a linux platform starts
Okay.

Many thanks for any troubleshooting hints.

_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
geonetwork-users List Signup and Options
GeoNetwork OpenSource is maintained at
GeoNetwork - Geographic Metadata Catalog download | SourceForge.net

--
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Florent Gravin*
*Front-end Technical Leader*
+33 4 58 48 20 36

I was experiencing the same problem. Adding ?debug, as Florent suggested, helped me to see the UI and log in as an admin. After that, I believe I changed the preferred protocol to http and cleaned the cache (if you made any changes on the filesystem, as did I) in Admin Console > Tools > Clear JS and CSS cache

Good luck,
Marko

On 5 Nov 2018, at 08:30, Florent Gravin <florent.gravin@anonymised.com> wrote:

Hi,

The server side error is not important.
Did you upgrade your version or is it a fresh install ?

Can you try with ?debug in the url avec catalog.search
(/srv/eng/catalog.search?debug), to see if it's working or what the the
error message (should be more explicit).

On Fri, Nov 2, 2018 at 3:57 PM David Persson <perssond9@anonymised.com> wrote:

Hi,

We are trying to start a default Geonetwork instance 3.4.3 (from a war) and
it seems to start but will not display in a browser, just a white blank
page and this in the log:

2018-11-02 15:45:42,135 ERROR [geonetwork.wro4j] - Error occurred during a
wro4j request handling
ro.isdc.wro.WroRuntimeException: Cannot build valid CacheKey from request:
/geonetwork/static/underscore-min.map
   at

ro.isdc.wro.manager.ResourceBundleProcessor.getSafeCacheKey(ResourceBundleProcessor.java:111)
   at

ro.isdc.wro.manager.ResourceBundleProcessor.serveProcessedBundle(ResourceBundleProcessor.java:61)
   at ro.isdc.wro.manager.WroManager.process(WroManager.java:159)
   at ro.isdc.wro.http.WroFilter.processRequest(WroFilter.java:335) ..

and this in the browser:
SyntaxError: expected expression, got '<'[Learn More]
gn_search_default.js:1
<https://karta.eskilstuna.se/geonetwork/static/gn_search_default.js&gt;
Source map error: request failed with status 404 Resource URL:
https://karta.eskilstuna.se/geonetwork/static/lib3d.js Source Map URL:
underscore-min.map[Learn More]
Error: [$injector:nomod]
http://errors.angularjs.org/1.5.2/$injector/nomod?p0=gn_search
lib3d.js:521:416 <https://karta.eskilstuna.se/geonetwork/static/lib3d.js&gt;
Error: [$injector:modulerr]

http://errors.angularjs.org/1.5.2/$injector/modulerr?p0=gn_search_default&p1=[%24injector%3Anomod]%20http%3A%2F%2Ferrors.angularjs.org%2F1.5.2%2F%24injector%2Fnomod%3Fp0%3Dgn_search_default O%2F<%40https%3A%2F%2Fkarta.eskilstuna.se%2Fgeonetwork%2Fstatic%2Flib3d.js%3A521%3A416%

The entire start page seems to exist if one views the blank page source.

Setup: Jetty 9.2..from 2017 Windows Server 2008R2, latest jre 8 as of two
weeks ago.

The same GN version installed via the installer on a linux platform starts
Okay.

Many thanks for any troubleshooting hints.

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

--
*camptocamp*
INNOVATIVE SOLUTIONS
BY OPEN SOURCE EXPERTS

*Florent Gravin*
*Front-end Technical Leader*
+33 4 58 48 20 36

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

Hi and thanks for your replies.

Marko: that did the trick! (debug, admin - clearing the cache).

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNetwork-users-f3860293.html