﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6271	NullPointerException adding an imagery layer	wiml@…	team	"What steps will reproduce the problem?

I selected 'Add imagery layer' (and then the Washington USGS imagery layer). The exception was raised when I did so.

I had the layers list in a detached window; the existing layers were the OSM data layer (recovered from autosave after an earlier JOSM crash), and a PicLayer created from the clipboard.


Please provide any additional information below. Attach a screenshot if
possible.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2011-04-23 01:31:31
Last Changed Author: framm
Revision: 4056
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2011-04-23 00:32:55 +0200 (Sat, 23 Apr 2011)
Last Changed Rev: 4056

Identification: JOSM/1.5 (4056 en)
Memory Usage: 81 MB / 2043 MB (13 MB allocated, but free)
Java version: 1.6.0_22, Apple Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Mac OS X
Dataset consistency test: No problems found

Plugin: PicLayer (25219)
Plugin: dataimport (25192)
Plugin: graphview (25199)
Plugin: lakewalker (25192)
Plugin: measurement (25199)
Plugin: openstreetbugs (25664)
Plugin: routing (25843)
Plugin: turnrestrictions (25845)

java.lang.NullPointerException
	at org.openstreetmap.josm.gui.dialogs.LayerListDialog$LayerNameCellRenderer.getTableCellRendererComponent(LayerListDialog.java:834)
	at javax.swing.JTable$AccessibleJTable.getAccessibleChild(JTable.java:7023)
	at javax.swing.JTable$AccessibleJTable.getAccessibleAt(JTable.java:7410)
	at javax.swing.JTable$AccessibleJTable.valueChanged(JTable.java:6925)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:147)
	at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:194)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:388)
	at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:398)
	at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:442)
	at org.openstreetmap.josm.gui.dialogs.LayerListDialog$LayerListModel.onAddLayer(LayerListDialog.java:1094)
	at org.openstreetmap.josm.gui.dialogs.LayerListDialog$LayerListModel.layerAdded(LayerListDialog.java:1343)
	at org.openstreetmap.josm.gui.MapView.fireLayerAdded(MapView.java:146)
	at org.openstreetmap.josm.gui.MapView.addLayer(MapView.java:281)
	at org.openstreetmap.josm.Main.addLayer(Main.java:265)
	at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(AddImageryLayerAction.java:27)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:389)
	at com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:95)
	at java.awt.MenuItem.processActionEvent(MenuItem.java:627)
	at java.awt.MenuItem.processEvent(MenuItem.java:586)
	at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:317)
	at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:305)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:638)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122
}}}
"	defect	closed	normal		Core	latest	duplicate	template_report	
