Modify

Opened 2 years ago

Last modified 19 months ago

#19590 new defect

Trying to delete fastdraw first node causes error.

Reported by: anonymous Owned by: akks
Priority: normal Milestone:
Component: Plugin FastDraw Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

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

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-06-30 19:13:42 +0200 (Tue, 30 Jun 2020)
Build-Date:2020-07-01 01:30:51
Revision:16731
Relative:URL: ^/trunk

Identification: JOSM/1.5 (16731 en) Windows 10 64-Bit
OS Build number: Windows 10 Enterprise 1909 (18363)
Memory Usage: 247 MB / 247 MB (48 MB allocated, but free)
Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) Client VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1600x1200 (scaling 1.0x1.0)
Maximum Screen Size: 1600x1200
Best cursor sizes: 16x16 -> 32x32, 32x32 -> 32x32
Dataset consistency test: No problems found

Plugins:
+ FastDraw (35499)
+ buildings_tools (35500)
+ gridify (1588746833)
+ measurement (35405)
+ terracer (35499)

Last errors/warnings:
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- W: Warning - <html>JOSM could not find information about the following plugins:<ul><li>gridify</li><li>buildings_tools</li><li>terracer</li><li>measurement</li><li>FastDraw</li></ul>The plugins are not going to be loaded.</html>
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
- E: Handled by bug report queue: java.lang.IndexOutOfBoundsException: Index: -1, Size: 1

OSM API: https://opengeofiction.net/api


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (16) of main
java.lang.IndexOutOfBoundsException: Index: -1, Size: 1
	at java.util.LinkedList.checkElementIndex(Unknown Source)
	at java.util.LinkedList.get(Unknown Source)
	at org.openstreetmap.josm.plugins.fastdraw.DrawnPolyLine.getLastPoint(DrawnPolyLine.java:124)
	at org.openstreetmap.josm.plugins.fastdraw.FastDrawingMode.paint(FastDrawingMode.java:230)
	at org.openstreetmap.josm.gui.MapView.drawTemporaryLayers(MapView.java:648)
	at org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:585)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:488)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at javax.swing.RepaintManager.paint(Unknown Source)
	at javax.swing.JComponent._paintImmediately(Unknown Source)
	at javax.swing.JComponent.paintImmediately(Unknown Source)
	at javax.swing.RepaintManager$4.run(Unknown Source)
	at javax.swing.RepaintManager$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at javax.swing.RepaintManager.access$1200(Unknown Source)
	at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$500(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$JavaSecurityAccessImpl.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 (0)

Change History (2)

comment:1 Changed 2 years ago by skyper

Component: CorePlugin FastDraw
Owner: changed from team to akks

comment:2 Changed 19 months ago by GerdP

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain akks.
as The resolution will be set.
to The owner will be changed from akks to the specified user.
The owner will change to anonymous
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from akks to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.