[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[udig-users] Problems editing a shapefile
|
Hi all...
I am trying to edit a point shapefile.
Beginning from the original one I deleted some features and then edit
the others, both in position and in the attribute table.
The first steps went well but when I try to modify the features now they
appear modified in the map window and also if I try to edit the table
view, but if I restart uDig the changes will lost.
I tried to delete the .fix and .qix files and restart again but I obtain
the same error if I try to modify the features...
Do someone knows how can I solve this problem?
Thanks in advance
Silvia
PS: The problem in the console is the following.
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(UDIGTransaction.java:48)
at
net.refractions.udig.project.internal.impl.EditManagerImpl.commitTransaction(EditManagerImpl.java:369)
at
net.refractions.udig.project.ui.internal.SaveMapRunnable.run(SaveMapRunnable.java:39)
at
net.refractions.udig.ui.PlatformGIS.syncInDisplayThread(PlatformGIS.java:268)
at
net.refractions.udig.ui.PlatformGIS.syncInDisplayThread(PlatformGIS.java:244)
at
net.refractions.udig.project.ui.internal.MapEditor.doSave(MapEditor.java:741)
at
org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper.java:143)
at
org.eclipse.ui.internal.SaveableHelper$4.run(SaveableHelper.java:266)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
at
org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
at
org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:758)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at
org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:755)
at
org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2451)
at
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:274)
at
org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:253)
at
org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:148)
at
org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1345)
at
org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:3202)
at
org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3215)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:73)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:546)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:443)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1101)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3319)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
net.refractions.udig.internal.ui.UDIGApplication.start(UDIGApplication.java:93)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)