Issue Details (XML | Word | Printable)

Key: AGROSENSE-181
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Tom Verhage
Reporter: Tom Verhage
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
agrosense

Map dragging out of bounds shows nullpointer

Created: 21/Jul/11 11:35 AM   Updated: 17/Nov/11 11:54 AM   Resolved: 21/Jul/11 02:43 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.8

Time Tracking:
Not Specified

Tags:
Participants: Tom Verhage


 Description  « Hide

Drag the map, and release mousebutton when you're out of map bounds.

java.lang.NullPointerException
at org.jdesktop.swingx.JXMapViewer$PanMouseInputListener.mouseDragged(JXMapViewer.java:773)
at java.awt.Component.processMouseMotionEvent(Component.java:6336)
at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3285)
at java.awt.Component.processEvent(Component.java:6057)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
at nl.cloudfarming.client.geoviewer.jxmap.map.RootMapPanel.onMapMouseEvent(RootMapPanel.java:64)
at nl.cloudfarming.client.geoviewer.jxmap.map.MapMouseHandler.dispatch(MapMouseHandler.java:89)
at nl.cloudfarming.client.geoviewer.jxmap.map.MapMouseHandler.mouseDragged(MapMouseHandler.java:135)
at java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:302)
at java.awt.Component.processMouseMotionEvent(Component.java:6336)
at javax.swing.JComponent.superProcessMouseMotionEvent(JComponent.java:3291)
at javax.swing.Autoscroller.actionPerformed(Autoscroller.java:159)
at javax.swing.Timer.fireActionPerformed(Timer.java:291)
at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
[catch] 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)



Tom Verhage added a comment - 17/Nov/11 11:54 AM

No longer an issue