[Gvsig_desarrolladores] Ayuda con reiterados errores al arrancar gvSIG
Daniel L.S.
pumukovic en hotmail.com
Vie Sep 24 16:42:27 CEST 2010
Gracias por las respuestas. He ñadido la dependencia que me indicaba Jorge y compilado la extension de nuevo y me han aparecido los siguientes errores en algunos de los arranques que he realizado. No se si será un dato relevante el hecho de que levante la aplicación pasando al launcher como parámetro un gvp con el proyecto que se arranca automáticamente. Los errores son:
ERROR [main] (Launcher.java:448) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1254)
at com.iver.andami.Launcher.main(Launcher.java:428)
Caused by: java.lang.NoClassDefFoundError: com/iver/cit/gvsig/fmap/layers/layerOperations/ComposedLayer
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at com.iver.cit.gvsig.fmap.layers.LayerFactory.getLayerClassForLayerClassName(LayerFactory.java:755)
at com.iver.cit.gvsig.fmap.layers.FLayers.addLayerFromXML(FLayers.java:1338)
at com.iver.cit.gvsig.fmap.layers.FLayers.setXMLEntity(FLayers.java:941)
at com.iver.cit.gvsig.fmap.MapContext.createFromXML(MapContext.java:1286)
at com.iver.cit.gvsig.project.documents.view.ProjectView.setXMLEntity(ProjectView.java:171)
at com.iver.cit.gvsig.project.Project.createFromXML(Project.java:1200)
at com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:669)
at com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:590)
at com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:555)
at com.iver.cit.gvsig.ProjectExtension.loadInitialProject(ProjectExtension.java:219)
at com.iver.cit.gvsig.ProjectExtension.postInitialize(ProjectExtension.java:235)
at com.iver.andami.Launcher.postInitializeExtensions(Launcher.java:885)
at com.iver.andami.Launcher.access$11(Launcher.java:882)
at com.iver.andami.Launcher$8.run(Launcher.java:430)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
==========================================
ERROR [main] (Launcher.java:448) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1254)
at com.iver.andami.Launcher.main(Launcher.java:428)
Caused by: java.lang.NoClassDefFoundError: com/hardcode/gdbms/engine/data/AutomaticDataSource$1
at com.hardcode.gdbms.engine.data.AutomaticDataSource.open(AutomaticDataSource.java:99)
at com.hardcode.gdbms.engine.data.AutomaticDataSource.getFieldCount(AutomaticDataSource.java:222)
at com.iver.cit.gvsig.fmap.layers.SelectableDataSource.mapExternalFields(SelectableDataSource.java:117)
at com.iver.cit.gvsig.fmap.layers.SelectableDataSource.<init>(SelectableDataSource.java:99)
at com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.getRecordset(VectorialFileAdapter.java:171)
at com.iver.cit.gvsig.fmap.layers.VectorialFileAdapter.start(VectorialFileAdapter.java:112)
at com.iver.cit.gvsig.fmap.layers.FLyrVect.getShapeType(FLyrVect.java:1169)
at com.iver.cit.gvsig.fmap.layers.LayerFactory.createLayer(LayerFactory.java:238)
at com.iver.cit.gvsig.fmap.layers.FLayers.addLayerFromXML(FLayers.java:1237)
at com.iver.cit.gvsig.fmap.layers.FLayers.setXMLEntity(FLayers.java:941)
at com.iver.cit.gvsig.fmap.MapContext.createFromXML(MapContext.java:1286)
at com.iver.cit.gvsig.project.documents.view.ProjectView.setXMLEntity(ProjectView.java:171)
at com.iver.cit.gvsig.project.Project.createFromXML(Project.java:1200)
at com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:669)
at com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:590)
at com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:555)
at com.iver.cit.gvsig.ProjectExtension.loadInitialProject(ProjectExtension.java:219)
at com.iver.cit.gvsig.ProjectExtension.postInitialize(ProjectExtension.java:235)
at com.iver.andami.Launcher.postInitializeExtensions(Launcher.java:885)
at com.iver.andami.Launcher.access$11(Launcher.java:882)
at com.iver.andami.Launcher$8.run(Launcher.java:430)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Date: Fri, 24 Sep 2010 14:38:55 +0200
From: jpiera en prodevelop.es
To: gvsig_desarrolladores en listserv.gva.es
Subject: Re: [Gvsig_desarrolladores] Ayuda con reiterados errores al arrancar gvSIG
Cuerpo del mensaje
Hola.
En el config.xml de tu extensión debes añadir las dependencias que
tiene tu proyecto. Por ejemplo, si tu proyecto utiliza la extensión de
ráster, tienes que añadir lo siguiente:
<plugin-config>
...
<depends plugin-name="org.gvsig.rastertools" />
....
Un saludo,
Jorge.
On 09/24/2010 02:00 PM, Daniel L.S. wrote:
Hola
No se si sera cuestion de las extensiones que tengo añadidas al
proyecto. Utilizo Ubuntu y adjunto algunos de los errores que me han
aparecido ultimamente. Pero es algo que ocurre en ocasiones. Unas veces
arranca perfectamente, otras muchas da errores como los siguientes:
ERROR [main] (Launcher.java:448) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1254)
at com.iver.andami.Launcher.main(Launcher.java:428)
Caused by: java.lang.NoClassDefFoundError:
org/gvsig/raster/dataset/properties/DatasetColorInterpretation
at
org.gvsig.raster.dataset.MultiRasterDataset.getColorInterpretation(MultiRasterDataset.java:1176)
at org.gvsig.raster.grid.render.Rendering.init(Rendering.java:168)
at
org.gvsig.raster.grid.render.Rendering.<init>(Rendering.java:138)
at
org.gvsig.fmap.raster.layers.FLyrRasterSE.init(FLyrRasterSE.java:353)
at
org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:339)
at
com.iver.cit.gvsig.fmap.layers.FLayers.addLayerFromXML(FLayers.java:1349)
at
com.iver.cit.gvsig.fmap.layers.FLayers.setXMLEntity(FLayers.java:941)
at
com.iver.cit.gvsig.fmap.MapContext.createFromXML(MapContext.java:1286)
at
com.iver.cit.gvsig.project.documents.view.ProjectView.setXMLEntity(ProjectView.java:171)
at
com.iver.cit.gvsig.project.Project.createFromXML(Project.java:1200)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:669)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:590)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:555)
at
com.iver.cit.gvsig.ProjectExtension.loadInitialProject(ProjectExtension.java:219)
at
com.iver.cit.gvsig.ProjectExtension.postInitialize(ProjectExtension.java:235)
at
com.iver.andami.Launcher.postInitializeExtensions(Launcher.java:885)
at com.iver.andami.Launcher.access$11(Launcher.java:882)
at com.iver.andami.Launcher$8.run(Launcher.java:430)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
=============================================================================================
ERROR [main] (Launcher.java:448) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1254)
at com.iver.andami.Launcher.main(Launcher.java:428)
Caused by: java.lang.NoClassDefFoundError:
com/iver/cit/gvsig/fmap/layers/LayerEvent
at
com.iver.cit.gvsig.fmap.layers.FLyrDefault.updateDrawVersion(FLyrDefault.java:1174)
at
com.iver.cit.gvsig.fmap.layers.FLyrDefault.setXMLEntity(FLyrDefault.java:646)
at
com.iver.cit.gvsig.fmap.layers.FLayers.setXMLEntity(FLayers.java:932)
at
com.iver.cit.gvsig.fmap.MapContext.createFromXML(MapContext.java:1286)
at
com.iver.cit.gvsig.project.documents.view.ProjectView.setXMLEntity(ProjectView.java:171)
at
com.iver.cit.gvsig.project.Project.createFromXML(Project.java:1200)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:669)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:590)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:555)
at
com.iver.cit.gvsig.ProjectExtension.loadInitialProject(ProjectExtension.java:219)
at
com.iver.cit.gvsig.ProjectExtension.postInitialize(ProjectExtension.java:235)
at
com.iver.andami.Launcher.postInitializeExtensions(Launcher.java:885)
at com.iver.andami.Launcher.access$11(Launcher.java:882)
at com.iver.andami.Launcher$8.run(Launcher.java:430)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
=============================================================================================
ERROR [main] (Launcher.java:448) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1254)
at com.iver.andami.Launcher.main(Launcher.java:428)
Caused by: java.lang.NoClassDefFoundError:
com/iver/cit/gvsig/fmap/drivers/db/utils/SingleVectorialDBConnectionManager
at
com.iver.cit.gvsig.fmap.drivers.DefaultJDBCDriver.load(DefaultJDBCDriver.java:584)
at
com.iver.cit.gvsig.fmap.layers.FLayers.addLayerFromXML(FLayers.java:1257)
at
com.iver.cit.gvsig.fmap.layers.FLayers.setXMLEntity(FLayers.java:941)
at
com.iver.cit.gvsig.fmap.MapContext.createFromXML(MapContext.java:1286)
at
com.iver.cit.gvsig.project.documents.view.ProjectView.setXMLEntity(ProjectView.java:171)
at
com.iver.cit.gvsig.project.Project.createFromXML(Project.java:1200)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:669)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:590)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:555)
at
com.iver.cit.gvsig.ProjectExtension.loadInitialProject(ProjectExtension.java:219)
at
com.iver.cit.gvsig.ProjectExtension.postInitialize(ProjectExtension.java:235)
at
com.iver.andami.Launcher.postInitializeExtensions(Launcher.java:885)
at com.iver.andami.Launcher.access$11(Launcher.java:882)
at com.iver.andami.Launcher$8.run(Launcher.java:430)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
=============================================================================================
ERROR [main] (Launcher.java:448) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1254)
at com.iver.andami.Launcher.main(Launcher.java:428)
Caused by: java.lang.NoClassDefFoundError:
org/gvsig/raster/grid/render/Rendering
at
org.gvsig.fmap.raster.layers.FLyrRasterSE.init(FLyrRasterSE.java:353)
at
org.gvsig.fmap.raster.layers.FLyrRasterSE.load(FLyrRasterSE.java:339)
at
com.iver.cit.gvsig.fmap.layers.FLayers.addLayerFromXML(FLayers.java:1349)
at
com.iver.cit.gvsig.fmap.layers.FLayers.setXMLEntity(FLayers.java:941)
at
com.iver.cit.gvsig.fmap.MapContext.createFromXML(MapContext.java:1286)
at
com.iver.cit.gvsig.project.documents.view.ProjectView.setXMLEntity(ProjectView.java:171)
at
com.iver.cit.gvsig.project.Project.createFromXML(Project.java:1200)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:669)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:590)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:555)
at
com.iver.cit.gvsig.ProjectExtension.loadInitialProject(ProjectExtension.java:219)
at
com.iver.cit.gvsig.ProjectExtension.postInitialize(ProjectExtension.java:235)
at
com.iver.andami.Launcher.postInitializeExtensions(Launcher.java:885)
at com.iver.andami.Launcher.access$11(Launcher.java:882)
at com.iver.andami.Launcher$8.run(Launcher.java:430)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
===============================================================================================
ERROR [main] (Launcher.java:448) - excepción al arrancar
java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)
at
javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1254)
at com.iver.andami.Launcher.main(Launcher.java:428)
Caused by: java.lang.NoClassDefFoundError:
org/geotools/io/ExpandedTabWriter
at
org.geotools.parameter.AbstractParameter.toString(AbstractParameter.java:187)
at org.gvsig.crs.Proj4.exportToProj4(Proj4.java:3714)
at org.gvsig.crs.CrsGT.getProj4String(CrsGT.java:313)
at org.gvsig.crs.CrsGT.getCrsProj(CrsGT.java:325)
at org.gvsig.crs.COperation.<init>(COperation.java:131)
at org.gvsig.crs.CrsGT.getCT(CrsGT.java:186)
at
com.iver.cit.gvsig.fmap.layers.FLayers.doAddLayer(FLayers.java:209)
at com.iver.cit.gvsig.fmap.layers.FLayers.addLayer(FLayers.java:252)
at com.iver.cit.gvsig.fmap.layers.FLayers.addLayer(FLayers.java:219)
at
com.iver.cit.gvsig.fmap.layers.FLayers.addLayerFromXML(FLayers.java:1352)
at
com.iver.cit.gvsig.fmap.layers.FLayers.setXMLEntity(FLayers.java:941)
at
com.iver.cit.gvsig.fmap.MapContext.createFromXML(MapContext.java:1286)
at
com.iver.cit.gvsig.project.documents.view.ProjectView.setXMLEntity(ProjectView.java:171)
at
com.iver.cit.gvsig.project.Project.createFromXML(Project.java:1200)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:669)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:590)
at
com.iver.cit.gvsig.ProjectExtension.readProject(ProjectExtension.java:555)
at
com.iver.cit.gvsig.ProjectExtension.loadInitialProject(ProjectExtension.java:219)
at
com.iver.cit.gvsig.ProjectExtension.postInitialize(ProjectExtension.java:235)
at
com.iver.andami.Launcher.postInitializeExtensions(Launcher.java:885)
at com.iver.andami.Launcher.access$11(Launcher.java:882)
at com.iver.andami.Launcher$8.run(Launcher.java:430)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at
com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Date: Fri, 24 Sep 2010 12:22:23 +0200
From: jtorresfabra en gmail.com
To: gvsig_desarrolladores en listserv.gva.es
Subject: Re: [Gvsig_desarrolladores] Ayuda con reiterados errores al
arrancar gvSIG
Hola Daniel,
Das muy pocos datos para que te podamos ayudar. Sería interesante saber
que versión de gvSIG utilizas, que extensiones te has instalado, que
sistema operativo, mandarnos el archivo gvSIG.log, etc. Con esto la
gente de la lista se puede hacer una idea del entorno de ejecución y
tendrás más posibilidades de ser ayudado, si no es una lotería saber lo
que te ocurre. ;).
Un saludo.
El 24 de septiembre de 2010 11:03, Daniel
L.S. <pumukovic en hotmail.com>
escribió:
ERROR [main] (Launcher.java:448) - excepción al arrancar
Caused by: java.lang.NoClassDefFoundError:....
Esto es algo muy habitual que me encuentro al arrancar gvSIG cada vez
causado por una clase diferente.
Es una loteria que arranque bien o de este error. Nadie sabe nada al
respecto???
Un saludo
_______________________________________________
gvSIG_desarrolladores mailing list
gvSIG_desarrolladores en listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores
--
Jordi Torres Fabra
gvSIG 3D blog
http://gvsig3d.blogspot.com
Instituto de Automática e Informática Industrial
http://www.ai2.upv.es
_______________________________________________
gvSIG_desarrolladores mailing list
gvSIG_desarrolladores en listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores
_______________________________________________
gvSIG_desarrolladores mailing list
gvSIG_desarrolladores en listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores
--
Jorge Piera Llodrá
gvSIG Development Team
PRODEVELOP
Plaza Don Juan de Villarrasa, 14 - 5
46001 Valencia
Tel: +34 963510612
Fax: +34 963510908
e-mail: jpiera en prodevelop.es
http://www.prodevelop.es
http://www.gvsig.org
_______________________________________________
gvSIG_desarrolladores mailing list
gvSIG_desarrolladores en listserv.gva.es
http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_desarrolladores
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listserv.gva.es/pipermail/gvsig_desarrolladores/attachments/20100924/dde4f2ca/attachment.htm
Más información sobre la lista de distribución gvSIG_desarrolladores