Current fid index is null, next must be called before remove
------------------------------------------------------------
Key: GEOT-2950
URL: http://jira.codehaus.org/browse/GEOT-2950
Project: GeoTools
Issue Type: Bug
Components: data shapefile
Affects Versions: 2.6.1
Reporter: Jody Garnett
Assignee: Andrea Aime
>From uDig email list:
I am trying to edit some GIS data (polygons) using uDig.
However when i delete some feature i got following exception:
{panel}
java.io.IOException: Current fid index is null, next must be called before
remove
at
org.geotools.data.shapefile.indexed.IndexedFidWriter.write(IndexedFidWriter.java:180)
at
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore$Writer.write(IndexedShapefileDataStore.java:1745)
at
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore$Writer.close(IndexedShapefileDataStore.java:1557)
at
org.geotools.data.TransactionStateDiff.applyDiff(TransactionStateDiff.java:253)
at
org.geotools.data.TransactionStateDiff.commit(TransactionStateDiff.java:140)
at
org.geotools.data.DefaultTransaction.commit(DefaultTransaction.java:182)
at
net.refractions.udig.project.internal.impl.UDIGTransaction.commitInternal(Unknown
Source)
at
net.refractions.udig.project.internal.impl.EditManagerImpl.commitTransaction(Unknown
Source)
at
net.refractions.udig.project.internal.commands.selection.CommitCommand.run(Unknown
Source)
at net.refractions.udig.tools.internal.CommitTool$1.run(Unknown Source)
at net.refractions.udig.ui.PlatformGIS$Runner.run(Unknown Source)
at net.refractions.udig.ui.PlatformGIS$Runner.run(Unknown Source)
{panel}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel