| When running GeoServer (master) on OS X, with the OS X native JAI libraries installed, the following test failure occurs: testCoverageViewMap(org.geoserver.wms.wms_1_1_1.GetMapIntegrationTest): expected:<[image/png]> but was:<[application/vnd.ogc.se_xml]> It appears to be caused by this exception:
This can also be reproduced using geoserver as follows: 1. Create a png image mosaic and publish as a layer, with the default settings (sample mosaic.zip attached). 2. Create a Coverage View named "mosiac_shuffle" from this mosiac. Add the bands in the following order: "mosaic@2", "mosaic@1", "mosaic@0". Publish as a layer. 3. Run the following WMS request:
localhost:8080/geoserver/wms?LAYERS=mosaic_shuffle&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG%3A4326&BBOX=7,37,11,41&WIDTH=100&HEIGHT=200&bgcolor=0xFF0000
This only occurs with the OS X JAI native libraries installed, and only for a coverage view (but appears to occur whether or not the bands have been reordered). The WMS version also appears to be relevant - with WMS 1.3.0 you just get a blank (white) image and no error. |