Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#3692 closed defect (duplicate)

Split Area - Undo / Redo

Reported by: fatbozz Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: Cc:

Description (last modified by stoecker)

Draw L shape
Draw the line at the joints, so that the resulting image was two rectangles
Select L shape by left click
Tools > Split Area ( CTRL+ALT+S )
Nothing expected happend, but closed way is erased with last created node. Ok try undo and again. Same result, but last added node ( from line that connect joints ) is displayed. When you redo, you can get this error

Path: trunk
URL: http://josm.openstreetmap.de/svn/trunk
Repository Root: http://josm.openstreetmap.de/svn
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Revision: 2271
Node Kind: directory
Last Changed Author: stoecker
Last Changed Rev: 2271
Last Changed Date: 2009-10-10 22:51:25 +0200 (Sat, 10 Oct 2009)


Memory Usage: 747 MB / 1339 MB (213 MB allocated, but free)
Java version: 1.6.0_16

Plugins: AgPifoJDirectUploadbuildings_toolsczechaddressdataimportmeasurementmultipolyopenstreetbugsosmarenderremotecontrolroutingtageditorterracerusertoolsutilspluginvalidatorwmsplugin
Plugin AgPifoJ Version: 17707
Plugin DirectUpload Version: 17532
Plugin buildings_tools Version: 24
Plugin czechaddress Version: 17857
Plugin dataimport Version: 18071
Plugin measurement Version: 17377
Plugin multipoly Version: 18079
Plugin openstreetbugs Version: 18071
Plugin osmarender Version: 18061
Plugin remotecontrol Version: 17858
Plugin routing Version: 17544
Plugin tageditor Version: 17638
Plugin terracer Version: 17874
Plugin usertools Version: 17359
Plugin utilsplugin Version: 17707
Plugin validator Version: 18069
Plugin wmsplugin Version: 17817


java.lang.NullPointerException
	at org.openstreetmap.josm.data.osm.QuadBuckets.remove(QuadBuckets.java:889)
	at org.openstreetmap.josm.data.osm.QuadBuckets.remove(QuadBuckets.java:884)
	at org.openstreetmap.josm.data.osm.DataSet.removePrimitive(DataSet.java:141)
	at org.openstreetmap.josm.command.AddCommand.undoCommand(AddCommand.java:56)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommands(SequenceCommand.java:76)
	at org.openstreetmap.josm.command.SequenceCommand.undoCommand(SequenceCommand.java:81)
	at org.openstreetmap.josm.data.UndoRedoHandler.undo(UndoRedoHandler.java:70)
	at org.openstreetmap.josm.actions.UndoAction.actionPerformed(UndoAction.java:32)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	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.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 (3)

comment:1 by bilbo, 16 years ago

I guess same exception as in #3687

comment:2 by stoecker, 16 years ago

Description: modified (diff)
Resolution: duplicate
Status: newclosed

comment:3 by stoecker, 16 years ago

Closed as duplicate of #3687.

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.