[josm-dev] [OSM-newbies] Saving WMS in JOSM

Alan Mintz Alan_Mintz+OSM at Earthlink.Net
Sat Apr 24 04:08:56 BST 2010


At 2010-04-23 06:21, Donald Campbell II wrote:
>... "Save WMS Layer to file".  Later I'm unable to load it. ...
>So is there a bug here and it's busted for everyone or am I just doing it 
>wrong?  :)

Me too. Are we missing something or is this broken (ever since I can remember)?

(Note Cc to josm-dev. Is this the right thing to do? I looked for an open 
ticket first and didn't find one.)

The dump looks like:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2010-04-20 01:31:24
Last Changed Author: ce
Revision: 3196
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2010-04-19 21:06:13 +0200 (Mon, 19 Apr 2010)
Last Changed Rev: 3196

Memory Usage: 762 MB / 762 MB (345 MB allocated, but free)
Java version: 1.6.0_17, Sun Microsystems Inc., Java HotSpot(TM) Client VM
Operating system: Windows XP

Dataset consistency test:
No problems found


Plugins: 
openstreetbugs,PicLayer,tageditor,michigan_left,validator,osmarender,graphview,tagging-preset-tester,ghost,photo_geotagging,turnrestrictions,multipoly,measurement,editgpx,openvisible,Create_grid_of_ways,wayselector,public_transport,remotecontrol,buildings_tools,lakewalker
Plugin openstreetbugs (Version: 20696)
Plugin PicLayer (Version: 20217)
Plugin tageditor (Version: 20530)
Plugin michigan_left (Version: 20663)
Plugin validator (Version: 20799)
Plugin slippymap (Version: 19887)
Plugin graphview (Version: 19441)
Plugin osmarender (Version: 19419)
Plugin ghost (Version: 2)
Plugin photo_geotagging (Version: 19873)
Plugin turnrestrictions (Version: 20745)
Plugin measurement (Version: 19681)
Plugin multipoly (Version: 19456)
Plugin wmsplugin (Version: 20566)
Plugin editgpx (Version: 19683)
Plugin Create_grid_of_ways (Version: 19428)
Plugin openvisible (Version: 20067)
Plugin wayselector (Version: 20482)
Plugin public_transport (Version: 20877)
Plugin remotecontrol (Version: 19946)
Plugin buildings_tools (Version: 20269)
Plugin lakewalker (Version: 19624)

java.lang.NullPointerException
         at wmsplugin.GeorefImage.paint(GeorefImage.java:63)
         at wmsplugin.WMSLayer.downloadAndPaintVisible(WMSLayer.java:246)
         at wmsplugin.WMSLayer.paint(WMSLayer.java:194)
         at org.openstreetmap.josm.gui.MapView.paint(MapView.java:533)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JSplitPane.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at javax.swing.JLayeredPane.paint(Unknown Source)
         at javax.swing.JComponent.paintChildren(Unknown Source)
         at javax.swing.JComponent.paintToOffscreen(Unknown Source)
         at 
javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
         at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
         at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
         at javax.swing.RepaintManager.paint(Unknown Source)
         at javax.swing.JComponent.paint(Unknown Source)
         at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
         at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
         at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
         at java.awt.Container.paint(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
         at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
         at 
javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(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.pumpEventsForFilter(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
         at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
         at javax.swing.JOptionPane.showMessageDialog(Unknown Source)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:157)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handle(BugReportExceptionHandler.java:41)
         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.awt.EventDispatchThread.handleException(Unknown Source)
         at java.awt.EventDispatchThread.processException(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:67)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handle(BugReportExceptionHandler.java:41)
         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.awt.EventDispatchThread.handleException(Unknown Source)
         at java.awt.EventDispatchThread.processException(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:67)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handle(BugReportExceptionHandler.java:41)
         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.awt.EventDispatchThread.handleException(Unknown Source)
         at java.awt.EventDispatchThread.processException(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handleException(BugReportExceptionHandler.java:67)
         at 
org.openstreetmap.josm.tools.BugReportExceptionHandler.handle(BugReportExceptionHandler.java:41)
         at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at java.awt.EventDispatchThread.handleException(Unknown Source)
         at java.awt.EventDispatchThread.processException(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.Dialog$1.run(Unknown Source)
         at java.awt.Dialog$3.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.Dialog.show(Unknown Source)
         at java.awt.Component.show(Unknown Source)
         at java.awt.Component.setVisible(Unknown Source)
         at java.awt.Window.setVisible(Unknown Source)
         at java.awt.Dialog.setVisible(Unknown Source)
         at org.openstreetmap.josm.Main.saveUnsavedModifications(Main.java:470)
         at 
org.openstreetmap.josm.gui.MainApplication$1.windowClosing(MainApplication.java:56)
         at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
         at java.awt.Window.processWindowEvent(Unknown Source)
         at javax.swing.JFrame.processWindowEvent(Unknown Source)
         at java.awt.Window.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(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)

--
Alan Mintz <Alan_Mintz+OSM at Earthlink.net>





More information about the josm-dev mailing list