Modify

Opened 12 years ago

Closed 12 years ago

#8305 closed defect (fixed)

Validator bugs with new addr:* tests

Reported by: cquest Owned by: Don-vip
Priority: normal Milestone:
Component: Core validator Version: latest
Keywords: Cc:

Description (last modified by Don-vip)

When trying to validate some data including addr:* and associatedStreet relations, the validator shows an error message and stops.

Here is the debug info:

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-12-30 02:31:41
Last Changed Author: Don-vip
Revision: 5646
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-12-29 16:07:47 +0100 (Sat, 29 Dec 2012)
Last Changed Rev: 5646

Identification: JOSM/1.5 (5646 fr)
Memory Usage: 140 MB / 1495 MB (42 MB allocated, but free)
Java version: 1.6.0_37, Apple Inc., Java HotSpot(TM) 64-Bit Server VM
Operating system: Mac OS X
Dataset consistency test: No problems found

Plugin: AddrInterpolation (28807)
Plugin: DirectUpload (28807)
Plugin: FixAddresses (28807)
Plugin: ImportImagePlugin (29028)
Plugin: OpeningHoursEditor (28656)
Plugin: PicLayer (28807)
Plugin: RoadSigns (28656)
Plugin: SimplifyArea (28807)
Plugin: buildings_tools (28891)
Plugin: cadastre-fr (28887)
Plugin: conflation (0.1.6)
Plugin: continuosDownload (28565)
Plugin: contourmerge (1003)
Plugin: dataimport (28656)
Plugin: download_along (28807)
Plugin: geotools (29116)
Plugin: imageryadjust (28807)
Plugin: importvec (28891)
Plugin: irsrectify (28656)
Plugin: jts (28945)
Plugin: log4j (28968)
Plugin: mapdust (28807)
Plugin: merge-overlap (28807)
Plugin: multipoly-convert (28807)
Plugin: opendata (29115)
Plugin: openstreetbugs (28807)
Plugin: openvisible (28807)
Plugin: print (28807)
Plugin: public_transport (28807)
Plugin: reltoolbox (29045)
Plugin: reverter (28820)
Plugin: tag2link (28807)
Plugin: turnlanes (28807)
Plugin: turnrestrictions (28807)
Plugin: undelete (28807)
Plugin: utilsplugin2 (29124)
Plugin: walkingpapers (28807)
Plugin: waydownloader (28492)
Plugin: wayselector (28807)
Plugin: wikipedia (29068)

java.lang.NullPointerException
	at org.openstreetmap.josm.tools.Geometry.closestPointToSegment(Geometry.java:330)
	at org.openstreetmap.josm.data.validation.tests.Addresses.checkDistance(Addresses.java:179)
	at org.openstreetmap.josm.data.validation.tests.Addresses.visit(Addresses.java:161)
	at org.openstreetmap.josm.data.osm.Relation.visit(Relation.java:166)
	at org.openstreetmap.josm.data.validation.Test.visit(Test.java:144)
	at org.openstreetmap.josm.actions.ValidateAction$ValidationTask.realRun(ValidateAction.java:170)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:82)
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:145)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:680)

Attachments (0)

Change History (3)

comment:1 by Don-vip, 12 years ago

Owner: set to Don-vip
Status: newassigned

Your .osm file please :-)

comment:2 by Don-vip, 12 years ago

Description: modified (diff)

comment:3 by Don-vip, 12 years ago

Resolution: fixed
Status: assignedclosed

In 5647/josm:

fix #8305 - Validator: don't check distance for incomplete house members of associatedStreet relations

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
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.