Opened 13 years ago
Closed 13 years ago
#7300 closed defect (fixed)
Bing aerial images fail to load
Reported by: | lonvia | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | latest |
Keywords: | Cc: |
Description
Loading Bing images are not loading in the latest version. The following error message appears:
[Fatal Error] :1:1: Content is not allowed in prolog.
Could not parse Bing aerials attribution metadata.
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:253)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:288)
at org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.parseAttributionText(BingAerialTileSource.java:84)
at org.openstreetmap.josm.gui.layer.TMSLayer$CachedAttributionBingAerialTileSource.access$100(TMSLayer.java:227)
at org.openstreetmap.josm.gui.layer.TMSLayer$CachedAttributionBingAerialTileSource$1.call(TMSLayer.java:256)
at org.openstreetmap.josm.gui.layer.TMSLayer$CachedAttributionBingAerialTileSource$1.call(TMSLayer.java:247)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
In version 4818 it is still working fine.
Attachments (0)
Change History (5)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
commit r4825 causes this regression.
r4824 works fine, r4825 is broken and shows this error:
[Fatal Error] :1:1: Content is not allowed in prolog. Could not parse Bing aerials attribution metadata. org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284) at org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.parseAttributionText(BingAerialTileSource.java:84) at org.openstreetmap.josm.gui.layer.TMSLayer$CachedAttributionBingAerialTileSource.access$100(TMSLayer.java:227) at org.openstreetmap.josm.gui.layer.TMSLayer$CachedAttributionBingAerialTileSource$1.call(TMSLayer.java:256) at org.openstreetmap.josm.gui.layer.TMSLayer$CachedAttributionBingAerialTileSource$1.call(TMSLayer.java:247) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) failed loading 9/267/178 null [repeats for every tile]
follow-up: 4 comment:3 by , 13 years ago
Please try to remove the file .josm/cache/bing.attribution.xml
from your JOSM dir.
comment:4 by , 13 years ago
comment:5 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Which version are you using? There have been a few changes in the last few days …