Opened 6 years ago

Closed 6 years ago

#1855 closed defect (fixed)

Petascope null exception when axis labels not exist in CRS definition in WCS-T GMLParser

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 9.7
Component: petascope Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

The error comes from the axisLabel in the GML of WCS-T (it should be 'H' not 'Height' in CRS: http://www.opengis.net/def/crs/EPSG/0/5621) and Petascope throws null error exception.

http://localhost:8080/rasdaman/ows?coverageRef=http://datacove.eu/data/documents/exampleRectifiedGridCoverage-1-1band-1d.xml&request=InsertCoverage&service=WCS&version=2.0.1
 ExceptionAdvice@57: Catched an exception:
java.lang.NullPointerException
    at petascope.core.gml.GMLParserService.parseGeoAxes(GMLParserService.java:433)
    at petascope.core.gml.GeneralGridCoverageGMLService.buildCoverage(GeneralGridCoverageGMLService.java:131)
    at petascope.wcst.handlers.InsertCoverageHandler.insertGMLCoverage(InsertCoverageHandler.java:147)
    at petascope.wcst.handlers.InsertCoverageHandler.handleRemoteCoverageInsert(InsertCoverageHandler.java:117)
    at petascope.wcst.handlers.InsertCoverageHandler.handle(InsertCoverageHandler.java:99)
    at petascope.controller.handler.service.KVPWCSTServiceHandler.handleInsertCoverageRequest(KVPWCSTServiceHandler.java:146)

Change History (2)

comment:1 by Bang Pham Huu, 6 years ago

Summary: Petascope throws exception when axis labels not exist in CRS definition in WCS-T GMLParserPetascope null exception when axis labels not exist in CRS definition in WCS-T GMLParser

comment:2 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed

Fixed for now but shouldn't be error in CIS 1.1

Note: See TracTickets for help on using tickets.