[Gvsig_desarrolladores] Error al usar botones GUARDAR/SALVAR - "Error no capturado..."

Jose Angel tekaneo en gmail.com
Jue Mayo 17 09:04:48 CEST 2007


Hola a todos:

Hace 2 dias terminé de compilar gvSIG (carga pero con muchisimos
warnings). El caso es que tengo una serie de errores internos que por
consola no me los lanza como error (al cargar el programa, luego al
intentar usar esas opciones si me las lanza en consola el error).

Uno de ellos es cuando intento usar las opciones de CARGAR/SALVAR del
programa. Al clickar en ellas me lanza un error "no capturado por el
usuario". Tambien me lo da al intentar navegar para buscar un shape y
cargarlo. Imagino que será del class que controla la navegación por
las unidades. ¿Sería tan amable alguien de indicarme como puedo
solucionar este problemilla? Creo que se trata del
ProjectExtensión.class que no llega a trabajar correctametne pero no
se si estoy en lo cierto.

Es un problema ya que si no puedo salvar/cargar proyectos o cargar
capas mediante navegación, poco puedo hacer :(

Un saludo y gracias a quien pueda contestarme, el error que me da es
el siguiente:

DEBUG [AWT-EventQueue-1] (NotificationManager.java:99) - Error no
capturado por el usuario
java.lang.NullPointerException
	at javax.swing.ImageIcon.<init>(Unknown Source)
	at javax.swing.ImageIcon.<init>(Unknown Source)
	at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$ShortCutPanel.<init>(Unknown
Source)
	at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFolder(Unknown
Source)
	at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown
Source)
	at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
	at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown
Source)
	at javax.swing.JComponent.setUI(Unknown Source)
	at javax.swing.JFileChooser.updateUI(Unknown Source)
	at javax.swing.JFileChooser.setup(Unknown Source)
	at javax.swing.JFileChooser.<init>(Unknown Source)
	at javax.swing.JFileChooser.<init>(Unknown Source)
	at com.iver.cit.gvsig.ProjectExtension.guardarDialogo(ProjectExtension.java:246)
	at com.iver.cit.gvsig.ProjectExtension.guardar(ProjectExtension.java:227)
	at com.iver.cit.gvsig.ProjectExtension.execute(ProjectExtension.java:345)
	at com.iver.andami.plugins.ExtensionDecorator.execute(ExtensionDecorator.java:87)
	at com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(MDIFrame.java:620)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at com.iver.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:58)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Saludos^^



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