NPE when getting transform from MapViewport
-------------------------------------------
Key: GEOT-3791
URL: https://jira.codehaus.org/browse/GEOT-3791
Project: GeoTools
Issue Type: Bug
Components: swing
Affects Versions: 8.0-M1
Reporter: Michael Bedward
Assignee: Michael Bedward
Fix For: 8.0-M2
Reported on the user list and confirmed by Jody. I haven't been able to
reproduce it on my macbook so it may be related to speed of the system...
possibly a concurrency bug introduced in the last few days of swing hacking.
java.lang.NullPointerException
at java.awt.geom.AffineTransform.<init>(AffineTransform.java:471)
at org.geotools.map.MapViewport.getScreenToWorld(MapViewport.java:351)
at
org.geotools.swing.AbstractMapPane.getScreenToWorldTransform(AbstractMapPane.java:592)
at
org.geotools.swing.tool.MapToolManager.convertEvent(MapToolManager.java:198)
at
org.geotools.swing.tool.MapToolManager.mouseEntered(MapToolManager.java:152)
at
java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:283)
at
java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:282)
at java.awt.Component.processMouseEvent(Component.java:6382)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6138)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4735)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4565)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
at
java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4410)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4264)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4565)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:638)
at java.awt.EventQueue$1.run(EventQueue.java:636)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:652)
at java.awt.EventQueue$2.run(EventQueue.java:650)
at java.security.AccessController.doPrivileged(Native Method)
at
java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel