Modify ↓
#6812 closed defect (fixed)
[Patch] NPE when clicking in TMS layer
Reported by: | Don-vip | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Launch JOSM
- Select Imagery -> OpenStreetMap (Mapnik)
- Left-click anywhere in the TMS layer
What is the expected result? nothing
What happens instead? An error message.
Please find a patch that resolves this issue.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-09-09 01:31:58 Last Changed Author: simon04 Revision: 4410 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-09-08 17:00:04 +0200 (Thu, 08 Sep 2011) Last Changed Rev: 4410 Identification: JOSM/1.5 (4410 fr) Memory Usage: 154 MB / 3729 MB (114 MB allocated, but free) Java version: 1.7.0, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Operating system: Windows 7 Plugin: cadastre-fr (26606) Plugin: epci-fr (26605) Plugin: licensechange (26606) Plugin: openstreetbugs (26606) Plugin: photo_geotagging (26606) Plugin: restart (26606) java.lang.NullPointerException at org.openstreetmap.josm.gui.layer.TMSLayer$12$1.mouseClicked(TMSLayer.java:499) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (1)
Change History (8)
by , 13 years ago
Attachment: | patch.diff added |
---|
comment:1 by , 13 years ago
Description: | modified (diff) |
---|---|
Summary: | NPE when clicking in TMS layer → [Patch] NPE when clicking in TMS layer |
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [4417/josm]: