[Gvsig_usuarios] enlaces entre tablas
José Antonio Canalejo Alonso
jacanalejo en yahoo.es
Mar Mar 20 12:23:40 CET 2007
Os comento lo que estoy haciendo y abajo pego el error
que me da gvSIg al intentar guardar el proyecto.
Trabajo con Windows XP, gvSIG 1.0.1 con las
extensiones mas recientes (Piloto
Raster+proyecciones).
Quiero enlazar una tabla a un Shape y representarlo de
tres formas diferentes según valores de los campos de
la tabla asociada (el mismo shape y la misma tabla de
tres formas diferentes).
1) La función copy/paste no me funciona con el shape
que ya tiene la tabla unida
2) Creo tres vistas/tres mapas diferentes sin
problemas y guardo el proyecto. Al abrirlo después no
me reconoce algunas uniones (tampoco después de
refrescar "reload" el tema). Al intentar guardar el
proyecto, me sale el error que os comento mas abajo.
Se pueden eliminar las tablas de atributos de los
shapes que aparecen abiertas en la ventana del
administrador de proyecto (menú tablas) sin que afecte
a la unión?
Gracias por vuestra respuesta!
Saludos,
José Antonio Canalejo
--------------------------------------------------------------------------------------------
Fallo guardando el Proyecto en :
com.iver.cit.gvsig.project.documents.view.ProjectView
java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.layers.FLyrVect.getXMLEntity(FLyrVect.java:738)
com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:656)
com.iver.cit.gvsig.fmap.MapContext.getXMLEntity(MapContext.java:802)
com.iver.cit.gvsig.project.documents.view.ProjectView.getXMLEntity(ProjectView.java:97)
com.iver.cit.gvsig.project.Project.getXMLEntity(Project.java:680)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:444)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:414)
com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:229)
com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:345)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.Component.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.Window.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.pumpOneEventForHierarchy(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) Fallo guardando el Proyecto en :
com.iver.cit.gvsig.gui.layout.fframes.FFrameView
java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.layers.FLyrVect.getXMLEntity(FLyrVect.java:738)
com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:656)
com.iver.cit.gvsig.fmap.MapContext.getXMLEntity(MapContext.java:802)
com.iver.cit.gvsig.gui.layout.fframes.FFrameView.getXMLEntity(FFrameView.java:652)
com.iver.cit.gvsig.gui.layout.Layout.getXMLEntity(Layout.java:1389)
com.iver.cit.gvsig.project.documents.layout.ProjectMap.getXMLEntity(ProjectMap.java:119)
com.iver.cit.gvsig.project.Project.getXMLEntity(Project.java:680)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:444)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:414)
com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:229)
com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:345)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.Component.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.Window.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.pumpOneEventForHierarchy(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) Fallo guardando el Proyecto en :
com.iver.cit.gvsig.project.documents.view.ProjectView
java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.layers.FLyrVect.getXMLEntity(FLyrVect.java:738)
com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:656)
com.iver.cit.gvsig.fmap.MapContext.getXMLEntity(MapContext.java:802)
com.iver.cit.gvsig.project.documents.view.ProjectView.getXMLEntity(ProjectView.java:97)
com.iver.cit.gvsig.project.Project.getXMLEntity(Project.java:680)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:444)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:414)
com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:229)
com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:345)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.Component.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.Window.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.pumpOneEventForHierarchy(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) Fallo guardando el Proyecto en :
com.iver.cit.gvsig.gui.layout.fframes.FFrameView
java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.layers.FLyrVect.getXMLEntity(FLyrVect.java:738)
com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:656)
com.iver.cit.gvsig.fmap.MapContext.getXMLEntity(MapContext.java:802)
com.iver.cit.gvsig.gui.layout.fframes.FFrameView.getXMLEntity(FFrameView.java:652)
com.iver.cit.gvsig.gui.layout.Layout.getXMLEntity(Layout.java:1389)
com.iver.cit.gvsig.project.documents.layout.ProjectMap.getXMLEntity(ProjectMap.java:119)
com.iver.cit.gvsig.project.Project.getXMLEntity(Project.java:680)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:444)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:414)
com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:229)
com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:345)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.Component.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.Window.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.pumpOneEventForHierarchy(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) Fallo guardando el Proyecto en :
com.iver.cit.gvsig.project.documents.view.ProjectView
java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.layers.FLyrVect.getXMLEntity(FLyrVect.java:738)
com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:656)
com.iver.cit.gvsig.fmap.MapContext.getXMLEntity(MapContext.java:802)
com.iver.cit.gvsig.project.documents.view.ProjectView.getXMLEntity(ProjectView.java:97)
com.iver.cit.gvsig.project.Project.getXMLEntity(Project.java:680)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:444)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:414)
com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:229)
com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:345)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.Component.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.Window.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.pumpOneEventForHierarchy(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) Fallo guardando el Proyecto en :
com.iver.cit.gvsig.gui.layout.fframes.FFrameView
java.lang.NullPointerException: null
com.iver.cit.gvsig.fmap.layers.FLyrVect.getXMLEntity(FLyrVect.java:738)
com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:656)
com.iver.cit.gvsig.fmap.MapContext.getXMLEntity(MapContext.java:802)
com.iver.cit.gvsig.gui.layout.fframes.FFrameView.getXMLEntity(FFrameView.java:652)
com.iver.cit.gvsig.gui.layout.Layout.getXMLEntity(Layout.java:1389)
com.iver.cit.gvsig.project.documents.layout.ProjectMap.getXMLEntity(ProjectMap.java:119)
com.iver.cit.gvsig.project.Project.getXMLEntity(Project.java:680)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:444)
com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:414)
com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:229)
com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:345)
com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
javax.swing.AbstractButton.fireActionPerformed(Unknown
Source)
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown
Source)
javax.swing.DefaultButtonModel.setPressed(Unknown
Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.AWTEventMulticaster.mouseReleased(Unknown
Source)
java.awt.Component.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.Window.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.pumpOneEventForHierarchy(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)
______________________________________________
LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
Más información sobre la lista de distribución gvSIG_usuarios