Hello all,

 

Working on the Ingres experimental plugin on Windows for the first time
I get test failures I don't see on Linux. The exception is a
ClassCastException and the backtrace looks like this:
JDBCDataStore.insertSQLPS(SimpleFeatureType, SimpleFeature, List,
Connection) line: 3688   

JDBCDataStore.insert(Collection, SimpleFeatureType, Connection) line:
1438   

JDBCDataStore.insert(SimpleFeature, SimpleFeatureType, Connection) line:
1401         

JDBCInsertFeatureWriter.write() line: 76             

InProcessLockingManager$1.write() line: 337    

JDBCFeatureStore(ContentFeatureStore).addFeature(SimpleFeature,
FeatureWriter<SimpleFeatureType,SimpleFeature>) line: 291 

JDBCFeatureStore(ContentFeatureStore).addFeatures(Collection) line: 219


ContentFeatureCollection.addAll(Collection) line: 443 

ContentFeatureCollection.add(SimpleFeature) line: 429             

ContentFeatureCollection.add(Feature) line: 68              

IngresPrimaryKeyTest(JDBCPrimaryKeyTest).addFeature(SimpleFeatureType,
FeatureCollection) line: 93         

IngresPrimaryKeyTest(JDBCPrimaryKeyTest).testNonIncrementingPrimaryKey()
line: 83             

The error occurs on this line:
                Geometry geometry = (Geometry)
feature.getAttribute(att.getName());

In the debugger it does look like the attribute that is supposed to be
the geometry is just a string, the WKT representation of the Geometry
("POINT(4 4)"). Anyone have any ideas here?

Thanks!

Alex

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to