Modify ↓
Opened 4 years ago
Closed 4 years ago
#20495 closed defect (duplicate)
mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (1)
Reported by: | anonymous | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core mappaint | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- summary might be a red herring
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2020-12-28 22:03:23 +0100 (Mon, 28 Dec 2020) Build-Date:2020-12-30 02:30:55 Revision:17428 Relative:URL: ^/trunk Identification: JOSM/1.5 (17428 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 2004 (19041) Memory Usage: 562 MB / 1820 MB (73 MB allocated, but free) Java version: 1.8.0_281-b09, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1920×1080 (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→32×32, 32×32→32×32 VM arguments: [-Djava.security.manager, -Djava.security.policy=file:<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%<user.name>Profile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-39746ec0, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Djnlpx.splashport=1703, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>\bin\javaw.exe] Dataset consistency test: No problems found Plugins: + BuildingGeneralization (23) + ColorPlugin (1537115529) + FastDraw (35640) + PicLayer (2a9aa7a) + SimplifyArea (35640) + apache-commons (35524) + buildings_tools (35669) + ejml (35458) + geotools (35458) + importvec (35567) + jaxb (35543) + jogl (1.2.3) + jts (35458) + kendzi3d-resources (0.0.2) + log4j (35458) + mapathoner (1.1.5) + measurement (35640) + opendata (35640) + terracer (35640) + touchscreenhelper (35640) + utilsplugin2 (35682) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/BuildingsIndonesia&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/HOT-PDC_InAWARE_Project_Indonesia&zip=1 Map paint styles: - https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-style.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/LitObjects&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/iD&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/AdvertisingStyle&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/Power&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Historic_Stones&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/IconTester&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://pasharm.github.io/New_basic_style_for_JOSM/New_basic_style.mapcss Last errors/warnings: - 10044.281 W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - 10044.297 W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - 10044.297 W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - 10044.313 W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - 10044.360 W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - 10044.360 W: Unable to convert property color to type class java.awt.Color: found # of type class java.lang.String! - 10044.389 E: Handled by bug report queue: java.lang.AssertionError. Cause: java.lang.AssertionError. Cause: java.lang.AssertionError: Range violated: the new range must be within a single subrange (1) (object: way 785085524, current style: StyleCache{PLAIN: DS{[0.0, 29.858214173896975, 119.4328566955879, Infinity] [null, [LineElemStyle{z_idx=[3.0/5.0/0.0] width=2.0 realWidth=0.0 color=#E06E5F dashed=null dashedColor=null linejoin=round linecap=round}], null]} SELECTED: null}, scale: 953.8816502238883, new stylelist: [LineElemStyle{z_idx=[3.0/0.0/0.0] width=2.0 realWidth=0.0 color=#808080 dashed=null dashedColor=null linejoin=round linecap=round}], new range: |z29.8582-955.4629). Cause: org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (1) - 10044.420 E: Handled by bug report queue: java.lang.AssertionError. Cause: java.lang.AssertionError. Cause: java.lang.AssertionError: Range violated: the new range must be within a single subrange (1) (object: way 785085524, current style: StyleCache{PLAIN: DS{[0.0, 29.858214173896975, 119.4328566955879, Infinity] [null, [LineElemStyle{z_idx=[3.0/5.0/0.0] width=2.0 realWidth=0.0 color=#E06E5F dashed=null dashedColor=null linejoin=round linecap=round}], null]} SELECTED: null}, scale: 953.8816502238883, new stylelist: [LineElemStyle{z_idx=[3.0/0.0/0.0] width=2.0 realWidth=0.0 color=#808080 dashed=null dashedColor=null linejoin=round linecap=round}], new range: |z29.8582-955.4629). Cause: org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (1) - 10059.596 E: Handled by bug report queue: java.lang.AssertionError. Cause: java.lang.AssertionError. Cause: java.lang.AssertionError: Range violated: the new range must be within a single subrange (1) (object: way 785085524, current style: StyleCache{PLAIN: DS{[0.0, 29.858214173896975, 119.4328566955879, Infinity] [null, [LineElemStyle{z_idx=[3.0/5.0/0.0] width=2.0 realWidth=0.0 color=#E06E5F dashed=null dashedColor=null linejoin=round linecap=round}], null]} SELECTED: null}, scale: 953.8816502238883, new stylelist: [LineElemStyle{z_idx=[3.0/0.0/0.0] width=2.0 realWidth=0.0 color=#808080 dashed=null dashedColor=null linejoin=round linecap=round}], new range: |z29.8582-955.4629). Cause: org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (1) - 10059.611 E: Handled by bug report queue: java.lang.AssertionError. Cause: java.lang.AssertionError. Cause: java.lang.AssertionError: Range violated: the new range must be within a single subrange (1) (object: way 785085524, current style: StyleCache{PLAIN: DS{[0.0, 29.858214173896975, 119.4328566955879, Infinity] [null, [LineElemStyle{z_idx=[3.0/5.0/0.0] width=2.0 realWidth=0.0 color=#E06E5F dashed=null dashedColor=null linejoin=round linecap=round}], null]} SELECTED: null}, scale: 953.8816502238883, new stylelist: [LineElemStyle{z_idx=[3.0/0.0/0.0] width=2.0 realWidth=0.0 color=#808080 dashed=null dashedColor=null linejoin=round linecap=round}], new range: |z29.8582-955.4629). Cause: org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (1) === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-2 (61) of javawsApplicationThreadGroup java.lang.AssertionError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source) at java.util.concurrent.ForkJoinTask.reportException(Unknown Source) at java.util.concurrent.ForkJoinTask.join(Unknown Source) at java.util.concurrent.ForkJoinPool.invoke(Unknown Source) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.paintWithLock(StyledMapRenderer.java:1675) at org.openstreetmap.josm.data.osm.visitor.paint.StyledMapRenderer.render(StyledMapRenderer.java:1644) at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:543) at org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable$CompatibilityModeLayerPainter.paint(AbstractMapViewPaintable.java:27) at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:466) at org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:581) at org.openstreetmap.josm.gui.MapView.paint(MapView.java:488) at javax.swing.JComponent.paintChildren(Unknown Source) at javax.swing.JComponent.paint(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._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(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$JavaSecurityAccessImpl.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$1200(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$JavaSecurityAccessImpl.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.lang.AssertionError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source) at java.util.concurrent.ForkJoinTask.reportException(Unknown Source) at java.util.concurrent.ForkJoinTask.join(Unknown Source) at org.openstreetmap.josm.data.osm.visitor.paint.ComputeStyleListWorker.compute(ComputeStyleListWorker.java:102) at org.openstreetmap.josm.data.osm.visitor.paint.ComputeStyleListWorker.compute(ComputeStyleListWorker.java:34) at java.util.concurrent.RecursiveTask.exec(Unknown Source) at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) Caused by: java.lang.AssertionError: Range violated: the new range must be within a single subrange (1) (object: way 785085524, current style: StyleCache{PLAIN: DS{[0.0, 29.858214173896975, 119.4328566955879, Infinity] [null, [LineElemStyle{z_idx=[3.0/5.0/0.0] width=2.0 realWidth=0.0 color=#E06E5F dashed=null dashedColor=null linejoin=round linecap=round}], null]} SELECTED: null}, scale: 953.8816502238883, new stylelist: [LineElemStyle{z_idx=[3.0/0.0/0.0] width=2.0 realWidth=0.0 color=#808080 dashed=null dashedColor=null linejoin=round linecap=round}], new range: |z29.8582-955.4629) at org.openstreetmap.josm.gui.mappaint.ElemStyles.getStyleCacheWithRange(ElemStyles.java:212) at org.openstreetmap.josm.gui.mappaint.ElemStyles.get(ElemStyles.java:139) at org.openstreetmap.josm.data.osm.visitor.paint.ComputeStyleListWorker.add(ComputeStyleListWorker.java:171) at org.openstreetmap.josm.data.osm.visitor.paint.ComputeStyleListWorker.visit(ComputeStyleListWorker.java:143) at org.openstreetmap.josm.data.osm.Way.accept(Way.java:182) at org.openstreetmap.josm.data.osm.visitor.paint.ComputeStyleListWorker.acceptDrawable(ComputeStyleListWorker.java:129) at org.openstreetmap.josm.data.osm.visitor.paint.ComputeStyleListWorker.computeDirectly(ComputeStyleListWorker.java:116) at org.openstreetmap.josm.data.osm.visitor.paint.ComputeStyleListWorker.compute(ComputeStyleListWorker.java:93) ... 6 more Caused by: org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (1) at org.openstreetmap.josm.gui.mappaint.DividedScale.putImpl(DividedScale.java:129) at org.openstreetmap.josm.gui.mappaint.DividedScale.put(DividedScale.java:102) at org.openstreetmap.josm.gui.mappaint.StyleCache.put(StyleCache.java:52) at org.openstreetmap.josm.gui.mappaint.ElemStyles.getStyleCacheWithRange(ElemStyles.java:209) ... 13 more
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Component: | Core → Core mappaint |
---|---|
Summary: | error notice after enabling auto save osm layer → mappaint.DividedScale$RangeViolatedError: the new range must be within a single subrange (1) |
comment:3 by , 4 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #16348.
Note:
See TracTickets
for help on using tickets.
Seems one your additional mappaint styles in in error.