Opened 13 years ago

Closed 13 years ago

#6522 closed defect (fixed)

NPE when adding wms layer

Reported by: Cobra Owned by: Upliner
Priority: normal Milestone:
Component: Core imagery Version: latest
Keywords: template_report add wms layer imagery Cc:


What steps will reproduce the problem?

  1. add an wms layer

What is the expected result?
wms layer is added and displayed

What happens instead?
see below; layer isn't added while josm is still working

Please provide any additional information below. Attach a screenshot if
This happens only if you have used the layer with an older revision.
Deleting ~/.josm/wms-cache solves this problem.

Build-Date: 2011-06-29 10:59:35
Revision: 4183
Is-Local-Build: true

Identification: JOSM/1.5 (4183 SVN en)
Memory Usage: 124 MB / 910 MB (53 MB allocated, but free)
Java version: 1.6.0_24, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Linux
Dataset consistency test: No problems found

Plugin: ImproveWayAccuracy (26174)
Plugin: PicLayer (26174)
Plugin: alignways (26174)
Plugin: contourmerge (25626)
Plugin: measurement (26174)
Plugin: openstreetbugs (26174)
Plugin: openvisible (26174)
Plugin: proj4j (26174)
Plugin: reltoolbox (26174)
Plugin: reverter (26174)
Plugin: terracer (26174)
Plugin: undelete (26174)
Plugin: utilsplugin2 (26174)

	at org.openstreetmap.josm.gui.layer.WMSLayer.<init>(
	at org.openstreetmap.josm.gui.layer.ImageryLayer.create(
	at org.openstreetmap.josm.actions.AddImageryLayerAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.AbstractButton.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(
	at java.awt.AWTEventMulticaster.mouseReleased(
	at java.awt.Component.processMouseEvent(
	at javax.swing.JComponent.processMouseEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEventImpl(
	at java.awt.EventQueue.access$000(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (2)

comment:1 by skyper, 13 years ago

Component: CoreCore imagery
Keywords: add wms layer imagery added
Owner: changed from team to Upliner

comment:2 by jttt, 13 years ago

Resolution: fixed
Status: newclosed

In [4186/josm]:

Fix #6522 NPE when adding wms layer

Modify Ticket

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