Opened 14 years ago
Closed 14 years ago
#7501 closed defect (invalid)
NPE when conflating 2 ways
| Reported by: | miken | Owned by: | miken |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin conflation | Version: | |
| Keywords: | conflation | Cc: |
Description
For External plugin Conflation (not on component menu)
NPE when conflating 2 ways. Action:
- Copy way from bottom layer to active data layer
- Select and freeze reference way
- Select and freeze subject way
- Conflate
The following output may be relevant:
[{Way id=-192086 version=0 MVT nodes=[{Node id=-192095 version=0 V lat=41.811627
,lon=-89.968231}, {Node id=-192096 version=0 V lat=41.811961,lon=-89.969235}, {N
ode id=-192094 version=0 V lat=41.812049,lon=-89.969513}, {Node id=-192091 versi
on=0 V lat=41.812455,lon=-89.970802}, {Node id=-192092 version=0 V lat=41.812513
,lon=-89.97098}, {Node id=-192093 version=0 V lat=41.812687,lon=-89.971516}, {No
de id=-192087 version=0 V lat=41.812746,lon=-89.971695}, {Node id=-192088 versio
n=0 V lat=41.812776,lon=-89.971795}, {Node id=-192089 version=0 V lat=41.812869,
lon=-89.972098}, {Node id=-192090 version=0 V lat=41.8129,lon=-89.972199}]}]
java.lang.NullPointerException
at org.openstreetmap.josm.plugins.conflation.ConflationToggleDialog$Conf
lationAction.actionPerformed(ConflationToggleDialog.java:208)
Also - saw an error when updating plugins. This may be a 1-time error caused by an upgrade migration:
Could not load plugin utilsplugin2 because the plugin main class 'utilsplugin2.UtilsPlugin2 was not found
Attachments (0)
Change History (3)
comment:1 by , 14 years ago
| Component: | unspecified → Plugin conflation |
|---|---|
| Owner: | changed from to |
comment:2 by , 14 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
comment:3 by , 14 years ago
| Resolution: | → invalid |
|---|---|
| Status: | needinfo → closed |
Most code has changed, so marking this as invalid.



This plugin is certainly experimental, so there's likely to be bugs like this. I'm in the process of rewriting large portions of this to use the Java Conflation Suite (JCS), which should provide much better functionality (see #7515 for the first step of this).
As to the specific bug report, I can't reproduce it with arbitrary layers, so I'd need example file(s) and a detailed description to thoroughly check this out. Are you actually using this plugin productively, or just trying it out? If the latter, I'll probably close this considering the rewrite. If you actually find this useful already, I'll try and get the bug fixed.