Modify

Opened 12 years ago

Closed 12 years ago

#4056 closed defect (fixed)

utilsplugin - "join overlapping areas" is clickable although no data is loaded

Reported by: Cobra Owned by: team
Priority: trivial Milestone:
Component: Plugin Version: latest
Keywords: Cc:

Description

At startup nearly all menu entries are deactivated until some data is loaded. "Join overlapping areas" provided by utilsplugin isn't, which leads to this NPE when a user clicks it (but every user should see that this is a rather senseless action, so this is a more hypothetical bug).

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2009-11-30 13:18:06
Last Changed Author: stoecker
Revision: 2554
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2009-11-30 13:48:36 +0100 (Mon, 30 Nov 2009)
Last Changed Rev: 2554

Memory Usage: 24 MB / 1016 MB (6 MB allocated, but free)
Java version: 1.6.0_16


Plugins: AgPifoJ,PicLayer,measurement,openstreetbugs,openvisible,remotecontrol,utilsplugin,validator,wmsplugin
Plugin AgPifoJ Version: 18593
Plugin PicLayer Version: 18597
Plugin measurement Version: 18595
Plugin openstreetbugs Version: 18595
Plugin openvisible Version: 17536
Plugin remotecontrol Version: 18678
Plugin utilsplugin Version: 18621
Plugin validator Version: 18848
Plugin wmsplugin Version: 18762

java.lang.NullPointerException
	at UtilsPlugin.JoinAreasAction.actionPerformed(JoinAreasAction.java:109)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
	at java.awt.Component.processMouseEvent(Component.java:6263)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	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:4574)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2475)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	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)

JOSM version: latest, Revision: 2554
Plugin utilsplugin Version: 18621

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Cobra

Resolution: fixed
Status: newclosed

fixed in latest josm with utilsplugin being integrated into josm

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.