Issue 18088

Registry-ws NPE for /dataset/metadata/1/document

18088
Reporter: mdoering
Type: Bug
Summary: Registry-ws NPE for /dataset/metadata/1/document
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2015-12-15 09:40:16.575
Updated: 2018-05-31 16:25:15.809
Resolved: 2018-05-31 16:25:15.769
        
Description: The registry throws a NPE for the URL linked in our developer API docs to retrieve a metadata document:

http://api.gbif.org/v1/dataset/metadata/1

WARN  [2015-12-14 21:42:49,207+0100] [qtp1453128758-45502] org.eclipse.jetty.servlet.ServletHandler: /dataset/metadata/1/document
java.lang.NullPointerException: null
        at org.gbif.registry.ws.resources.DatasetResource.getMetadataDocument(DatasetResource.java:761) ~[registry-ws-2.44.jar:2.44]
]]>
    


Author: mblissett
Comment: Documentation was updated.
Created: 2018-05-31 16:25:15.793
Updated: 2018-05-31 16:25:15.793