Modify ↓
Opened 12 years ago
Closed 10 years ago
#7885 closed defect (fixed)
IndexOutOfBoundsException when editing a relation member's role
Reported by: | nzara | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.09 |
Component: | Core | Version: | |
Keywords: | template_report | Cc: | Jolter, CaptainCrunch |
Description (last modified by )
What steps will reproduce the problem?
- Select some ways
- Choose: Presets:Relation:Polygon
- Click 'Add all Objects selected in the current dataset after the last element'
What is the expected result?
What happens instead?
Bug message opens
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 (14)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 12 years ago
Summary: | Bug at create new relation → IndexOutOfBoundsException when creating a new relation |
---|
comment:3 by , 12 years ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
comment:4 by , 12 years ago
Resolution: | needinfo |
---|---|
Status: | closed → reopened |
comment:6 by , 12 years ago
Cc: | added |
---|---|
Summary: | IndexOutOfBoundsException when creating a new relation → IndexOutOfBoundsException when editing a relation member's role |
More info in #8267 description.
comment:7 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | reopened → new |
comment:9 by , 11 years ago
Cc: | added |
---|---|
Milestone: | → 14.01 |
From #9548:
Steps to reproduce:
- Select at least one element that is already member of a relation and open relation editor for that relation
- Click "Insert all objects of the current selection after the last member" (4th button from top)
- Click no when prompted to insert elements that are already in the relation. (The selection jumps to the last member.)
- Now enter a role in the "apply role" textbox and click the apply role button.
comment:10 by , 11 years ago
I can't reproduce, can you tell me what was your relation and element id ?
comment:11 by , 11 years ago
Description: | modified (diff) |
---|---|
Milestone: | 14.01 |
Owner: | changed from | to
Status: | new → needinfo |
comment:12 by , 10 years ago
Milestone: | → 14.09 |
---|
comment:13 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | needinfo → new |
Note:
See TracTickets
for help on using tickets.
Works for me. Is it always reproducible ? If yes, can you attach your .osm file, please ?