Modify ↓
Opened 10 months ago
Closed 10 months ago
#7912 closed defect (duplicate)
Validator crashes on 0 node highway
| Reported by: | Gnonthgol | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Component: | Core |
| Version: | Keywords: | ||
| Cc: |
Description
Steps to reproduce:
- Start out with a clean JOSM instance version 5356 and 5369 are confirmed to have this problem.
- Open a .osm file that includes a way with 0 nodes and a "highway" tag.
- Click the "Validate" button in the validation window or try to upload the file.
Expected result:
Validator should give a strong and clear message that there is a problem and upload should be haulted.
Actual result:
JOSM throws the following exception and stops the upload without any clear error messages.
java.lang.NullPointerException at org.openstreetmap.josm.data.validation.tests.WayConnectedToArea.visit(WayConnectedToArea.java:29) ...
Attachments (1)
Change History (2)
Changed 10 months ago by Gnonthgol
comment:1 Changed 10 months ago by mrwojo
- Resolution set to duplicate
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



Minimal test file that trigers the bug