Opened 10 years ago

Closed 10 years ago

#3194 closed defect (fixed)

Join node to way does not work since r1910

Reported by: andre68@… Owned by: team
Priority: blocker Milestone:
Component: Core Version:
Keywords: join Cc:


When I try to add a node to an existing way I get an exception. Version until r1909 is ok, version r1910 to r1914 is broken:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.0-b16 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 1914 SVN
Main-Date: 2009-08-05T09:40:38.064523Z
Memory Usage: 19 MB / 508 MB (2 MB allocated, but free)
Java version: 1.6.0_14

Plugins: AgPifoJeditgpxmeasurementopenstreetbugsusertoolsutilspluginvalidatorwaydownloaderwmsplugin
Plugin AgPifoJ Version: 16784
Plugin editgpx Version: 16793
Plugin measurement Version: 16801
Plugin openstreetbugs Version: 16797
Plugin usertools Version: 14125
Plugin utilsplugin Version: 16735
Plugin validator Version: 16788
Plugin waydownloader Version: 16631
Plugin wmsplugin Version: 16860

java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
	at java.util.ArrayList.add(
	at org.openstreetmap.josm.actions.JoinNodeWayAction.actionPerformed(
	at javax.swing.AbstractButton.fireActionPerformed(
	at javax.swing.AbstractButton$Handler.actionPerformed(
	at javax.swing.DefaultButtonModel.fireActionPerformed(
	at javax.swing.DefaultButtonModel.setPressed(
	at javax.swing.AbstractButton.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(
	at javax.swing.JMenuItem.fireMenuDragMouseReleased(
	at javax.swing.JMenuItem.processMenuDragMouseEvent(
	at javax.swing.JMenuItem.processMouseEvent(
	at javax.swing.MenuSelectionManager.processMouseEvent(
	at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(
	at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(
	at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(
	at java.awt.Toolkit.notifyAWTEventListeners(
	at java.awt.Component.dispatchEventImpl(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.LightweightDispatcher.retargetMouseEvent(
	at java.awt.LightweightDispatcher.processMouseEvent(
	at java.awt.LightweightDispatcher.dispatchEvent(
	at java.awt.Container.dispatchEventImpl(
	at java.awt.Window.dispatchEventImpl(
	at java.awt.Component.dispatchEvent(
	at java.awt.EventQueue.dispatchEvent(
	at java.awt.EventDispatchThread.pumpOneEventForFilters(
	at java.awt.EventDispatchThread.pumpEventsForFilter(
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(
	at java.awt.EventDispatchThread.pumpEvents(
	at java.awt.EventDispatchThread.pumpEvents(

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Gubaer

Resolution: fixed
Status: newclosed

Fixed in r1915.

Be careful with releases between r1910 and r1914 - they will likely show all kind of strange behaviour, copying of nodes of a ways doesn't work reliably!

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.