Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Develop branch: spatial-batch upload succeeds but layer view then fails #49

@mskyttner

Description

@mskyttner

After uploading a set of geodata, I click a link to view one of the layers:

https://beta.bioatlas.se/spatial-service/layers/view/more/naturgeografiska_regioner

It produces a log entry:

spatialservice        | Caused by: java.lang.NullPointerException: Cannot invoke method split() on null object
spatialservice        | 	at gsp_spatial_service_layershow_gsp$_run_closure2.doCall(gsp_spatial_service_layershow_gsp.groovy:109)

It may be happening around here:

https://github.com/AtlasOfLivingAustralia/spatial-service/blob/master/grails-app/views/layer/show.gsp#L120

Indicating that there is no layer.metadatapath or rather it is null. Does this come from content or a config?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions