Modify

Opened 13 years ago

Closed 13 years ago

#7912 closed defect (duplicate)

Validator crashes on 0 node highway

Reported by: Gnonthgol Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc:

Description

Steps to reproduce:

  1. Start out with a clean JOSM instance version 5356 and 5369 are confirmed to have this problem.
  2. Open a .osm file that includes a way with 0 nodes and a "highway" tag.
  3. 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)

0way.osm (200 bytes ) - added by Gnonthgol 13 years ago.
Minimal test file that trigers the bug

Download all attachments as: .zip

Change History (2)

by Gnonthgol, 13 years ago

Attachment: 0way.osm added

Minimal test file that trigers the bug

comment:1 by mrwojo, 13 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #7465.
Thanks for the test file. See #7465.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.