﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18155	AIOOBE at CameraPlane.setRotationFromDelta	baptiste.millemathias@…	jpietri	"==== What steps will reproduce the problem?
1. I follow a mapillary sequence with 360° images only (ex: http://www.mapillary.com/map/im/lY-tNCNhqMR-u-HxBjkA5g)
2. I right click on the mapillary image in order scroll to another angle 
3. Got an exception message

==== What is the expected result?
no exception

==== What happens instead?

It seems to be reproducible as I got another exception messagedoing the same action

{{{
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-08-26 08:55:27 +0200 (Mon, 26 Aug 2019)
Revision:15322
Build-Date:2019-08-26 06:57:10
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (15322 fr) Linux Freedesktop.org 18.08.36 (Flatpak runtime)
Memory Usage: 1345 MB / 1980 MB (892 MB allocated, but free)
Java version: 11.0.4+11, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ Mapillary (1.5.18)
+ OpeningHoursEditor (34977)
+ apache-commons (34908)
+ apache-http (34908)
+ buildings_tools (34982)
+ conflation (0.6.3)
+ continuosDownload (82)
+ geojson (124)
+ http2 (35062)
+ jna (34908)
+ jts (35064)
+ livegps (34977)
+ merge-overlap (35072)
+ openqa (1557250801)
+ reverter (35084)
+ terracer (34977)
+ tofix (487)
+ undelete (34977)
+ utilsplugin2 (35098)

Tagging presets:
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/master/dist/name-suggestions.presets.xml

Map paint styles:
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Region [userProfile_BLOCK_v2]  Problem verifying disk.
- W: Region [userProfile_BLOCK_v2] Resetting cache
- W: restricted header name: ""Connection""
- W: restricted header name: ""Connection""
- W: restricted header name: ""Connection""
- E: Handled by bug report queue: java.lang.ArrayIndexOutOfBoundsException: Index 451 out of bounds for length 448
- W: Avertissement - <html>JOSM ne parvient pas à trouver d’information sur les greffons suivants :<ul><li>livegps</li><li>apache-commons</li><li>conflation</li><li>jts</li><li>Mapillary</li><li>tofix</li><li>reverter</li><li>continuosDownload</li><li>geojson</li><li>utilsplugin2</li><li>OpeningHoursEditor</li><li>openqa</li><li>undelete</li><li>buildings_tools</li><li>http2</li><li>terracer</li><li>jna</li><li>apache-http</li><li>merge-overlap</li></ul>Les greffons ne seront pas chargés.</html>


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (18) of main
java.lang.ArrayIndexOutOfBoundsException: Index 451 out of bounds for length 448
	at org.openstreetmap.josm.plugins.mapillary.gui.panorama.CameraPlane.setRotationFromDelta(CameraPlane.java:74)
	at org.openstreetmap.josm.plugins.mapillary.gui.MapillaryImageDisplay$ImgDisplayMouseListener.mouseReleased(MapillaryImageDisplay.java:331)
	at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
	at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
	at java.desktop/java.awt.Component.processEvent(Component.java:6397)
	at java.desktop/java.awt.Container.processEvent(Container.java:2263)
	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
}}}
"	defect	closed	normal		Plugin mapillary		fixed	template_report flatpak	
