navtable/navtable — Issue #44: DXF: delete a record launches error
Author: amaneiro
Created: 2012-02-03 15:11:56+00:00
State: open
Labels: save_values

Deleting a record with navtable on a DXF layer, launch this error:

Tiempo de dibujado:1380 mseg. Memoria libre:110617 KB
INITIALIZEFIELDS: FIELD ID
INITIALIZEFIELDS: FIELD FShape
INITIALIZEFIELDS: FIELD Entity
INITIALIZEFIELDS: FIELD Layer
INITIALIZEFIELDS: FIELD Color
INITIALIZEFIELDS: FIELD Elevation
INITIALIZEFIELDS: FIELD Thickness
INITIALIZEFIELDS: FIELD Text
INITIALIZEFIELDS: FIELD HeightText
INITIALIZEFIELDS: FIELD RotationText
Dxf: Cargando /tmp/Parcelas_O_Grove_DXF.dxf ...
Dxf: Cargando '/tmp/Parcelas_O_Grove_DXF.dxf' ...
-1: 2
HEADER
Dxf: Seccion HEADER, linea 14
Dxf: Seccion HEADER, 139 variables, 139 veces.
readHeader: ACAD Version: ACAD2000
-1: 2
TABLES
Dxf: Seccion TABLAS, linea 630grp = 2
TABLES

Dxf: Tabla LTYPE
Dxf: Tabla LAYER
DxfLayer name=0, color=7
LAYER color=java.awt.Color[r=0,g=0,b=0]
Dxf: Layer 0
Dxf: Tabla STYLE
Dxf: Tabla APPID
Dxf: Tabla BLOCK_RECORD
Dxf: Seccion TABLAS: 1 Capas.
-1: 2
BLOCKS
Dxf: Seccion BLOCKS, linea 880
Dxf: Seccion BLOCKS, 7 elementos de bloque. 7 veces.
-1: 2
ENTITIES
Dxf: Seccion ENTITIES, linea 992
Dxf: Seccion ENTITIES, 7640 entidades, 7640 veces.
-1: 2
OBJECTS
Dxf: Seccion 'OBJECTS', linea 727832
Dxf: '/tmp/Parcelas_O_Grove_DXF.dxf' cargado. (728368 líneas).
initialize(): acadVersion = ACAD2000
WARN [AWT-EventQueue-1] (VectorialUniqueValueLegend.java:291) - data source not set
03-feb-2012 16:08:17 com.iver.cit.gvsig.fmap.drivers.dxf.DXFMemoryDriver initialize
INFO: DXFMemoryDriver: should check if this is a text symbol
03-feb-2012 16:08:17 com.iver.cit.gvsig.EditionManager editionChanged
INFO: com.iver.cit.gvsig.fmap.layers.LayerEvent@92d5fb
NUEVA CAPA EN EDICION: Parcelas_O_Grove_DXF
Elimina una Row en la posición: 7638
DEBUG [AWT-EventQueue-1] (NotificationManager.java:104) - java.lang.IndexOutOfBoundsException: Index: 7639, Size: 7639
java.lang.IndexOutOfBoundsException: Index: 7639, Size: 7639
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at com.iver.cit.gvsig.fmap.drivers.MemoryDriver.getShape(MemoryDriver.java:177)
at com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getShape(VectorialFileAdapter.java:144)
at com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getFeature(VectorialFileAdapter.java:210)
at com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter.getRow(VectorialEditableAdapter.java:524)
at com.iver.cit.gvsig.fmap.edition.EditableAdapter$myObjectDriver.getFieldValue(EditableAdapter.java:1050)
at com.hardcode.gdbms.engine.data.object.ObjectDriverDataSourceAdapter.getFieldValue(ObjectDriverDataSourceAdapter.java:66)
at com.hardcode.gdbms.engine.data.AutomaticDataSource.getFieldValue(AutomaticDataSource.java:214)
at com.iver.cit.gvsig.fmap.layers.SelectableDataSource.getFieldValue(SelectableDataSource.java:279)
at es.udc.cartolab.gvsig.navtable.NavTable.fillValues(NavTable.java:512)
at es.udc.cartolab.gvsig.navtable.AbstractNavTable.refreshGUI(AbstractNavTable.java:861)
at es.udc.cartolab.gvsig.navtable.AbstractNavTable.selectionChanged(AbstractNavTable.java:1194)
at com.iver.cit.gvsig.fmap.layers.SelectionSupport.fireSelectionEvents(SelectionSupport.java:127)
at com.iver.cit.gvsig.fmap.layers.SelectionSupport.setSelection(SelectionSupport.java:66)
at com.iver.cit.gvsig.fmap.layers.SelectableDataSource.setSelection(SelectableDataSource.java:402)
at com.iver.cit.gvsig.fmap.edition.EditableAdapter.setSelection(EditableAdapter.java:920)
at com.iver.cit.gvsig.fmap.edition.VectorialEditableAdapter.doRemoveRow(VectorialEditableAdapter.java:578)
at com.iver.cit.gvsig.fmap.edition.EditableAdapter.removeRow(EditableAdapter.java:558)
at es.udc.cartolab.gvsig.navtable.AbstractNavTable.deleteRecord(AbstractNavTable.java:1154)
at es.udc.cartolab.gvsig.navtable.AbstractNavTable.actionPerformed(AbstractNavTable.java:1131)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)