Modify

Ticket #3359 (closed defect: worksforme)

Opened 2 years ago

Last modified 2 years ago

Crash-report

Reported by: bergenholtz@… Owned by: team
Priority: normal 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

Change History

comment:1 Changed 2 years ago by plaicy

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 Changed 2 years ago by bergenholtz@…

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 Changed 2 years ago by stoecker

  • Status changed from new to closed
  • Resolution set to worksforme
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.