Opened 10 years ago

Closed 9 years ago

#4822 closed defect (fixed)

Loading WMS layer from file throws exception

Reported by: wittelw@… Owned by: team
Priority: normal Milestone:
Component: Core imagery Version:
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Download a WMS layer and save it to disk.
  2. Restart JOSM and a gpx file and zoom to similar position
  3. Add a blank WMS layer and load the file.

Please let me know if you need more info. The file that was generated / loaded is 2.8 MB.

OS is Ubuntu Karmic (9.10) with kernel 2.6.31-20-generic on eeepc 901 with 1GB RAM

What is the expected result?
The WMS layer from disk would be displayed.

What happens instead?
Exception with option to send this bug. I was running josm-latest.jar when I saved the WMS layer but get same exception stack if I run josm-tested.jar.

Please provide any additional information below. Attach a screenshot if

Repository Root:
Build-Date: 2010-03-22 02:31:50
Last Changed Author: jttt
Revision: 3151
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Date: 2010-03-21 13:13:42 +0100 (Sun, 21 Mar 2010)
Last Changed Rev: 3151

Memory Usage: 34 MB / 63 MB (6 MB allocated, but free)
Java version: 1.6.0_15, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Linux

Plugin wmsplugin (Version: 20566)

	at wmsplugin.GeorefImage.paint(
	at wmsplugin.WMSLayer.downloadAndPaintVisible(
	at wmsplugin.WMSLayer.paint(
	at org.openstreetmap.josm.gui.MapView.paint(
	at javax.swing.JComponent.paintChildren(
	at javax.swing.JSplitPane.paintChildren(
	at javax.swing.JComponent.paint(
	at javax.swing.JComponent.paintToOffscreen(
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(
	at javax.swing.RepaintManager$PaintManager.paint(
	at javax.swing.BufferStrategyPaintManager.paint(
	at javax.swing.RepaintManager.paint(
	at javax.swing.JComponent._paintImmediately(
	at javax.swing.JComponent.paintImmediately(
	at javax.swing.RepaintManager.paintDirtyRegions(
	at javax.swing.RepaintManager.paintDirtyRegions(
	at javax.swing.RepaintManager.seqPaintDirtyRegions(
	at javax.swing.SystemEventQueueUtilities$
	at java.awt.event.InvocationEvent.dispatch(
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.Dialog$
	at java.awt.Dialog$
	at Method)
	at java.awt.Component.setVisible(
	at java.awt.Window.setVisible(
	at java.awt.Dialog.setVisible(
	at org.openstreetmap.josm.gui.HelpAwareOptionPane.showOptionDialog(
	at org.openstreetmap.josm.plugins.PluginHandler.confirmDeactivatingPluginAfterException(
	at org.openstreetmap.josm.plugins.PluginHandler.disablePluginAfterException(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at java.awt.EventDispatchThread.handleException(
	at java.awt.EventDispatchThread.processException(
	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 (6)

comment:1 Changed 10 years ago by stoecker

Component: CoreCore imagery

comment:2 Changed 9 years ago by bastiK

Ticket #5187 has been marked as a duplicate of this ticket.

comment:3 Changed 9 years ago by jttt

Resolution: fixed
Status: newclosed

This was probably fixed during wms plugin refactoring, the problematic line no longer exists.

comment:4 Changed 9 years ago by bastiK

Resolution: fixed
Status: closedreopened

True, but it broke elsewhere.

I'm at it...

comment:5 Changed 9 years ago by bastiK

fixed (In [o22854]).

comment:6 Changed 9 years ago by bastiK

Resolution: fixed
Status: reopenedclosed

Modify Ticket

Change Properties
Set your email in Preferences
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.