Modify ↓
Opened 3 months ago
Closed 3 months ago
#24120 closed defect (duplicate)
NPE when adding Bing from Imagery menu
Reported by: | BathoryPeter | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | template_report | Cc: |
Description
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 hu) Linux Ubuntu 24.10 Memory Usage: 432 MB / 17920 MB (225 MB allocated, but free) Java version: 21.0.6+7-Ubuntu-124.10.1, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: hu_HU.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: hu_HU Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: ubuntu:GNOME Java package: openjdk-21-jre:amd64-21.0.6+7-1~24.10.1 Java ATK Wrapper package: libatk-wrapper-java:all-0.40.0-3build2 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, -XX:MaxRAMPercentage=75.0, --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: + FastDraw (36379) + ImproveWay (28) + Mapillary (1792) + OpeningHoursEditor (36379) + PicLayer (259) + RoadSigns (36379) + SimplifyArea (36379) + apache-commons (36379) + apache-http (36379) + buildings_tools (36382) + contourmerge (v0.2.2) + imagery-xml-bounds (36379) + jna (36379) + josm_magic_wand (3.0.0) + jts (36379) + libphonenumber (8.13.54) + measurement (36374) + phonenumber (1.1.1) + photo_geotagging (36379) + photoadjust (36379) + reltoolbox (36379) + reverter (36379) + tageditor (36379) + terracer (36379) + turnlanes-tagging (1736422495) + turnrestrictions (36379) + utilsplugin2 (36379) + webp-v0.0.4 (v0.0.4) + wikipedia (428) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/Turistautkapcsolat&zip=1 + https://raw.githubusercontent.com/OpenNauticalChart/josm/master/INT-1-preset.xml + https://www.openrailwaymap.org/josm-presets/de.zip + https://www.openrailwaymap.org/josm-presets/de-signals-eso.zip + https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/HU.zip Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/HU-HighlightHikingTrailSigns&zip=1 - https://www.openrailwaymap.org/styles/signals.zip - https://www.openrailwaymap.org/styles/standard.zip - https://www.openrailwaymap.org/styles/josm-additional.zip - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Potlatch2&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/BesideTheRoad_Speed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1 - https://raw.githubusercontent.com/species/josm-preset-traffic_sign_direction/master/direction.mapcss - https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OR.zip - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 Validator rules: + https://josm.openstreetmap.de/josmfile?page=Rules/HungarySpecific&zip=1 Last errors/warnings: - 00020.422 W: java.io.IOException: Attribution is not loaded yet - 00020.423 W: java.io.IOException: Attribution is not loaded yet - 00020.423 W: java.io.IOException: Attribution is not loaded yet - 00020.424 W: java.io.IOException: Attribution is not loaded yet - 00020.425 W: java.io.IOException: Attribution is not loaded yet - 00020.426 W: java.io.IOException: Attribution is not loaded yet - 00020.427 W: java.io.IOException: Attribution is not loaded yet - 00020.428 W: java.io.IOException: Attribution is not loaded yet - 00020.429 W: java.io.IOException: Attribution is not loaded yet - 00020.759 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 (85) 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)
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #24116.