On Tue, Jul 29, 2014 at 12:52 PM, Jonathan Moules <
[email protected]> wrote:

> Hi list,
>
> This one seems like it may be a bug, but I thought I'd ask before
> reporting it. 2.5.1.
>
> The following query works fine:
>
>
> http://wppgeog3/gs/ows?LAYERS=Public_Data_DB%3ATRO_ORDERS&TRANSPARENT=TRUE&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&TIME=2014-07-29T00%3A00%3A00.0Z%2F2014-08-13T23%3A59%3A59.999Z&SRS=EPSG%3A27700&BBOX=299012.5,224193.75,560987.5,315806.25&WIDTH=1497&HEIGHT=523
>
> However, if I change it to remove the TIME parameter:
>
> http://wppgeog3/gs/ows?LAYERS=Public_Data_DB%3ATRO_ORDERS&TRANSPARENT=TRUE&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A27700&BBOX=299012.5,224193.75,560987.5,315806.25&WIDTH=1497&HEIGHT=523
>
> The result is an XML error:
>
>       Internal error
>> Problem visiting TRO_ORDERS visiting
>> TRO_ORDERS.fid-3d3d23d3_14781baaf14_-45fb:java.lang.NullPointerException
>> null
>
>
> Looking at the WMS 1.1.1 specification, TIME is an Optional parameter, so
> it should work fine.
>

Yes, it's optional, the code should apply a default in case it's not
provided.


>
> Am I missing something? Should I JIRA it?
>

Yep, with a full stack trace and a way to reproduce it if possible

Cheers
Andrea

-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to