[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-devel] Editing shapefiles | 
Hi,
The fid index has become corrupt.  In the latest version I've added  
code to check the file's consistency so hopefully this won't happen  
too often but for now delete the .fix file with the same name as the  
shapefile you are editing.
Jesse
On Jul 15, 2007, at 10:38 AM, Silvia Franceschi wrote:
Hi all,
trying to understand why udig has so many problem editing  
shapefiles I obtained this error when I tried to copy some features  
from one layer to an other and commit or export a new shapefile.
I am running udig on linux...
Maybe there is something wrong in my installation or in some  
configurations...
Does anyone knows something about this error?
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:1742)
       at  
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore 
$Writer.close(IndexedShapefileDataStore.java:1554)
       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.commitInter 
nal(UDIGTransaction.java:48)
       at  
net.refractions.udig.project.internal.impl.EditManagerImpl.commitTrans 
action(EditManagerImpl.java:263)
       at  
net.refractions.udig.project.internal.commands.selection.CommitCommand 
.run(CommitCommand.java:36)
       at net.refractions.udig.project.command.CommandManager 
$Executor.execute(CommandManager.java:400)
       at net.refractions.udig.project.command.CommandManager 
$Executor.run(CommandManager.java:325)
       at net.refractions.udig.project.command.CommandManager 
$Executor.run(CommandManager.java:311)
       at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
Thanks in advance,
Silvia
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel