[Gvsig_usuarios] Error en Mysql

OPablo oldani.pablo en gmail.com
Mar Mayo 17 17:02:03 CEST 2011


He instalado gvsig y quiero conectarlo a mi base de datos. He logrado cargar
las tablas de la BD en gvsig, pero no puedo modificar ningun dato. Aclaro
que el usuario que uso tiene todos los permisos sobre la BD.

Las versiones son:
gvsig 1.11.0
mysql connector 5.1.4
java 6 actualizacion 20

Este es el error que me tira.

No se pudo guardar la edición java.lang.IllegalStateException: Can't
overwrite cause     java.lang.Throwable.initCause(Throwable.java:320)
    com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
    com.hardcode.gdbms.driver.mysql.MySQLWriter.process(MySQLWriter.java:198)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.saveEdits(EditableAdapter.java:365)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.stopEdition(EditableAdapter.java:272)
    com.iver.cit.gvsig.project.documents.table.gui.Table.stopEditing(Table.java:730)
    com.iver.cit.gvsig.TableEditStopExtension.stopEditing(TableEditStopExtension.java:71)
    com.iver.cit.gvsig.TableEditStopExtension.execute(TableEditStopExtension.java:49)
    com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.AbstractButton.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) No se pudo guardar la
edición java.lang.IllegalStateException: Can't overwrite cause
    java.lang.Throwable.initCause(Throwable.java:320)
    com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
    com.hardcode.gdbms.driver.mysql.MySQLWriter.process(MySQLWriter.java:198)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.saveEdits(EditableAdapter.java:365)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.stopEdition(EditableAdapter.java:272)
    com.iver.cit.gvsig.project.documents.table.gui.Table.stopEditing(Table.java:730)
    com.iver.cit.gvsig.TableEditStopExtension.stopEditing(TableEditStopExtension.java:71)
    com.iver.cit.gvsig.TableEditStopExtension.execute(TableEditStopExtension.java:49)
    com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.AbstractButton.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) No se pudo guardar la
edición java.lang.IllegalStateException: Can't overwrite cause
    java.lang.Throwable.initCause(Throwable.java:320)
    com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
    com.hardcode.gdbms.driver.mysql.MySQLWriter.process(MySQLWriter.java:198)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.saveEdits(EditableAdapter.java:365)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.stopEdition(EditableAdapter.java:272)
    com.iver.cit.gvsig.project.documents.table.gui.Table.stopEditing(Table.java:730)
    com.iver.cit.gvsig.TableEditStopExtension.stopEditing(TableEditStopExtension.java:71)
    com.iver.cit.gvsig.TableEditStopExtension.execute(TableEditStopExtension.java:49)
    com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.AbstractButton.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) No se pudo guardar la
edición java.lang.IllegalStateException: Can't overwrite cause
    java.lang.Throwable.initCause(Throwable.java:320)
    com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
    com.hardcode.gdbms.driver.mysql.MySQLWriter.process(MySQLWriter.java:200)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.saveEdits(EditableAdapter.java:365)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.stopEdition(EditableAdapter.java:272)
    com.iver.cit.gvsig.project.documents.table.gui.Table.stopEditing(Table.java:730)
    com.iver.cit.gvsig.TableEditStopExtension.stopEditing(TableEditStopExtension.java:71)
    com.iver.cit.gvsig.TableEditStopExtension.execute(TableEditStopExtension.java:49)
    com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.AbstractButton.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) No se pudo guardar la
edición java.lang.IllegalStateException: Can't overwrite cause
    java.lang.Throwable.initCause(Throwable.java:320)
    com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
    com.hardcode.gdbms.driver.mysql.MySQLWriter.process(MySQLWriter.java:200)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.saveEdits(EditableAdapter.java:365)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.stopEdition(EditableAdapter.java:272)
    com.iver.cit.gvsig.project.documents.table.gui.Table.stopEditing(Table.java:730)
    com.iver.cit.gvsig.TableEditStopExtension.stopEditing(TableEditStopExtension.java:71)
    com.iver.cit.gvsig.TableEditStopExtension.execute(TableEditStopExtension.java:49)
    com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.AbstractButton.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) No se pudo guardar la
edición java.lang.IllegalStateException: Can't overwrite cause
    java.lang.Throwable.initCause(Throwable.java:320)
    com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
    com.hardcode.gdbms.driver.mysql.MySQLWriter.process(MySQLWriter.java:200)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.saveEdits(EditableAdapter.java:365)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.stopEdition(EditableAdapter.java:272)
    com.iver.cit.gvsig.project.documents.table.gui.Table.stopEditing(Table.java:730)
    com.iver.cit.gvsig.TableEditStopExtension.stopEditing(TableEditStopExtension.java:71)
    com.iver.cit.gvsig.TableEditStopExtension.execute(TableEditStopExtension.java:49)
    com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.AbstractButton.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) No se pudo guardar la
edición java.lang.IllegalStateException: Can't overwrite cause
    java.lang.Throwable.initCause(Throwable.java:320)
    com.iver.cit.gvsig.exceptions.visitors.ProcessWriterVisitorException.
(ProcessWriterVisitorException.java:11)
    com.hardcode.gdbms.driver.mysql.MySQLWriter.process(MySQLWriter.java:198)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.saveEdits(EditableAdapter.java:365)
    com.iver.cit.gvsig.fmap.edition.EditableAdapter.stopEdition(EditableAdapter.java:272)
    com.iver.cit.gvsig.project.documents.table.gui.Table.stopEditing(Table.java:730)
    com.iver.cit.gvsig.TableEditStopExtension.stopEditing(TableEditStopExtension.java:71)
    com.iver.cit.gvsig.TableEditStopExtension.execute(TableEditStopExtension.java:49)
    com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
    com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:674)
    javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    javax.swing.AbstractButton.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown
Source)     java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    java.awt.Component.processMouseEvent(Unknown Source)
    javax.swing.JComponent.processMouseEvent(Unknown Source)
    java.awt.Component.processEvent(Unknown Source)
    java.awt.Container.processEvent(Unknown Source)
    java.awt.Component.dispatchEventImpl(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    java.awt.Container.dispatchEventImpl(Unknown Source)
    java.awt.Component.dispatchEvent(Unknown Source)
    java.awt.EventQueue.dispatchEvent(Unknown Source)
    com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
    java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    java.awt.EventDispatchThread.run(Unknown Source) 

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Error-en-Mysql-tp6373435p6373435.html
Sent from the gvSIG usuarios mailing list archive at Nabble.com.


Más información sobre la lista de distribución gvSIG_usuarios