I am at my wits end with this one as I know it will be something small.

I have connected up to a sql database and managed to add a layer by creating a 
new sql view.

I can output the view using the gml preview but kml fails with a 
java.lang.NullPointerException
null:

<gml:featureMember><TrackYou:Current_Gritting_Activity 
fid="Current_Gritting_Activity.5"><TrackYou:registration>GL66</TrackYou:registration><TrackYou:activity>Control
 Box 
On</TrackYou:activity><TrackYou:datetime>2013-10-28T08:24:00</TrackYou:datetime><TrackYou:latitude>53.1601166670</TrackYou:latitude><TrackYou:longitude>-1.5915388890</TrackYou:longitude><TrackYou:geom><gml:Point
 srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";><gml:coordinates 
decimal="." cs="," ts=" 
">-1.59153889,53.16011667</gml:coordinates></gml:Point></TrackYou:geom></TrackYou:Current_Gritting_Activity></gml:featureMember>

I can download a shapefile and the points work but when looking at the Open 
Layers preview or using Leaflet the tile images do load but they are blank are 
blank.

Any ideas?

Cheers

David


******************************************************************************
Think before you print! Save energy and paper.
Do you really need to print this email?

Derbyshire County Council works to improve the lives of local people by 
delivering high quality services.
You can find out more about us by visiting 'www.derbyshire.gov.uk'.  If you 
want to work for us go to our job pages on 'www.derbyshire.gov.uk/jobs'.  You 
can register for e-mail alerts, download job packs and apply on-line.

******************************************************************************
Please Note:

This email is confidential, may be legally privileged and may contain personal 
views that are not the views of Derbyshire County Council. It is intended 
solely for the addressee. If this email was sent to you in error please notify 
us by replying to the email. Once you have done this please delete the email 
and do not disclose, copy, distribute, or rely on it.

Under the Data Protection Act 1998 and the Freedom of Information Act 2000 the 
contents of this email may be disclosed.

Derbyshire County Council reserves the right to monitor both sent and received 
emails.

******************************************************************************

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to