Modify

Opened 3 years ago

Last modified 6 weeks ago

#11607 new defect

RangeViolatedError: the new range must be within a single subrange

Reported by: soemisch@… Owned by: team
Priority: major Milestone:
Component: Core mappaint Version: tested
Keywords: range Cc: bastiK, Nzara, mpasha, muerkelmann, v.v.chebotar@…

Description (last modified by Don-vip)

Löschen von Zwischenpunkten bei Tramgleisen

Revision: 8491
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-06-16 23:27:08 +0200 (Tue, 16 Jun 2015)
Build-Date: 2015-06-16 21:45:58
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 8491

Identification: JOSM/1.5 (8491 de) Windows 7 64-Bit
Memory Usage: 742 MB / 910 MB (244 MB allocated, but free)
Java version: 1.8.0_45, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- ImportImagePlugin (31241)
- PicLayer (31241)
- RoadSigns (31241)
- buildings_tools (31241)
- ext_tools (31241)
- geotools (31126)
- jts (31126)
- log4j (31231)
- measurement (31241)
- turnrestrictions (31241)
- utilsplugin2 (31241)

Last errors/warnings:
- E: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.lang.AssertionError: the new range must be within a single subrange
- E: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.lang.AssertionError: the new range must be within a single subrange
- E: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.lang.AssertionError: the new range must be within a single subrange
- E: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.lang.AssertionError: the new range must be within a single subrange
- E: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange. Ursache: java.lang.AssertionError: the new range must be within a single subrange

java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange
	at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$ConcurrentTasksHelper.process(StyledMapRenderer.java:1626)
	at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.render(StyledMapRenderer.java:1660)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:347)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:534)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:634)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JSplitPane.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(Unknown Source)
	at javax.swing.JComponent.paint(Unknown Source)
	at javax.swing.JLayeredPane.paint(Unknown Source)
	at javax.swing.JComponent.paintChildren(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.paint(Unknown Source)
	at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
	at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
	at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
	at java.awt.Container.paint(Unknown Source)
	at java.awt.Window.paint(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$1.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$1300(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$1.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)
Caused by: java.util.concurrent.ExecutionException: java.lang.AssertionError: the new range must be within a single subrange
	at java.util.concurrent.FutureTask.report(Unknown Source)
	at java.util.concurrent.FutureTask.get(Unknown Source)
	at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$ConcurrentTasksHelper.process(StyledMapRenderer.java:1623)
	... 52 more
Caused by: java.lang.AssertionError: the new range must be within a single subrange
	at org.openstreetmap.josm.gui.mappaint.StyleCache.putImpl(StyleCache.java:187)
	at org.openstreetmap.josm.gui.mappaint.StyleCache.put(StyleCache.java:141)
	at org.openstreetmap.josm.gui.mappaint.StyleCache.put(StyleCache.java:132)
	at org.openstreetmap.josm.gui.mappaint.ElemStyles.getStyleCacheWithRange(ElemStyles.java:130)
	at org.openstreetmap.josm.gui.mappaint.ElemStyles.get(ElemStyles.java:68)
	at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$ComputeStyleListWorker.add(StyledMapRenderer.java:1572)
	at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$ComputeStyleListWorker.visit(StyledMapRenderer.java:1555)
	at org.openstreetmap.josm.data.osm.Relation.accept(Relation.java:167)
	at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$ComputeStyleListWorker.call(StyledMapRenderer.java:1507)
	at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer$ComputeStyleListWorker.call(StyledMapRenderer.java:1473)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (12)

comment:1 Changed 3 years ago by Don-vip

Component: CoreCore mappaint
Description: modified (diff)
Summary: Löschen von Zwischenpunkten bei TramgleisenAssertionError: the new range must be within a single subrange

comment:2 Changed 3 years ago by Don-vip

Cc: bastiK added

comment:3 Changed 3 years ago by bastiK

Thanks for reporting the problem! Which map styles were active when this happened? Just the default map style or did you load additional ones?

Is it correct that you got this error in select mode directly after pressing the delete key on the keyboard (with one node selected)?

comment:4 Changed 3 years ago by soemisch@…

Hallo bastiK,

The JOSM Standard (MapCSS) was active while deleting points. Further I used the Potlatch 2.
Yes, I deleted a set of not necessary points of a tram track. So I usually marked the point and pressed the delete key.

Kind Regards, Lars

comment:5 Changed 3 years ago by bastiK

In 8575/josm:

see #11607 - more debugging output for error in StyleCache

comment:6 Changed 3 years ago by bastiK

Please add another report if it happens with JOSM version >= 8575 (should contain more details about the error). Also, if you can describe how to reproduce the problem reliably, this would be extremely helpful.

comment:7 Changed 3 years ago by bastiK

Similar: #8997

comment:8 Changed 6 weeks ago by Don-vip

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

comment:9 Changed 6 weeks ago by Don-vip

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

comment:10 Changed 6 weeks ago by Don-vip

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

comment:11 Changed 6 weeks ago by Don-vip

Cc: Nzara mpasha muerkelmann v.v.chebotar@… added
Keywords: range added
Priority: normalmajor
Summary: AssertionError: the new range must be within a single subrangeRangeViolatedError: the new range must be within a single subrange

comment:12 Changed 6 weeks ago by Don-vip

List of duplicate tickets: #11963 #13170 #14342 #14504 #15486 #15658

The last one includes a small list of map paint styles:

- https://josm.openstreetmap.de/josmfile?page=Styles/PTStops&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
- http://www.openrailwaymap.org/styles/maxspeed.zip
- http://www.openrailwaymap.org/styles/standard.zip
- http://www.openrailwaymap.org/styles/electrified.zip
- http://www.openrailwaymap.org/styles/signals.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PowerMapping&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/LessObtrusiveNodes&zip=1

and some debug info:

java.lang.AssertionError: Range violated: the new range must be within a single subrange (2)
- object: way 28167237
- current style: org.openstreetmap.josm.gui.mappaint.StyleCache@1cf7a298
- scale: 1249.5028181264659
- new stylelist: [LineElemStyle{z_idx=[3.0/0.0/0.0] width=2.0 realWidth=0.0 color=#404040 dashed=[9.0, 9.0] dashedColor=#ffffff linejoin=round linecap=none}]
- new range: |s955.4628535647032-Infinity
org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (2)
	at org.openstreetmap.josm.gui.mappaint.DividedScale.putImpl(DividedScale.java:147)
	at org.openstreetmap.josm.gui.mappaint.DividedScale.put(DividedScale.java:102)
	at org.openstreetmap.josm.gui.mappaint.StyleCache.put(StyleCache.java:50)
	at org.openstreetmap.josm.gui.mappaint.ElemStyles.getStyleCacheWithRange(ElemStyles.java:191)
Last edited 6 weeks ago by Don-vip (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to soemisch@mentzdv.de
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 team to anonymous.

Add Comment


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

 
Note: See TracTickets for help on using tickets.