Modify

Opened 2 months ago

Closed 2 months ago

#24165 closed defect (duplicate)

Bing imagery error "Attribution is not loaded yet" AND raise exception error

Reported by: arcanma@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2025-02-03 20:59:54 +0100 (Mon, 03 Feb 2025)
Revision:19307
Build-Date:2025-02-04 02:30:32
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19307 it) Linux Mint 22.1
Memory Usage: 1072 MB / 8000 MB (525 MB allocated, but free)
Java version: 21.0.6+7-Ubuntu-124.04.1, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: :0.0 1920x1080x[Multi depth]@50Hz (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: it_IT.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: it_IT
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: X-Cinnamon
Java package: openjdk-21-jre:amd64-21.0.6+7-1~24.04.1
libcommons-compress-java: libcommons-compress-java:all-1.25.0-1
libcommons-logging-java: libcommons-logging-java:all-1.3.0-1ubuntu1
fonts-noto: fonts-noto:all-20201225-2
VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED]

Plugins:
+ ColorPlugin (31)
+ CustomizePublicTransportStop (36379)
+ FastDraw (36379)
+ HouseNumberTaggingTool (36379)
+ ImportImagePlugin (36379)
+ MakeParallel (v1.1.0)
+ Mapillary (1792)
+ OpeningHoursEditor (36379)
+ PicLayer (260)
+ apache-commons (36379)
+ apache-http (36379)
+ buildings_tools (36382)
+ conflation (261)
+ contourmerge (v0.2.2)
+ editgpx (36379)
+ ejml (36379)
+ ext_tools (36379)
+ geotools (36379)
+ highwayNameModification (0.0.9)
+ jackson (36379)
+ jaxb (36379)
+ jna (36379)
+ jogl (1.2.3)
+ jts (36379)
+ log4j (36379)
+ mapwithai (837)
+ measurement (36374)
+ merge-overlap (36379)
+ opendata (36379)
+ openqa (113)
+ pbf (36379)
+ pdfimport (36379)
+ photo_geotagging (36379)
+ photoadjust (36379)
+ pmtiles (36379)
+ print (36379)
+ pt_assistant (647)
+ public_transport (36379)
+ reltoolbox (36379)
+ reverter (36379)
+ rex (52)
+ turnlanes (${version.entry.commit.revision})
+ turnrestrictions (36379)
+ undelete (36379)
+ utilsplugin2 (36379)
+ waydownloader (36379)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&preset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&preset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Quick-stops&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1
+ <josm.pref>/cai_josm_preset-master/cai.xml
+ https://josm.openstreetmap.de/josmfile?page=Presets/Historical_Objects&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1
- <josm.pref>/styles/square.mapcss
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/NumberedWalkingNodeNetworks&zip=1

Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/ItalySpecific&zip=1

Last errors/warnings:
- 00094.699 W: java.io.IOException: Attribution is not loaded yet
- 00094.699 W: java.io.IOException: Attribution is not loaded yet
- 00094.700 W: java.io.IOException: Attribution is not loaded yet
- 00094.700 W: java.io.IOException: Attribution is not loaded yet
- 00094.700 W: java.io.IOException: Attribution is not loaded yet
- 00094.700 W: java.io.IOException: Attribution is not loaded yet
- 00094.701 W: java.io.IOException: Attribution is not loaded yet
- 00094.701 W: java.io.IOException: Attribution is not loaded yet
- 00094.702 W: java.io.IOException: Attribution is not loaded yet
- 00094.915 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.toString()" because "replacement" is null



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: bing-attribution-loader-timer (214)
java.lang.NullPointerException: Cannot invoke "java.lang.CharSequence.toString()" because "replacement" is null
	at java.base/java.lang.String.replace(String.java:3086)
	at org.openstreetmap.gui.jmapviewer.tilesources.BingAerialTileSource.getAttributionUrl(BingAerialTileSource.java:134)
	at org.openstreetmap.josm.data.imagery.CachedAttributionBingAerialTileSource.access$100(CachedAttributionBingAerialTileSource.java:37)
	at org.openstreetmap.josm.data.imagery.CachedAttributionBingAerialTileSource$BingAttributionData.isOffline(CachedAttributionBingAerialTileSource.java:82)
	at org.openstreetmap.josm.io.CacheCustomContent.needsUpdate(CacheCustomContent.java:90)
	at org.openstreetmap.josm.io.CacheCustomContent.updateIfRequiredString(CacheCustomContent.java:120)
	at org.openstreetmap.josm.data.imagery.CachedAttributionBingAerialTileSource$AttributionTimerTask.run(CachedAttributionBingAerialTileSource.java:142)
	at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
	at java.base/java.util.TimerThread.run(Timer.java:516)

Attachments (0)

Change History (1)

comment:1 by stoecker, 2 months ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #24116.
Also #23913 for the current license issues.

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.