Opened 17 years ago
Closed 17 years ago
#1422 closed defect (fixed)
JOSM dies on attempt to download data via Slippy Map chooser
Reported by: | mackerski | Owned by: | framm |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Plugin | Version: | latest |
Keywords: | Cc: |
Description
Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 780
Node Kind: directory
Last Changed Author: ulfl
Last Changed Rev: 780
Last Changed Date: 2008-08-14 09:57:40 +0200 (Thu, 14 Aug 2008)
java.lang.NoSuchMethodError: java.lang.String.getBytes(Ljava/nio/charset/Charset;)[B
at org.openstreetmap.gui.jmapviewer.OsmFileCacheTileLoader$FileLoadJob.saveETagToFile(OsmFileCacheTileLoader.java:304)
at org.openstreetmap.gui.jmapviewer.OsmFileCacheTileLoader$FileLoadJob.loadorUpdateTile(OsmFileCacheTileLoader.java:154)
at org.openstreetmap.gui.jmapviewer.OsmFileCacheTileLoader$FileLoadJob.run(OsmFileCacheTileLoader.java:107)
at org.openstreetmap.gui.jmapviewer.JobDispatcher$JobThread.executeJobs(JobDispatcher.java:126)
at org.openstreetmap.gui.jmapviewer.JobDispatcher$JobThread.run(JobDispatcher.java:100)
Attachments (0)
Change History (6)
comment:1 by , 17 years ago
Component: | Plugin → Core |
---|---|
Priority: | minor → major |
Summary: | JOSM dies on startup after measurement and remote control plugins added → JOSM dies on attempt to download data |
comment:2 by , 17 years ago
Component: | Core → Plugin |
---|---|
Summary: | JOSM dies on attempt to download data → JOSM dies on attempt to download data via Slippy Map chooser |
Traced to Slippy Map chooser plugin. In the presence of josm-latest and the validator, failure occurs on an attempt to switch to the slippy map chooser tab at download.
comment:3 by , 17 years ago
Hmm, can't reproduce. Could you try to go deeper and find the real reason?
E.g. remove preferences file and try again, ...
comment:4 by , 17 years ago
Have reproduced as follows:
- Move .josm directory aside.
- Add plugins back in a couple at a time
- With very few added back (sorry, forgot exactly which), slippy chooser fails as described.
Place search fails too, BTW, but in this case, I have to submit a search.
I'll try again tomorrow with -latest and only the slippy map plugin. Platform is MacOS FWIW.
comment:5 by , 17 years ago
Sorry, looks like I used a method that is only available in Java6.
I just checked in the fix into SVN.
Jan Peter Stotz
First report attributed error to new plugins - but removing these does not help