Opened 16 months ago
Closed 16 months ago
#7300 closed defect (fixed)
Bing aerial images fail to load
| Reported by: | lonvia@… | Owned by: | team |
|---|---|---|---|
| Priority: | normal | 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 Changed 16 months ago by simon04
comment:2 Changed 16 months ago by Cobra
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]
comment:3 follow-up: ↓ 4 Changed 16 months ago by simon04
Please try to remove the file .josm/cache/bing.attribution.xml from your JOSM dir.
comment:4 in reply to: ↑ 3 Changed 16 months ago by lonvia@…
comment:5 Changed 16 months ago by stoecker
- Resolution set to fixed
- Status changed from new to closed



Which version are you using? There have been a few changes in the last few days …