Modify

Opened 16 years ago

Closed 16 years ago

#3359 closed defect (worksforme)

Crash-report

Reported by: trekki <bergenholtz@…> Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 2005
Node Kind: directory
Last Changed Author: Gubaer
Last Changed Rev: 2005
Last Changed Date: 2009-08-29 15:51:00 +0200 (Sat, 29 Aug 2009)

Memory Usage: 635 MB / 1749 MB (239 MB allocated, but free)
Java version: 1.6.0_14

Plugins: wmsplugin
Plugin wmsplugin Version: 17278

java.lang.ArrayStoreException

at java.util.ArrayList.toArray(ArrayList.java:306)
at org.openstreetmap.josm.data.osm.Way.getNodes(Way.java:41)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegments(NavigatableComponent.java:334)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:383)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:396)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWay(NavigatableComponent.java:403)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearest(NavigatableComponent.java:424)
at org.openstreetmap.josm.gui.MapStatus$Collector.run(MapStatus.java:161)
at java.lang.Thread.run(Thread.java:619)

Attachments (0)

Change History (3)

comment:1 by plaicy, 16 years ago

Hello bergenholtz,

could describe what you have done to produce this bug? May you can even write a procedure to reproduce it?

Hello others,

line 41 Way.java (r2005) is line 34 in r2017:

return new CopyList<Node>(nodes.toArray(new Node[nodes.size()]));

I would understand this error if there is an element in nodes which is not of type Node. Then the error is difficult to catch because could be everywhere (==modifications of nodes). I hope this error is catched if all Warnings of java compiler are removed.

comment:2 by trekki <bergenholtz@…>, 16 years ago

sorry, i am not able to reproduce this error. It happend when i moved the edit view with holding the right mouse button.

comment:3 by stoecker, 16 years ago

Resolution: worksforme
Status: newclosed

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.