Modify

Opened 12 years ago

Closed 12 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 simon04, 12 years ago

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

comment:2 by Cobra, 12 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]

comment:3 by simon04, 12 years ago

Please try to remove the file .josm/cache/bing.attribution.xml from your JOSM dir.

in reply to:  3 comment:4 by lonvia, 12 years ago

Replying to simon04:

Please try to remove the file .josm/cache/bing.attribution.xml from your JOSM dir.

That helped. It works fine after removing the file (tested with r4842).

comment:5 by stoecker, 12 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.