Modify

Opened 16 years ago

Closed 16 years ago

#4196 closed defect (fixed)

Disable terracer menu entries until layer is loaded

Reported by: Ldp Owned by: zerebubuth@…
Priority: trivial Milestone:
Component: Plugin terracer Version:
Keywords: Cc:

Description

Open JOSM, see that the Terracer entries in the Tools menu are not grayed out, select them, NPE. Not a big issue, but it's better if they were disabled until a layer is active.

Build-Date: 2009-12-18 09:07:58		
Revision: 2652
Is-Local-Build: true

Memory Usage: 11 MB / 1016 MB (2 MB allocated, but free)
Java version: 1.6.0_17


Plugins: AddrInterpolation,multipoly,terracer,validator,wmsplugin
Plugin AddrInterpolation Version: 18874
Plugin multipoly Version: 18962
Plugin terracer Version: 19129
Plugin validator Version: 19072
Plugin wmsplugin Version: 18953

java.lang.NullPointerException
	at terracer.TerracerAction.actionPerformed(TerracerAction.java:65)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
	at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
	at javax.swing.JMenuItem.processMouseEvent(Unknown Source)
	at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
	at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)
	at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
	at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
	at java.awt.Toolkit.notifyAWTEventListeners(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.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 (0)

Change History (1)

comment:1 by bastiK, 16 years ago

Resolution: fixed
Status: newclosed

In [o19678]

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain zerebubuth@….
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.