Opened 14 years ago
Closed 12 years ago
#6632 closed defect (fixed)
NPE in cadastre-fr plugin
Reported by: | Don-vip | Owned by: | pieren |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin cadastre-fr | Version: | latest |
Keywords: | template_report | Cc: |
Description (last modified by ) ¶
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-07-21 01:31:28 Last Changed Author: bastiK Revision: 4261 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-07-20 21:01:06 +0200 (Wed, 20 Jul 2011) Last Changed Rev: 4261 Identification: JOSM/1.5 (4261 fr) Memory Usage: 117 MB / 3729 MB (23 MB allocated, but free) Java version: 1.6.0_26, Sun Microsystems Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Windows 7 Dataset consistency test: No problems found Plugin: cadastre-fr (26382) Plugin: epci-fr (26282) Plugin: licensechange (26377) Plugin: restart (26254) java.lang.NullPointerException at cadastre_fr.GeorefImage.updatePixelPer(GeorefImage.java:248) at cadastre_fr.GeorefImage.<init>(GeorefImage.java:62) at cadastre_fr.CadastreGrabber.grab(CadastreGrabber.java:38) at cadastre_fr.GrabThread.run(GrabThread.java:92)
Change History (7)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in CadastrePlugin.java [o26510] : the plugin checks now that at least two WMS layers are enabled (this is the minimum required by the cadastre WMS)
by , 14 years ago
Attachment: | Capture d’écran 2011-09-07 à 18.15.16.png added |
---|
by , 14 years ago
Attachment: | Capture d’écran 2011-09-07 à 18.22.48.png added |
---|
comment:3 by , 14 years ago
At every restart of JOSM or by closing the preferences I will get this alert message :
"Please enable at least two WMS layers in the cadastre-fr plugin configuration.
Layers 'Building' and 'Parcel' added by default.
I removed the plug-in waiting for an update cos' I am bored to get this alerte every time i'm doing something. Plus I already have 2 WMS layers selected.
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2011-09-05 01:31:49 Last Changed Author: bastiK Revision: 4399 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2011-09-04 22:13:51 +0200 (Sun, 04 Sep 2011) Last Changed Rev: 4399 Identification: JOSM/1.5 (4399 fr) Memory Usage: 108 MB / 507 MB (39 MB allocated, but free) Java version: 1.6.0_26, Apple Inc., Java HotSpot(TM) 64-Bit Server VM Operating system: Mac OS X
comment:4 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:5 by , 12 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
With some peer review, we identified the issue : the cadastre WMS provides 8 or 9 layers (buildings, boundaries, parcels, etc). Each can be enabled/disabled for download in the plugin configuration. But here, all layers have been disable which has the effect that the WMS returned an empty image. I will enhance the plugin to avoid such mistake in the plugin preferences.