Package: jmapviewer Version: 1.03+dfsg-1 Severity: normal Tags: patch
Reference to #74107 quotation from the error-description of the referenced bug: "When trying to load Bing Sat images with "Imagery > Bing Sat" menu, JOSM pops up an error dialog saying "Input == null!". There is no other message on the terminal used to invoke it when the error occurs." The bug ist not located in the josm-package but in the jmapviewer package. The file "src/org/openstreetmap/gui/jmapviewer/images/bing_maps.png" is removed from the upstrem version. I suggest licence issues. This file is mandatory for using the bing-maps layer. My solution to enable the bing-layer again: Index: jmapviewer-1.03+dfsg/src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java =================================================================== --- jmapviewer-1.03+dfsg.orig/src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java +++ jmapviewer-1.03+dfsg/src/org/openstreetmap/gui/jmapviewer/tilesources/BingAerialTileSource.java @@ -173,11 +173,7 @@ public class BingAerialTileSource extend @Override public Image getAttributionImage() { - try { - return ImageIO.read(JMapViewer.class.getResourceAsStream("images/bing_maps.png")); - } catch (IOException e) { return null; - } } After installation of the new build josm package the bing-layer ist displayed. Of course the bing-logo designated as an overlay ist missing. Maybe an conflict with the usage terms from Microsoft? https://blog.openstreetmap.org/2010/11/30/microsoft-imagery-details/ -- System Information: Debian Release: jessie/sid APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.12-1-amd64 (SMP w/6 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages jmapviewer depends on: ii default-jre 2:1.7-52 jmapviewer recommends no packages. jmapviewer suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org