Modify

Opened 9 years ago

Closed 9 years ago

#6581 closed defect (fixed)

JOSM can't parse OSM data

Reported by: siberiano Owned by: team
Priority: blocker Milestone:
Component: Core Version: tested
Keywords: Cc:

Description

Here's what happens when I download an area that worked perfectly in the previous stable revision 4002. GPS tracks are loaded without issues.

When I change the area and avoid some element (relation I guess), works well.

GET http://api.openstreetmap.org/api/0.6/map?bbox=83.09371949999999,54.884507,83.29216,54.965001699999995
java.util.concurrent.ExecutionException: java.lang.StackOverflowError

at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.openstreetmap.josm.actions.downloadtasks.PostDownloadHandler.run(PostDownloadHandler.java:66)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)

Caused by: java.lang.StackOverflowError

at org.openstreetmap.josm.data.osm.OsmPrimitive.hashCode(OsmPrimitive.java:1100)
at java.util.HashMap.getEntry(HashMap.java:361)
at java.util.HashMap.containsKey(HashMap.java:352)
at java.util.HashSet.contains(HashSet.java:201)
at org.openstreetmap.josm.data.osm.Relation.calculateBBox(Relation.java:432)
at org.openstreetmap.josm.data.osm.Relation.calculateBBox(Relation.java:442)
at org.openstreetmap.josm.data.osm.Relation.calculateBBox(Relation.java:442)
at org.openstreetmap.josm.data.osm.Relation.updatePosition(Relation.java:457)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:870)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)
at org.openstreetmap.josm.data.osm.DataSet.reindexRelation(DataSet.java:873)

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by jttt

Resolution: fixed
Status: newclosed

In [4229/josm]:

Fix #6581 JOSM can't parse OSM data

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.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.