gvSIG bugs #2162

NPE when mouse move on a view with degrees units

Added by Jose Manuel Vivó Arnal over 10 years ago. Updated over 10 years ago.

Status:Closed% Done:

0%

Priority:NormalSpent time:-
Assignee:Juan Lucas Domínguez
Category:Document view
Target version:2.1.0-2217-devel
Severity: Add-on version:
gvSIG version:2.1.0 Add-on build:
gvSIG build:2215 Add-on resolve version:
Operative System: Add-on resolve build:
Keywords: Proyecto:
Has patch:No Hito:
Add-on name:Unknown

Description

  1. Open gvSIG
  2. Create a new View
  3. Open View properties
  4. Set SRS to EPSG:25830
  5. Set all units to Degrees
  6. Press Accept
  7. Move mouse cursor over view

Status bar doesn't show anything and S.O. console shows:

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)

gvSIG.log.tar.gz (36.1 KB) Jose Manuel Vivó Arnal, 12/20/2013 09:51 AM


Related issues

Related to Application: gvSIG desktop - gvSIG bugs #2167: Map coordinates cannot be displayed in degrees if CRS is ... New 12/24/2013

History

#1 Updated by Jose Manuel Vivó Arnal over 10 years ago

  • Description updated (diff)

#2 Updated by Juan Lucas Domínguez over 10 years ago

  • Assignee set to Juan Lucas Domínguez

#3 Updated by Juan Lucas Domínguez over 10 years ago

Catching exception when "unprojecting" is not possible, but we are still not able to "unproject". Perhaps we should be more restrictive with the available units list.

gvsig-desktop:r41000

#4 Updated by Juan Lucas Domínguez over 10 years ago

  • Status changed from New to Fixed

I am closing this and created ticket #2167

#5 Updated by Joaquín del Cerro Murciano over 10 years ago

  • Target version set to 2.1.0-2217-devel

#6 Updated by Álvaro Anguix over 10 years ago

  • Status changed from Fixed to Closed

Also available in: Atom PDF