We are attempting to use the WMS TIME parameter with a temporal view on
Oracle 12c. The view is based on a join of several tables, one of which
has geometry, and another of which has a valid time period defined using
the columns VALID_START and VALID_END. According to Oracle 12c practice,
rows which are do not have a set end time have VALID_END = NULL.
When we set the Time dimension columns on the Layer, when a WMS request
with no TIME parameter is made, we see an error:
Caused by: java.io.IOException: Problem visiting CUT_BLOCK_FULL visiting
CUT_BLOCK_FULL.fid--2a68243e_142b4b4a4e4_-4d8b:java.lang.NullPointerException
at
org.geotools.data.store.ContentFeatureSource.accepts(ContentFeatureSource.java:698)
at
org.geotools.data.store.ContentFeatureCollection.accepts(ContentFeatureCollection.java:121)
at org.geoserver.wms.WMS.getCurrentTime(WMS.java:1044)
at org.geoserver.wms.WMS.getTimeElevationToFilter(WMS.java:1208)
at org.geoserver.wms.GetMap.executeInternal(GetMap.java:337)
at org.geoserver.wms.GetMap.run(GetMap.java:201)
at org.geoserver.wms.GetMap.run(GetMap.java:111)
... 104 more
Caused by: java.lang.NullPointerException
at java.sql.Timestamp.compareTo(Timestamp.java:513)
at java.sql.Timestamp.compareTo(Timestamp.java:70)
at org.geotools.feature.visitor.MaxVisitor.visit(MaxVisitor.java:104)
at
org.geotools.data.store.ContentFeatureSource.accepts(ContentFeatureSource.java:689)
Is this expected behaviour? Is the TIME parameter required on all requests?
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users