Modify ↓
Opened 6 years ago
Closed 6 years ago
#18570 closed defect (duplicate)
MapWithAI crashing
| Reported by: | anonymous | Owned by: | taylor.smock |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Plugin mapwithai | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
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-01-02 22:34:59 +0100 (Thu, 02 Jan 2020)
Build-Date:2020-01-02 21:52:31
Revision:15628
Relative:URL: ^/trunk
Identification: JOSM/1.5 (15628 en) Mac OS X 10.15.2
OS Build number: Mac OS X 10.15.2 (19C57)
Memory Usage: 1038 MB / 1820 MB (345 MB allocated, but free)
Java version: 1.8.0_241-b07, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 188945227 1920x1080, Display 188945226 1920x1080, Display 69943696 2048x1152
Maximum Screen Size: 2048x1152
VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/Desktop/josm.jnlp, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=NULL,2048m, -Dmacosx.jnlpx.dock.name=JOSM, -Dmacosx.jnlpx.dock.icon=${HOME}/Library/Application Support/Oracle/Java/Deployment/cache/6.0/25/4c122699-5111a235.icns, -Djnlpx.jvm="<java.home>/bin/java"]
Dataset consistency test: No problems found
Plugins:
+ Mapillary (1.5.20)
+ OpenStreetCam (280)
+ apache-commons (35092)
+ apache-http (35092)
+ auto_tools (73)
+ buildings_tools (35248)
+ ejml (35122)
+ geotools (35169)
+ graphview (35248)
+ jaxb (35092)
+ jna (35092)
+ jts (35122)
+ mapwithai (1.0.0)
+ markseen (14)
+ measurement (35248)
+ opendata (35248)
+ openqa (0.1.9)
+ osm-obj-info (56)
+ rex (53)
+ utilsplugin2 (35248)
Map paint styles:
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Kaart-Styles.mapcss
- ${HOME}/Desktop/Kaart Paint Styles/Kaart_Tracking_Merica.mapcss
+ https://raw.githubusercontent.com/KaartGroup/Kaart-Styles/master/Overlapping%20Ways.mapcss
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
Last errors/warnings:
- W: Failed to load Mappaint styles from '${HOME}/Desktop/Kaart Paint Styles/Kaart_Tracking_Merica.mapcss'. Exception was: java.nio.file.FileSystemException: ${HOME}/Desktop/Kaart Paint Styles/Kaart_Tracking_Merica.mapcss: Operation not permitted
- E: java.nio.file.FileSystemException: ${HOME}/Desktop/Kaart Paint Styles/Kaart_Tracking_Merica.mapcss: Operation not permitted
- W: No configuration settings found. Using hardcoded default values for all pools.
- W: Region [TMS_BLOCK_v2] Problem verifying disk.
- W: Region [TMS_BLOCK_v2] Resetting cache
- E: Handled by bug report queue: java.lang.AssertionError: Range violated: the new range must be within a subrange that has no data (object: way -4580089603774195159, current style: StyleCache{PLAIN: DS{[0.0, 29.858214173896975, 59.71642834779395, 119.4328566955879, 238.8657133911758, Infinity] [null, [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], null]} SELECTED: null}, scale: 32.33923292661542, new stylelist: [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], new range: |s29.858214173896975-59.71642834779395). Cause: org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a subrange that has no data
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-2 (77) of javawsApplicationThreadGroup
java.lang.AssertionError: Range violated: the new range must be within a subrange that has no data (object: way -4580089603774195159, current style: StyleCache{PLAIN: DS{[0.0, 29.858214173896975, 59.71642834779395, 119.4328566955879, 238.8657133911758, Infinity] [null, [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], null]} SELECTED: null}, scale: 32.33923292661542, new stylelist: [LineElemStyle{z_idx=[3.0/5.0/0.0] width=5.0 realWidth=0.0 color=#ff00ff dashed=null dashedColor=null linejoin=round linecap=round}, LineElemStyle{z_idx=[2.0/5.0/0.0] modifier width=7.0 realWidth=0.0 color=#000000 dashed=null dashedColor=null linejoin=round linecap=round}, TextElement{z_idx=[4.9/5.0/0.0] text=TextLabel{labelCompositionStrategy={DeriveLabelFromNameTagsCompositionStrategy} font=java.awt.Font[family=Avenir,name=avenir,style=plain,size=12] color=#ffffff haloRadius=2.5 haloColor=java.awt.Color[r=0,g=0,b=0]} labelPositionStrategy=OnLineStrategy [yOffset=0.0]}], new range: |s29.858214173896975-59.71642834779395)
at org.openstreetmap.josm.gui.mappaint.ElemStyles.getStyleCacheWithRange(ElemStyles.java:206)
at org.openstreetmap.josm.gui.mappaint.ElemStyles.get(ElemStyles.java:138)
at org.openstreetmap.josm.gui.NavigatableComponent.lambda$new$0(NavigatableComponent.java:98)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegmentsImpl(NavigatableComponent.java:1188)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestWaySegment(NavigatableComponent.java:1329)
at org.openstreetmap.josm.gui.NavigatableComponent.getNearestNodeOrWay(NavigatableComponent.java:1535)
at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:261)
at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:249)
at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseReleased(SelectAction.java:627)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:290)
at java.awt.Component.processMouseEvent(Component.java:6539)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6304)
at java.awt.Container.processEvent(Container.java:2239)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2297)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
at java.awt.Container.dispatchEventImpl(Container.java:2283)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
at java.awt.EventQueue$4.run(EventQueue.java:733)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: org.openstreetmap.josm.gui.mappaint.DividedScale$RangeViolatedError: the new range must be within a subrange that has no data
at org.openstreetmap.josm.gui.mappaint.DividedScale.putImpl(DividedScale.java:131)
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:203)
... 40 more
Attachments (0)
Change History (2)
comment:1 by , 6 years ago
| Component: | Core → Plugin mapwithai |
|---|---|
| Owner: | changed from to |
comment:2 by , 6 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Closed as duplicate of #18549.
I fixed this in https://gitlab.com/gokaart/JOSM_MapWithAI/commit/1667a35b2cb66d8d2c53cf467913b3bef9272714 . So you need v1.0.2 of the plugin or later.