[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [udig-devel] Error displaying a shapefile table
|
That is a good question. I can think of a few things.
1. The charset is incorrect. It is possible that it is interpretting
the file wrong. I think this is unlikely.
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.
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