gvSIG bugs #2162
Updated by Jose Manuel Vivó Arnal over 10 years ago
# Open gvSIG
# Create a new View
# Open _View properties_
# Set SRS to EPSG:25830
# Set all units to _Degrees_
# Press _Accept_
# Move mouse cursor over view
Status bar doesn't show anything and S.O. console shows:
<pre>
java.lang.NullPointerException
at org.gvsig.crs.proj.JNIBaseCrs.operate(JNIBaseCrs.java:143)
at org.gvsig.crs.Crs.toGeo(Crs.java:552)
at org.gvsig.app.project.documents.view.toolListeners.StatusBarListener.getCoords(StatusBarListener.java:288)
at org.gvsig.app.project.documents.view.toolListeners.StatusBarListener.point(StatusBarListener.java:157)
at org.gvsig.fmap.mapcontrol.tools.Behavior.MouseMovementBehavior.mouseMoved(MouseMovementBehavior.java:73)
at org.gvsig.fmap.mapcontrol.tools.CompoundBehavior.mouseMoved(CompoundBehavior.java:262)
at org.gvsig.fmap.mapcontrol.MapControl$MapToolListener.mouseMoved(MapControl.java:1841)
at java.awt.Component.processMouseMotionEvent(Component.java:6312)
at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285)
at java.awt.Component.processEvent(Component.java:6036)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4251)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.gvsig.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:50)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
</pre>
# Create a new View
# Open _View properties_
# Set SRS to EPSG:25830
# Set all units to _Degrees_
# Press _Accept_
# Move mouse cursor over view
Status bar doesn't show anything and S.O. console shows:
<pre>
java.lang.NullPointerException
at org.gvsig.crs.proj.JNIBaseCrs.operate(JNIBaseCrs.java:143)
at org.gvsig.crs.Crs.toGeo(Crs.java:552)
at org.gvsig.app.project.documents.view.toolListeners.StatusBarListener.getCoords(StatusBarListener.java:288)
at org.gvsig.app.project.documents.view.toolListeners.StatusBarListener.point(StatusBarListener.java:157)
at org.gvsig.fmap.mapcontrol.tools.Behavior.MouseMovementBehavior.mouseMoved(MouseMovementBehavior.java:73)
at org.gvsig.fmap.mapcontrol.tools.CompoundBehavior.mouseMoved(CompoundBehavior.java:262)
at org.gvsig.fmap.mapcontrol.MapControl$MapToolListener.mouseMoved(MapControl.java:1841)
at java.awt.Component.processMouseMotionEvent(Component.java:6312)
at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285)
at java.awt.Component.processEvent(Component.java:6036)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4251)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at org.gvsig.andami.ui.AndamiEventQueue.dispatchEvent(AndamiEventQueue.java:50)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
</pre>