Modify

Opened 10 years ago

Closed 7 months ago

#10553 closed defect (worksforme)

ArrayIndexOutOfBoundsException while trying extrusion (rectangle tool)

Reported by: Kilkenni Owned by: team
Priority: normal Milestone:
Component: Core Version: tested
Keywords: template_report Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Take a rectangle
  2. Create an isosceles trapezium with two sides having an angle of 30 degrees to the rectangle and the other two sides parallel to the rectangle (to the one of its sides)
  3. Merge these two polygons so the trapezium seems "extruded" from the (side of the) rectangle
  4. Try using extrusion (rectangle tool) on the side of the trapezium which is parallel to the rectangle

What is the expected result?

  • Extrusion of the chosen side of the trapezium (parallel to its current position)

What happens instead?

  • JOSM error. Perhaps JOSM is having difficulties determining at which angle exactly should an extruding side be moved.

Please provide any additional information below. Attach a screenshot if possible:


Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-08-31 21:55:55
Last Changed Author: Don-vip
Revision: 7480
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-08-31 23:51:24 +0200 (Sun, 31 Aug 2014)
Last Changed Rev: 7480

Identification: JOSM/1.5 (7480 ru) Windows 7 64-Bit
Memory Usage: 264 MB / 1820 MB (84 MB allocated, but free)
Java version: 1.7.0_67, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- DirectUpload (30416)
- HouseNumberTaggingTool (30416)
- OpeningHoursEditor (30609)
- TombPlugin (44)
- alignways (30631)
- buildings_tools (30485)
- contourmerge (1010)
- download_along (30416)
- editgpx (30634)
- geochat (30513)
- graphview (30416)
- imagery_offset_db (30534)
- log4j (30416)
- mirrored_download (30495)
- public_transport (30416)
- tagging-preset-tester (30592)
- turnlanes (30416)
- turnrestrictions (30651)
- utilsplugin2 (30460)
- wikipedia (30449)

Last errors/warnings:
- E: Не удалось найти изображение «tunnel.png»
- W: Could not get presets icon tunnel.png
- W: Unable to remove primitives from TestError [tester=org.openstreetmap.josm.data.validation.tests.UnconnectedWays$UnconnectedHighways@94d71d05, code=1301]
- W: Unable to remove primitives from TestError [tester=org.openstreetmap.josm.data.validation.tests.UnconnectedWays$UnconnectedHighways@94d71d05, code=1301]
- E: java.lang.ArrayIndexOutOfBoundsException: 14

java.lang.ArrayIndexOutOfBoundsException: 14
	at org.openstreetmap.josm.data.osm.Way.getNode(Way.java:134)
	at org.openstreetmap.josm.data.osm.WaySegment.getFirstNode(WaySegment.java:37)
	at org.openstreetmap.josm.actions.mapmode.ExtrudeAction.performExtrusion(ExtrudeAction.java:626)
	at org.openstreetmap.josm.actions.mapmode.ExtrudeAction.mouseReleased(ExtrudeAction.java:533)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$200(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)

Attachments (1)

extrusion.png (20.6 KB ) - added by Kilkenni 10 years ago.

Download all attachments as: .zip

Change History (4)

by Kilkenni, 10 years ago

Attachment: extrusion.png added

comment:1 by Don-vip, 10 years ago

Description: modified (diff)
Summary: Error while trying extrusion (rectangle tool)ArrayIndexOutOfBoundsException while trying extrusion (rectangle tool)

comment:2 by bastiK, 9 years ago

Could you please attach the corresponding .osm file?

comment:3 by taylor.smock, 7 months 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.