edgar.soldin wrote: >On 11.03.2013 13:32, Rahkonen Jukka wrote: >> Currently OpenJUMP throws a NPE when trying to make a connection with a WMS >> and if the answer from the server is not what was expected >> Try this >> - Add WMS layer, use url http://demo.opengeo.org/geoserver/wms?SERVICE=WFS >> - Press next >> - Get NPE >> >> It would better to tell user that something abnormal happened and print the >> message from the server if user presses the Show details button.
> does 3315 what you requested above? Yes, at least for me it gives more information > do you have a step by step for the other issue to create a test case? mime > type "application/vnd.ogc.se_xml". - Use WMS URL http://demo.opengeo.org/geoserver/wms?SERVICE=WMS&STYLES=FOO - Say no to the following question about using the advertised GetMap URL - Select the US Population layer OpenJUMP will now send invalid GetMAP and instead of sending a map the WMS server will answer like "<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://demo.opengeo.org/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" > <ServiceException code="StyleNotDefined"> No such style: FOO Details: ..." -Jukka- > ..ede ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel