[Gvsig_usuarios] error al salvar un proyecto que incluye el wms del PNOA gvSIG1.9

Agustin Diez Castillo agustin.diez en uv.es
Mar Feb 2 13:25:54 CET 2010


Unos de mis estudiantes puso mi atención sobre el hecho de que no podía salvar un proyecto con el wms del PNOA cargado. Cuando quitas el PNOA si se puede guardar. Yo hacía tiempo que no podía guardar proyectos, pero lo achacaba a otros factores, hasta que compobé que su solución? de quitar el PNOA permite guardar el proyecto. 
Error curioso
 Tuesday, February 2, 2010 1:16:12 PM Europe/Madrid 
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 101076 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Execute command:GUARDAR
WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Cannot find translation for writinng_project
DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager - writinng_project: ddddd.gvp
DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager - Fallo guardando el Proyecto en : com.iver.cit.gvsig.project.documents.view.ProjectView
java.lang.ClassCastException: com.iver.cit.gvsig.fmap.layers.WMSLayerNode$FMapWMSStyle cannot be cast to java.lang.String
	at com.iver.cit.gvsig.fmap.layers.FLyrWMS.getXMLEntity(FLyrWMS.java:389)
	at com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:782)
	at com.iver.cit.gvsig.fmap.layers.FLayers.getXMLEntity(FLayers.java:782)
	at com.iver.cit.gvsig.fmap.MapContext.getXMLEntity(MapContext.java:1238)
	at com.iver.cit.gvsig.project.documents.view.ProjectView.getXMLEntity(ProjectView.java:105)
	at com.iver.cit.gvsig.project.Project.getXMLEntity(Project.java:701)
	at com.iver.cit.gvsig.ProjectExtension.writeProject(ProjectExtension.java:498)
	at com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:284)
	at com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:391)
	at com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:89)
	at com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:673)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
	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.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6348)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
	at java.awt.Component.processEvent(Component.java:6113)
	at java.awt.Container.processEvent(Container.java:2085)
	at java.awt.Component.dispatchEventImpl(Component.java:4714)
	at java.awt.Container.dispatchEventImpl(Container.java:2143)
	at java.awt.Component.dispatchEvent(Component.java:4544)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
	at java.awt.Container.dispatchEventImpl(Container.java:2129)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4544)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
	at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager - Project file saved: ddddd.gvp
INFO AWT-EventQueue-1 com.iver.cit.gvsig.ProjectExtension - Project saved. 45 miliseconds
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 102536 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 102536 KB
WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin org.gvsig.ext3Dgui -- Cannot find translation for Information console
WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Plugin org.gvsig.ext3Dgui -- Cannot find translation for Activate window
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 106651 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 106651 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 107004 KB
 Tuesday, February 2, 2010 1:16:46 PM Europe/Madrid 
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 107906 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 108343 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 109024 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 110602 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 111033 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 111714 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 113651 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 114082 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 115324 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Execute command:GUARDAR
WARN AWT-EventQueue-1 com.iver.andami.PluginServices - Cannot find translation for writinng_project
DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager - writinng_project: ddddd.gvp
DEBUG AWT-EventQueue-1 com.iver.andami.messages.NotificationManager - Project file saved: ddddd.gvp
INFO AWT-EventQueue-1 com.iver.cit.gvsig.ProjectExtension - Project saved. 32 miliseconds
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 89922 KB
DEBUG AWT-EventQueue-1 com.iver.andami.ui.mdiFrame.MDIFrame - Memory usage 89922 KB


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