Opened 9 years ago

Closed 9 years ago

#11105 closed defect (fixed)

Error when undo drawing

Reported by: anonymous Owned by: team
Priority: major Milestone: 15.02
Component: Core Version: latest
Keywords: template_report Cc:


What steps will reproduce the problem?

  1. Draw line with nodes 1,2,3,4
  2. Select node 3
  3. CTRL+Z one time
  4. Add to selection way
  5. Add to selection node 2
  6. Switch to draw mode
  7. Error error error, must close josm

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

Repository Root:
Build-Date: 2015-02-11 02:34:32
Last Changed Author: Klumbumbus
Revision: 8045
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
Last Changed Date: 2015-02-11 00:55:31 +0100 (Wed, 11 Feb 2015)
Last Changed Rev: 8045

Identification: JOSM/1.5 (8045 pl) Linux Ubuntu 14.04.1 LTS
Memory Usage: 477 MB / 869 MB (159 MB allocated, but free)
Java version: 1.7.0_75, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u75-2.5.4-1~trusty1
Dataset consistency test: No problems found

- CADTools (1002)
- InfoMode (30892)
- OpeningHoursEditor (30962)
- PicLayer (30962)
- editgpx (30892)
- photo_geotagging (30967)
- photoadjust (30964)
- reverter (30953)
- tag2link (30962)

Last errors/warnings:
- E: Primitive must be part of the dataset: {Node id=-5551 version=0 MV lat=51.82387906994501,lon=19.418792262968925} Primitive must be part of the dataset: {Node id=-5551 version=0 MV lat=51.82387906994501,lon=19.418792262968925}
	at org.openstreetmap.josm.actions.mapmode.DrawAction.getWayForNode(
	at org.openstreetmap.josm.actions.mapmode.DrawAction.redrawIfRequired(
	at org.openstreetmap.josm.actions.mapmode.DrawAction.addHighlighting(
	at org.openstreetmap.josm.actions.mapmode.DrawAction.mouseMoved(
	at java.awt.AWTEventMulticaster.mouseMoved(
	at java.awt.Component.processMouseMotionEvent(
	at javax.swing.JComponent.processMouseMotionEvent(
	at java.awt.Component.processEvent(
	at java.awt.Container.processEvent(
	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.dispatchEventImpl(
	at java.awt.EventQueue.access$300(
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	at java.awt.EventQueue$
	at java.awt.EventQueue$
	at Method)
	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 (1)

Zrzut ekranu z 2015-02-11 23:12:39.png (15.3 KB ) - added by anonymous 9 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 by stoecker, 9 years ago

Milestone: 15.02
Priority: normalmajor

Looks like a fine description, maybe a change to catch another (the last one) of these beasts?

comment:2 by anonymous, 9 years ago

Edit: don't must close josm. Pressing ESC is enough to escape draw mode.

in reply to:  1 comment:3 by skyper, 9 years ago

Replying to stoecker:

(the last one) of these beasts?

Definitely not the last one as we are only talking about one data layer ATM and not about merging and multiple layers.

comment:4 by Don-vip, 9 years ago

Owner: changed from team to anonymous
Status: newneedinfo

Can't reproduce, can you please post a screenshot and describe exactly how you do each step (mouse, keyboard shortcuts ?). This must be a very special condition that triggers this bug.

by anonymous, 9 years ago

comment:5 by anonymous, 9 years ago

1.Open JOSM (my version 8045)
2.Add new layer CTRL+N
3.Zoom in to ~20m using scroll
4.Press A to draw mode
5.Draw not closed way X with nodes no. 1,2,3,4
6.Press S to select mode
7.Select node no. 2,3 and way X
8.Press CTRL+SHIFT+Z (CTRL+Y is default)
9.Press A to draw mode
10.Move mouse

in reply to:  5 comment:6 by anonymous, 9 years ago

Replying to anonymous:

8.Press CTRL+SHIFT+Z (CTRL+Y is default)

Sorry, should be - 8.Press CTRL+Z to undo

comment:7 by Don-vip, 9 years ago

Owner: changed from anonymous to team
Status: needinfonew

Reproduced, thanks!

comment:8 by Don-vip, 9 years ago

Resolution: fixed
Status: newclosed

In 8064/josm:

fix #11105 - DataIntegrityProblemException when undo drawing

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. 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.