Problem asking an empty layer schema through WFS

1 message Options
Embed this post
Permalink
Juan Manuel Sánchez Martagón-2

Problem asking an empty layer schema through WFS

Reply Threaded More More options
Print post
Permalink

Hi, we have an error when we try asking the schema after inserting a feture on an empty layer through WFS.

java.lang.NullPointerException
 at org.geotools.xml.gml.WFSFeatureTypeTransformer.transform(WFSFeatureTypeTransformer.java:54)
 at org.geotools.data.wfs.v1_0_0.WFS_1_0_0_DataStore.getSchema(WFS_1_0_0_DataStore.java:322)
 at org.geotools.data.wfs.v1_0_0.WFSFeatureSource.getSchema(WFSFeatureSource.java:176)
 at org.geotools.data.wfs.v1_0_0.WFSFeatureSource.getSchema(WFSFeatureSource.java:63)
 ...

Does it normal? Is needed at least one feature to get a layer schema?

Thank on advice.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users