[Gvsig_english] Problem with "Red" (shortest path)

Francisco José Peñarrubia fjp at scolab.es
Mon Jan 19 11:45:17 CET 2009


Hi, Luca.

Can I test your shape file?. Maybe a piece of it should be enough, if it 
is too big.
By the way, it seems something related to populateRoute. Maybe a null 
value in street name field?.

Thanks to try it.

Fran Peñarrubia
gvSIG team.

Luca Manganelli escribió:
> Hi,
>
> I'm using gvsig 1.9 build 1223 and since the 1220 build  I have problems with "shortest path feature".
>
> Ever time I use with the streets shapefile of my town, I get this error.
>
> Any idea?
>
> Errore non catturato per l'usario java.lang.NullPointerException: null     org.gvsig.graph.core.GvNode.get_from_link(Unknown Source)     org.gvsig.graph.solvers.AbstractShortestPathSolver.populateRoute(Unknown Source)     org.gvsig.graph.solvers.ShortestPathSolverAStar.calculateRoute(Unknown Source)     org.gvsig.graph.ShortestPathExtension.calculateRoute(Unknown Source)     org.gvsig.graph.ShortestPathExtension.execute(Unknown Source)     com.iver.andami.plugins.ExtensionDecorator.execute(Unknown Source)     com.iver.andami.ui.mdiFrame.MDIFrame.actionPerformed(Unknown Source)     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.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.dispatch!
>  Event(Unknown Source)     java.awt.EventQueue.dispatchEvent(Unknow
> n Source)     com.iver.andami.ui.AndamiEventQueue.dispatchEvent(Unknown Source)     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) Errore non catturato per l'usario java.lang.NullPointerException: null     org.gvsig.graph.core.GvNode.get_from_link(Unknown Source)     org.gvsig.graph.solvers.AbstractShortestPathSolver.populateRoute(Unknown Source)     org.gvsig.graph.solvers.ShortestPathSolverAStar.calculateRoute(Unknown Source)     org.gvsig.graph.ShortestPathExtension.calculateRoute(Unknown Source)     org.gvsig.graph.ShortestPathExtension.execute(Unknown Source)     com.iver.andami.plugins.ExtensionDecorator.execute(Unknown Source)     com.iver.andami.ui.mdiF!
>  rame.MDIFrame.actionPerformed(Unknown Source)     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.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(Unknown Source)     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)
>
> _______________________________________________
> Gvsig_internacional mailing list
> Gvsig_internacional at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_internacional
>   





More information about the Gvsig_internacional mailing list