Ticket #492 (closed defect: fixed)
Unclassified exception previewing a map to a WMS server
| Reported by: | brucedechant | Owned by: | brucedechant |
|---|---|---|---|
| Priority: | high | Milestone: | 2.1 |
| Component: | WMS Interface | Version: | 2.0.0 |
| Severity: | critical | Keywords: | |
| Cc: | External ID: | 1056810 |
Description
The FDO reader IsNull?() check done inside the GetRaster?() API is returning a value of "true" for valid WMS data when it should be returning "false". This causes the MgNullPropertyValueException? to be thrown which is not caught properly and becomes an unclassifed exception.
Here are the steps to recreate: 1) Create a WMS feature source to the following URL:
http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?Service=WMS&VERSION=1.1.0&REQUEST=GetCapabilities
2) Create a layer using the prov_bound feature class, save it and add it to a map and preview it. 3) Check the server error log for an unclassified exception
