[Gvsig_usuarios] Shp corrupto edición 2.4b2831
Hola a todos, tuvimos este problema. Estabamos editando una capa y al guardar dió error. Luego intentando guardar el gvsproj sale este error: Error guardando el proyecto: 05.gvsproj Error getting or setting the state of an object. Errors found validating persistent state. Errors found validating 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. Errors found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value required. Field 'featureStore': Value required. Field 'isLabeled': Value required. Field 'typeShape': Value required. Field 'maxScale': Value required. Field 'Transparencia': Value required. Field 'minScale': Value required. Field 'Propiedades': Value required. Field 'Estado': Value required. Errors found validating 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. Errors found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value required. Field 'featureStore': Value required. Field 'isLabeled': Value required. Field 'typeShape': Value required. Field 'maxScale': Value required. Field 'Transparencia': Value required. Field 'minScale': Value required. Field 'Propiedades': Value required. Field 'Estado': Value required. org.gvsig.tools.persistence.exception.PersistenceException: Error getting or setting the state of an object. Errors found validating persistent state. Errors found validating 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. Errors found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value required. Field 'featureStore': Value required. Field 'isLabeled': Value required. Field 'typeShape': Value required. Field 'maxScale': Value required. Field 'Transparencia': Value required. Field 'minScale': Value required. Field 'Propiedades': Value required. Field 'Estado': Value required. Errors found validating 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. Errors found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value required. Field 'featureStore': Value required. Field 'isLabeled': Value required. Field 'typeShape': Value required. Field 'maxScale': Value required. Field 'Transparencia': Value required. Field 'minScale': Value required. Field 'Propiedades': Value required. Field 'Estado': Value required. org.gvsig.tools.persistence.impl.DefaultPersistentContext.addError(DefaultPersistentContext.java:415) org.gvsig.tools.persistence.impl.AbstractPersistenceManager.getState(AbstractPersistenceManager.java:309) org.gvsig.app.project.DefaultProject.saveState(DefaultProject.java:562) org.gvsig.app.project.DefaultProject.saveState(DefaultProject.java:539) org.gvsig.app.extension.ProjectExtension.writeProject(ProjectExtension.java:464) org.gvsig.app.extension.ProjectExtension.writeProject(ProjectExtension.java:433) org.gvsig.app.extension.ProjectExtension.saveAsProject(ProjectExtension.java:275) org.gvsig.app.extension.ProjectExtension.execute(ProjectExtension.java:388) org.gvsig.app.extension.ProjectExtension.execute(ProjectExtension.java:318) org.gvsig.andami.actioninfo.impl.DefaultActionInfo.execute(DefaultActionInfo.java:307) org.gvsig.andami.actioninfo.impl.DefaultActionInfo.actionPerformed(DefaultActionInfo.java:352) javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) javax.swing.AbstractButton.doClick(AbstractButton.java:376) javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) java.awt.Component.processMouseEvent(Component.java:6535) javax.swing.JComponent.processMouseEvent(JComponent.java:3324) java.awt.Component.processEvent(Component.java:6300) java.awt.Container.processEvent(Container.java:2236) java.awt.Component.dispatchEventImpl(Component.java:4891) java.awt.Container.dispatchEventImpl(Container.java:2294) java.awt.Component.dispatchEvent(Component.java:4713) java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) java.awt.Container.dispatchEventImpl(Container.java:2280) java.awt.Window.dispatchEventImpl(Window.java:2750) java.awt.Component.dispatchEvent(Component.java:4713) java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) java.awt.EventQueue.access$500(EventQueue.java:97) java.awt.EventQueue$3.run(EventQueue.java:709) java.awt.EventQueue$3.run(EventQueue.java:703) java.security.AccessController.doPri
Re: [Gvsig_usuarios] Shp corrupto edición 2.4b2831
2017-08-18 18:32 GMT+02:00 mart...@trecc.com.ar : > Hola a todos, tuvimos este problema. Estabamos editando una capa y al > guardar dió error. Luego intentando guardar el gvsproj sale este error: > > Hola. Me temo que en ese punto no puedo hacer ya gran cosa. El error que desencadeno todo es el que se produjo alguardar la capa. La capa se quedo "corrupta" y luego ya no se pudo guardar el proyecto. Tomo nota para intentar mejorar el tratamiento de errores que se produzcan al guardar una capa, y intentar de que a pesar de ellos esto no impida guardar el proyecto. Seria interesante que pudieses pasar informacion que nos permita intentar reproducir el error al guardar la capa. Ademas, suele sernos de mas utilidad que adjuntes al correo los ficheros de "log" completos (en los que probablemente apareciese el error al guardar la capa). Muchas veces solo con un fragmento no es suficiente para saber que ha pasado. Si puedes reproducir el error al terminar edicion te lo agradeceriamos para asi intentar corregirlo. Un saludo Joaquin > Error guardando el proyecto: 05.gvsproj Error getting or setting the state > of an object. Errors found validating persistent state. Errors found > validating 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. Errors > found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value required. > Field 'featureStore': Value required. Field 'isLabeled': Value required. > Field 'typeShape': Value required. Field 'maxScale': Value required. Field > 'Transparencia': Value required. Field 'minScale': Value required. Field > 'Propiedades': Value required. Field 'Estado': Value required. Errors found > validating 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. Errors > found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value required. > Field 'featureStore': Value required. Field 'isLabeled': Value required. > Field 'typeShape': Value required. Field 'maxScale': Value required. Field > 'Transparencia': Value required. Field 'minScale': Value required. Field > 'Propiedades': Value required. Field 'Estado': Value required. > org.gvsig.tools.persistence.exception.PersistenceException: Error getting > or setting the state of an object. Errors found validating persistent > state. Errors found validating > 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. > Errors found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value > required. Field 'featureStore': Value required. Field 'isLabeled': Value > required. Field 'typeShape': Value required. Field 'maxScale': Value > required. Field 'Transparencia': Value required. Field 'minScale': Value > required. Field 'Propiedades': Value required. Field 'Estado': Value > required. Errors found validating > 'org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect'. > Errors found validating 'Persistence:FLyrVect'. Field 'Leyenda': Value > required. Field 'featureStore': Value required. Field 'isLabeled': Value > required. Field 'typeShape': Value required. Field 'maxScale': Value > required. Field 'Transparencia': Value required. Field 'minScale': Value > required. Field 'Propiedades': Value required. Field 'Estado': Value > required. > org.gvsig.tools.persistence.impl.DefaultPersistentContext.addError( > DefaultPersistentContext.java:415) > org.gvsig.tools.persistence.impl.AbstractPersistenceManager.getState( > AbstractPersistenceManager.java:309) > org.gvsig.app.project.DefaultProject.saveState( > DefaultProject.java:562) > org.gvsig.app.project.DefaultProject.saveState( > DefaultProject.java:539) > org.gvsig.app.extension.ProjectExtension.writeProject( > ProjectExtension.java:464) > org.gvsig.app.extension.ProjectExtension.writeProject( > ProjectExtension.java:433) > org.gvsig.app.extension.ProjectExtension.saveAsProject( > ProjectExtension.java:275) > org.gvsig.app.extension.ProjectExtension.execute( > ProjectExtension.java:388) > org.gvsig.app.extension.ProjectExtension.execute( > ProjectExtension.java:318) > org.gvsig.andami.actioninfo.impl.DefaultActionInfo.execute( > DefaultActionInfo.java:307) > org.gvsig.andami.actioninfo.impl.DefaultActionInfo.actionPerformed( > DefaultActionInfo.java:352) > javax.swing.AbstractButton.fireActionPerformed( > AbstractButton.java:2022) > javax.swing.AbstractButton$Handler.actionPerformed( > AbstractButton.java:2348) > javax.swing.DefaultButtonModel.fireActionPerformed( > DefaultButtonModel.java:402) > javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) > javax.swing.AbstractButton.doClick(AbstractButton.java:376) > javax.swing.plaf.basic.BasicMenuItemUI.doClick( > BasicMenuItemUI.java:833) > javax.swing.plaf.basic.BasicMenuItemUI$Handler. > mouseReleased(BasicMenuItemUI.java:877) > java.awt.AWTEventMulticaster.mouseReleased( > AWTEventMulticaster.java:289) > java.awt.AWTEventMulticaster.mouseReleased( > AWTEventMulticaster.java:289) > java.awt.Component.processMouseEvent(Component.java
Re: [Gvsig_usuarios] Shp corrupto edición 2.4b2831
Cuando intentamos cargar el shp que origino el problema sale esto: javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) javax.swing.AbstractButton.doClick(AbstractButton.java:376) javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833) javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877) java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) java.awt.Component.processMouseEvent(Component.java:6535) javax.swing.JComponent.processMouseEvent(JComponent.java:3324) java.awt.Component.processEvent(Component.java:6300) java.awt.Container.processEvent(Container.java:2236) java.awt.Component.dispatchEventImpl(Component.java:4891) java.awt.Container.dispatchEventImpl(Container.java:2294) java.awt.Component.dispatchEvent(Component.java:4713) java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888) java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525) java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466) java.awt.Container.dispatchEventImpl(Container.java:2280) java.awt.Window.dispatchEventImpl(Window.java:2750) java.awt.Component.dispatchEvent(Component.java:4713) java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) java.awt.EventQueue.access$500(EventQueue.java:97) java.awt.EventQueue$3.run(EventQueue.java:709) java.awt.EventQueue$3.run(EventQueue.java:703) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) java.awt.EventQueue$4.run(EventQueue.java:731) java.awt.EventQueue$4.run(EventQueue.java:729) java.security.AccessController.doPrivileged(Native Method) java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76) java.awt.EventQueue.dispatchEvent(EventQueue.java:728) org.gvsig.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:50) java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) java.awt.EventDispatchThread.run(EventDispatchThread.java:82) There was errors loading from 'calles reducido'. - Problems drawing layer - There was errors loading the feature '4' from 'calles reducido'. - There was errors loading a geometry from 'calles reducido'. Check 'Load corrupt geometries as null' in the shape's properties of the add layer dialog to skip corrupt geometries. The layer will become read only. org.gvsig.fmap.dal.exception.ReadException: There was errors loading from 'calles reducido'. org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect.draw(FLyrVect.java:346) org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.drawLayer(DefaultMapContextDrawer.java:549) org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.draw(DefaultMapContextDrawer.java:530) org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.drawLayers(DefaultMapContextDrawer.java:469) org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer.draw(DefaultMapContextDrawer.java:161) org.gvsig.fmap.mapcontext.MapContext.draw(MapContext.java:1183) org.gvsig.fmap.mapcontrol.MapControl$PaintingRequest.paint(MapControl.java:1344) org.gvsig.fmap.mapcontrol.MapControl$Drawer$Worker.run(MapControl.java:1564) java.lang.Thread.run(Thread.java:745) org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.LegendDrawingException: Problems drawing layer org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend.internalDraw(AbstractVectorialLegend.java:472) org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend.draw(AbstractVectorialLegend.java:358) org.gvsig.symbology.fmap.mapcontext.rendering.legend.impl.AbstractVectorialLegend.draw(AbstractVectorialLegend.java:144) org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect.draw(FLyrVect.java:330) org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.drawLayer(DefaultMapContextDrawer.java:549) org.gvsig.fmap.mapcontext.impl.DefaultMapContextDrawer$DrawList.draw(DefaultMapContextDra