Opened 13 years ago

Closed 13 years ago

#148 closed defect (fixed)

Adding way + dragging disables node downloading

Reported by: erik@… Owned by: Immanuel Scholz
Priority: major Milestone:
Component: applet Version:
Keywords: Cc:

Description

If I start editting a way,add lots of segments to the way. Then when I drag the viewport a little to be able to add more segments, two thing will happen

  1. the nodes and lines currently loaded will be removed from the view (normal)
  2. the way I was editing will become red and stay in view
  3. when I drag the viewport, the way segments will be stuck in their x/y pixel on the screen.

Three things can now happen 3.1. no new nodes or lines will be added/downloaded.. 3.2. everything works fine. 3.3. new nodes are downloaded but the way is still positioned at the x/y pixel

In the case of 3.3 I sometimes get this:

[Node 159906 lat:59.3201332092285 lon:18.0718479156494] to [Node 159905 lat:59.319953918457 lon:18.0706462860107]], [Line 119585 from [Node 159905 lat:59.319953918457 lon:18.0706462860107] to [Node 160904 lat:59.3199462890625 lon:18.0703277587891]]]] Error while running applet. java.util.ConcurrentModificationException?

at java.util.Hashtable$Enumerator.next(Hashtable.java:980) at org.openstreetmap.processing.OsmApplet?.draw(OsmApplet?.java:474) at processing.core.PApplet.display(PApplet.java:1183) at processing.core.PGraphics.requestDisplay(PGraphics.java:520) at processing.core.PApplet.run(PApplet.java:1009) at java.lang.Thread.run(Thread.java:534)

Change History (3)

comment:1 Changed 13 years ago by erik@…

If I start editing a way,add lots of segments to the way. Then when I drag the viewport a little to be able to add more segments, two thing will happen

1.. the nodes and lines currently loaded will be removed from the view (normal) 
2.. the way I was editing will become red and stay in view 
3.. when I drag the viewport, the way segments will be stuck in their x/y pixel on the screen. Three things can now happen 
 3.1. no new nodes or lines will be added/downloaded.. 
 3.2. everything works fine.  
 3.3. new nodes are downloaded but the way is still positioned at the x/y pixel


In the case of 3.3 I sometimes get this:


[Node 159906 lat:59.3201332092285 lon:18.0718479156494] to [Node 159905 lat:59.319953918457 lon:18.0706462860107]], [Line 119585 from [Node 159905 lat:59.319953918457 lon:18.0706462860107] to [Node 160904 lat:59.3199462890625 lon:18.0703277587891]]]] 


Error while running applet. java.util.ConcurrentModificationException?
at java.util.Hashtable$Enumerator.next(Hashtable.java:980) at 
org.openstreetmap.processing.OsmApplet?.draw(OsmApplet?.java:474) at 
processing.core.PApplet.display(PApplet.java:1183) at 
processing.core.PGraphics.requestDisplay(PGraphics.java:520) at 
processing.core.PApplet.run(PApplet.java:1009) at java.lang.Thread.run(Thread.java:534)


comment:2 Changed 13 years ago by Immanuel Scholz

Owner: changed from imi to Immanuel Scholz

Believe it or not, but I did really forget to test whether you can start editing and then dragging the screen.

Just forgot it.. how embarrassing..

I'll look at this today evening.

comment:3 Changed 13 years ago by Immanuel Scholz

Resolution: fixed
Status: newclosed

fixed in upstream.

Note: See TracTickets for help on using tickets.