Opened 9 years ago

Closed 6 years ago

#1256 closed defect (fixed)

Decode operation crashes server when the file contains 0 bands

Reported by: Alex Dumitru Owned by: bbell
Priority: minor Milestone: 10.0
Component: qlparser Version: development
Keywords: Cc:
Complexity: Medium

Description

It seems the decode operation is causing the server to crash for the attached file. The problem with it is that it has 0 bands in GDAL so it cannot be used as such by the rasdaman engine.
Two ways forward:

  • We throw a proper exception, e.g. The provided dataset has an invalid type
  • We delegate to the inv_hdf function

Attachments (1)

test.hdf (2.5 MB ) - added by Alex Dumitru 9 years ago.

Change History (4)

by Alex Dumitru, 9 years ago

Attachment: test.hdf added

comment:1 by Dimitar Misev, 8 years ago

Owner: changed from George Merticariu to Dimitar Misev
Status: newassigned

comment:2 by Dimitar Misev, 8 years ago

Owner: changed from Dimitar Misev to bbell

comment:3 by Dimitar Misev, 6 years ago

Resolution: fixed
Status: assignedclosed

An exception like this is being thrown with the latest rasdaman:

rasdaman error 381: Execution error 381 in line 1, column 26, near token decode: Error in convertor of the selected data exchange format.
Note: See TracTickets for help on using tickets.