Modify ↓
#23091 closed defect (fixed)
[PATCH] Opening Transport/Public Transport/Route Master preset crashes.
| Reported by: | Mxx | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | 23.08 |
| Component: | Core | Version: | tested |
| Keywords: | template_report | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Open a route master
- Click on Route Master preset
- Crash
What is the expected result?
To get preset settings open.
What happens instead?
Unexpected Exception pop up window appears.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-07-06 21:00:41 +0200 (Thu, 06 Jul 2023)
Revision:18772
Build-Date:2023-07-07 01:30:58
URL:https://josm.openstreetmap.de/svn/trunk
Identification: JOSM/1.5 (18772 en) Windows 11 64-Bit
OS Build number: Windows 10 Pro 2009 (22621)
Memory Usage: 536 MB / 6136 MB (161 MB allocated, but free)
Java version: 20.0.2+10, BellSoft, OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel
Screen: \Display0 1920×1200 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1200
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found
Plugins:
+ ColorPlugin (v1.1.2.1)
+ CustomizePublicTransportStop (36097)
+ FastDraw (36097)
+ FixAddresses (36062)
+ buildings_tools (36097)
+ continuosDownload (1.3.4)
+ easypresets (1623509627)
+ imagery_offset_db (36079)
+ pt_assistant (2.1.15-19-g9aeec3c-SNAPSHOT)
+ public_transport (36097)
+ reverter (36066)
+ tageditor (36097)
+ todo (123)
+ turnlanes-tagging (0.0.5)
+ turnrestrictions (36097)
Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/TurnLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://raw.githubusercontent.com/osmlab/name-suggestion-index/main/dist/presets/nsi-josm-presets.min.xml
+ https://github.com/simonpoole/beautified-JOSM-preset/releases/latest/download/josm.zip
+ <josm.pref>/EasyPresets.xml
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Sidewalks&zip=1
+ https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/SimpleBuildingTags&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransportV2&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Direction&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
Validator rules:
+ https://josm.openstreetmap.de/josmfile?page=Rules/OSMLint&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/QAToolInspiredValidations&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Rules/SuspiciousSwimming_Pool&zip=1
+ https://github.com/Jungle-Bus/transport_mapcss/raw/gh-pages/transport.validator.zip
Last errors/warnings:
- 00024.778 W: Protected Area: Could not get presets icon presets/boundaries.png
- 00024.863 E: Failed to locate image 'presets/greenhouse_horticulture.png'
- 00024.864 W: Greenhouse Horticulture: Could not get presets icon presets/greenhouse_horticulture.png
- 00024.895 E: Failed to locate image 'presets/garages.png'
- 00024.896 W: Garages: Could not get presets icon presets/garages.png
- 00024.909 E: Failed to locate image 'presets/interpolation.png'
- 00024.910 W: Address Interpolation: Could not get presets icon presets/interpolation.png
- 00024.928 E: Failed to locate image ''
- 00024.929 W: [RELATION] Site: Could not get presets icon
- 01040.361 E: Handled by bug report queue: org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Relation id=-111 version=0 VT]}
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: AWT-EventQueue-0 (31) of main
org.openstreetmap.josm.data.osm.DataIntegrityProblemException: Primitive must be part of the dataset: {Relation id=-111 version=0 VT]}
at org.openstreetmap.josm.data.osm.OsmPrimitive.checkDataset(OsmPrimitive.java:198)
at java.base/java.util.ArrayList.forEach(Unknown Source)
at org.openstreetmap.josm.gui.tagging.presets.TaggingPreset.createPanel(TaggingPreset.java:450)
at org.openstreetmap.josm.gui.tagging.presets.TaggingPreset.showDialog(TaggingPreset.java:604)
at org.openstreetmap.josm.gui.dialogs.properties.PresetListPanel$LabelMouseAdapter.mouseClicked(PresetListPanel.java:42)
at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Attachments (2)
Change History (8)
by , 2 years ago
| Attachment: | Screenshot 2023-07-30 212142.png added |
|---|
comment:1 by , 2 years ago
comment:2 by , 2 years ago
I was able to reproduce with https://osm.org/relation/16144362 .
I believe [the attached patch] will fix the problem. I'll write a test for it first though, if it isn't extraordinarily difficult.
comment:3 by , 2 years ago
| Milestone: | → 23.08 |
|---|---|
| Summary: | Opening Transport/Public Transport/Route Master preset crashes. → [PATCH] Opening Transport/Public Transport/Route Master preset crashes. |
by , 2 years ago
| Attachment: | 23091.patch added |
|---|
comment:4 by , 2 years ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.




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