Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add upstream patch to fix NPE.
· 958a5212
Bas Couwenberg
authored
Jul 08, 2018
See:
https://josm.openstreetmap.de/ticket/16474
958a5212
Set distribution to unstable.
· c8e735d2
Bas Couwenberg
authored
Jul 08, 2018
c8e735d2
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
c8e735d2
josm (0.0.svn13996+dfsg-3)
UNRELEASED
; urgency=medium
josm (0.0.svn13996+dfsg-3)
unstable
; urgency=medium
* Bump Standards-Version to 4.1.5, no changes.
* Add upstream patch to fix NPE.
See: https://josm.openstreetmap.de/ticket/16474
-- Bas Couwenberg <sebastic@debian.org>
Thu
, 0
5
Jul 2018 1
0:14:58
+0200
-- Bas Couwenberg <sebastic@debian.org>
Sun
, 0
8
Jul 2018 1
6:43:06
+0200
josm (0.0.svn13996+dfsg-2) unstable; urgency=medium
...
...
debian/patches/series
View file @
c8e735d2
...
...
@@ -7,3 +7,4 @@
07-use_system_fonts.patch
08-use_noto_font.patch
09-no-java-8.patch
svn-r14000_fix-16462-NPE.patch
debian/patches/svn-r14000_fix-16462-NPE.patch
0 → 100644
View file @
c8e735d2
Description: fix #16462 - NPE
Author: Don-vip
Origin: https://josm.openstreetmap.de/changeset/14000/josm
Bug: https://josm.openstreetmap.de/ticket/16462
https://josm.openstreetmap.de/ticket/16474
--- a/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/MultipolygonCache.java
+++ b/src/org/openstreetmap/josm/data/osm/visitor/paint/relations/MultipolygonCache.java
@@ -80,7 +80,7 @@
public final class MultipolygonCache imp
*/
public Multipolygon get(Relation r, boolean forceRefresh) {
Multipolygon multipolygon = null;
- if (r != null) {
+ if (r != null && r.getDataSet() != null) {
Map<Relation, Multipolygon> map2 = cache.get(r.getDataSet());
if (map2 == null) {
map2 = new ConcurrentHashMap<>();