Modify

Opened 10 months ago

Last modified 6 months ago

#7885 new defect

IndexOutOfBoundsException when editing a relation member's role

Reported by: nzara Owned by: team
Priority: normal Component: Core
Version: Keywords: template_report
Cc: Jolter

Description

What steps will reproduce the problem?

  1. Select some ways
  2. Choose: Presets:Relation:Polygon
  3. Click 'Add all Objects selected in the current dataset after the last element'

What is the expected result?

What happens instead?
Bug message opens
Please provide any additional information below. Attach a screenshot if
possible.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2012-07-03 01:31:22
Last Changed Author: simon04
Revision: 5315
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2012-07-02 14:51:19 +0200 (Mon, 02 Jul 2012)
Last Changed Rev: 5315

Identification: JOSM/1.5 (5315 en)
Memory Usage: 427 MB / 455 MB (120 MB allocated, but free)
Java version: 1.7.0_05, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Operating system: Windows 7
Dataset consistency test: No problems found

Plugin: DirectDownload (28412)
Plugin: DirectUpload (28412)
Plugin: ImportImagePlugin (28412)
Plugin: InfoMode (27981)
Plugin: PicLayer (27883)
Plugin: alignways (28412)
Plugin: buildings_tools (28412)
Plugin: editgpx (28412)
Plugin: imageryadjust (28412)
Plugin: measurement (28412)
Plugin: multipoly-convert (28412)
Plugin: pdfimport (28448)
Plugin: proj4j (28412)
Plugin: public_transport (28412)
Plugin: reltoolbox (28412)
Plugin: tag2link (28412)
Plugin: tageditor (28412)
Plugin: utilsplugin2 (28412)
Plugin: wikipedia (28488)

java.lang.IndexOutOfBoundsException: Index: 39, Size: 39
	at java.util.ArrayList.rangeCheck(Unknown Source)
	at java.util.ArrayList.get(Unknown Source)
	at org.openstreetmap.josm.gui.dialogs.relation.MemberTableModel.updateRole(MemberTableModel.java:441)
	at org.openstreetmap.josm.gui.dialogs.relation.GenericRelationEditor$SetRoleAction.actionPerformed(GenericRelationEditor.java:1537)
	at javax.swing.AbstractButton.fireActionPerform

Attachments (0)

Change History (7)

comment:1 Changed 10 months ago by Don-vip

  • Owner changed from team to nzara
  • Status changed from new to needinfo

Works for me. Is it always reproducible ? If yes, can you attach your .osm file, please ?

comment:2 Changed 10 months ago by Don-vip

  • Summary changed from Bug at create new relation to IndexOutOfBoundsException when creating a new relation

comment:3 Changed 9 months ago by stoecker

  • Resolution set to needinfo
  • Status changed from needinfo to closed

comment:4 Changed 6 months ago by Don-vip

  • Resolution needinfo deleted
  • Status changed from closed to reopened

comment:5 Changed 6 months ago by Don-vip

Ticket #8267 has been marked as a duplicate of this ticket.

comment:6 Changed 6 months ago by Don-vip

  • Cc Jolter added
  • Summary changed from IndexOutOfBoundsException when creating a new relation to IndexOutOfBoundsException when editing a relation member's role

More info in #8267 description.

comment:7 Changed 6 months ago by Don-vip

  • Owner changed from nzara to team
  • Status changed from reopened to new

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team. Next status will be 'new'.
Next status will be 'needinfo'.The owner will change to nzara
as duplicate The resolution will be set to duplicate. Next status will be 'closed'.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous. Next status will be 'assigned'.
Author


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

 
Note: See TracTickets for help on using tickets.