Modify

Opened 16 years ago

Closed 16 years ago

#1554 closed defect (duplicate)

SlippyMap plugin: excaption and other oddities

Reported by: anonymous Owned by: framm
Priority: major Milestone:
Component: Plugin Version:
Keywords: persistent slippymap Cc: JohannesRudolph

Description

From a right-click to the background:

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 969
Node Kind: directory
Last Changed Author: ce
Last Changed Rev: 969
Last Changed Date: 2008-09-15 00:39:55 +0200 (Mon, 15 Sep 2008)

java.lang.NullPointerException

at org.openstreetmap.josm.plugins.slippymap.SlippyMapLayer.getTileForPixelpos(Unknown Source)
at org.openstreetmap.josm.plugins.slippymap.SlippyMapLayer$5$1.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6044)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5806)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4413)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3995)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2440)
at java.awt.Component.dispatchEvent(Component.java:4243)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

The other oddities:

(1) The slippy map layer opens above the data layer, so the later is invisible by default

(2) When deleting the data layer, the slippy map layer does not disappear (like other layers that have no meaning on their own). In fact, deleting the slippy map layer manually results in 2 new ones created (I see a hydra...).

Attachments (0)

Change History (5)

comment:1 by anonymous, 16 years ago

PS:

(3) right-click is also intercepted by the slippy map layer when the layer is hidden (set to invisible)

comment:2 by anonymous, 16 years ago

exception seems to be a dupe of ticket 1484

comment:3 by anonymous, 16 years ago

and duplicate layer - dupe of ticket #1483

comment:4 by JohannesRudolph, 16 years ago

Cc: JohannesRudolph added

Right the exception is another case of #424

comment:5 by Hasienda, 16 years ago

Keywords: persistent slippymap added
Resolution: duplicate
Status: newclosed

maybe valuable to challenge a fixed revision according to the initial report text, but already mentioned as duplicate in #424 too, so let's close this now

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.