Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Error displaying a shapefile table

Hi Jesse,


1. The charset is incorrect. It is possible that it is interpretting the file wrong. I think this is unlikely.
The charset is italian... don't see any particular character...

2. The field definitions in the DBbase file is wrong. Try opening the dbf with open office and save it out again. Maybe that will fix it.
I tried, so now I have a dbf that in open office is full of data and in udig table view just see the FIX field... nothing else.

Silvia


Jesse
On 27-Oct-08, at 3:45 PM, Silvia Franceschi wrote:

Hi Jesse,
I have a shapefile in udig and try to visualize the table view... I always obtain this error:

!ENTRY net.refractions.udig.ui 1 0 2008-10-27 15:43:01.711
!MESSAGE error loading features in table view
!STACK 0
java.lang.IndexOutOfBoundsException: 109
  at java.nio.HeapCharBuffer.get(HeapCharBuffer.java:121)
at org.geotools.data.shapefile.dbf.DbaseFileReader.readObject(DbaseFileReader.java:444) at org.geotools.data.shapefile.dbf.DbaseFileReader.access$100(DbaseFileReader.java:70) at org.geotools.data.shapefile.dbf.DbaseFileReader$Row.read(DbaseFileReader.java:75) at org.geotools.data.shapefile.indexed.IndexedShapefileDataStore$Reader.read(IndexedShapefileDataStore.java:1306) at org.geotools.data.FIDFeatureReader.readFeature(FIDFeatureReader.java:123)
  at org.geotools.data.FIDFeatureReader.next(FIDFeatureReader.java:95)
at org.geotools.data.ReTypeFeatureReader.next(ReTypeFeatureReader.java:131) at org.geotools.data.store.FeatureReaderIterator.next(FeatureReaderIterator.java:65) at org.geotools.feature.collection.DelegateFeatureIterator.next(DelegateFeatureIterator.java:39) at net.refractions.udig.ui.FeatureTableContentProvider$ContentLoader.run(Unknown Source)
  at net.refractions.udig.ui.PlatformGIS$Runner.run(Unknown Source)
  at net.refractions.udig.ui.PlatformGIS$Runner.run(Unknown Source)

What could it be?

Thanks,

Silvia
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top