Opened 9 months ago
Last modified 2 weeks ago
#24584 new defect
comfort0 plugin crash
| Reported by: | anonymous | Owned by: | simon04 |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | Plugin comfort0 | Version: | |
| Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Select many buildings with JOSM search option and copy data with "Copy as Level0L"
- Make corrections and updates with copied data into a text file
- Copy the renewed data into clipboard and afterwards paste them into the selected building polygons with "Paste Level0L"
What is the expected result?
Renewed data and normal work of plugin.
What happens instead?
Error message. Impossibility to use the Paste Level0L command at this session.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2025-08-31 14:19:57 +0200 (Sun, 31 Aug 2025) Revision:19439 Build-Date:2025-09-01 01:31:04 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19439 en) Linux Debian GNU/Linux 12 (bookworm) Memory Usage: 1536 MB / 1536 MB (909 MB allocated, but free) Java version: 17.0.17+10-Debian-1deb12u1, Debian, OpenJDK 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.motif.MotifLookAndFeel Screen: :0.0 1024x768x[Multi depth]@75Hz (scaling 1.00×1.00) Maximum Screen Size: 1024×768 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: LXDE Java package: openjdk-17-jre:amd64-17.0.17+10-1~deb12u1 Java ATK Wrapper package: libatk-wrapper-java:all-0.40.0-3 libcommons-compress-java: libcommons-compress-java:all-1.22-1 libcommons-logging-java: libcommons-logging-java:all-1.2-3 fonts-noto: fonts-noto:all-20201225-1 VM arguments: [--module-path=/usr/share/openjfx/lib, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, -Djosm.restart=true, -Djava.net.useSystemProxies=true, -XX:MaxRAMPercentage=75.0, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED] Dataset consistency test: No problems found Plugins: + FastDraw (36438) + MakeParallel (v1.1.0) + Mapillary (1814) + MultiLineToolbar (1767124840) + PerpendicularWayFromNode (1.0.0) + RoadSigns (36438) + apache-commons (36438) + apache-http (36438) + buildings_tools (36438) + changeset-viewer (1746100587) + comfort0 (36438) + conflation (274) + contourmerge (v0.2.2) + ejml (36438) + fastdriveway (v1.0.1) + geotools (36438) + jackson (36438) + jaxb (36438) + jna (36438) + jts (36438) + measurement (36438) + merge-overlap (36438) + opendata (36460) + osm-obj-info (69) + reverter (36447) + sidewalks (71) + turnrestrictions (36458) + undelete (36438) + utilsplugin2 (36438) + waydownloader (36438) + wikipedia (441) Tagging presets: + https://josm.openstreetmap.de/josmfile?page=Presets/Addr2&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Crafts&zip=1 + https://cdn.jsdelivr.net/npm/name-suggestion-index@latest/dist/presets/nsi-josm-presets.min.xml + https://josm.openstreetmap.de/josmfile?page=Presets/NewTags&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/OneClick&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/ParcelLockers&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Playground_Equipment&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Simple_Indoor_Tagging&zip=1 + https://osmtools.de/josm/steps.xml + https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/Quick-highways&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/CommonKeyboardShortcuts&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/FitnessStationEquipment&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/NewParkingFeatures&zip=1 + https://josm.openstreetmap.de/josmfile?page=Presets/StreetCabinet&zip=1 Map paint styles: - https://raw.githubusercontent.com/tordanik/direction-cones-style/refs/heads/main/direction-cones.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Lit&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/BuildingColors&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/ColorWays&zip=1 - https://raw.githubusercontent.com/yopaseopor/indoormap/master/indoormap-style.mapcss - https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Enhanced_Lane_and_Road_Attributes&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Landcover&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/LastUpdated&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/SidewalksAndFootways&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/MaxspeedIcons&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Surface&zip=1 - https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1 Validator rules: + https://josm.openstreetmap.de/josmfile?page=Rules/CheckDate&zip=1 + https://josm.openstreetmap.de/josmfile?page=Rules/MissingMain&zip=1 Last errors/warnings: - 00093.485 E: Failed to locate image 'lastupdated.png' - 00093.490 W: Mappaint style "standard" (LastUpdated) icon "lastupdated.png" not found. - 00287.032 E: Failed to locate image 'mapmode/presets/transport/way/way_pedestrian.svg' - 00327.566 E: Handled by bug report queue: net.simon04.comfort0.level0l.parsergen.TokenMgrError: Lexical error at line 793, column 17. Encountered: '\u0442' (1090), after prefix "-" === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (20) of main net.simon04.comfort0.level0l.parsergen.TokenMgrError: Lexical error at line 793, column 17. Encountered: '\u0442' (1090), after prefix "-" at net.simon04.comfort0.level0l.parsergen.Level0LParserTokenManager.getNextToken(Level0LParserTokenManager.java:756) at net.simon04.comfort0.level0l.parsergen.Level0LParser.jj_ntk_f(Level0LParser.java:838) at net.simon04.comfort0.level0l.parsergen.Level0LParser.way_node(Level0LParser.java:349) at net.simon04.comfort0.level0l.parsergen.Level0LParser.way_data(Level0LParser.java:301) at net.simon04.comfort0.level0l.parsergen.Level0LParser.way(Level0LParser.java:231) at net.simon04.comfort0.level0l.parsergen.Level0LParser.primitives(Level0LParser.java:34) at net.simon04.comfort0.EditLevel0LAction.readLevel0(EditLevel0LAction.java:111) at net.simon04.comfort0.PasteLevel0LAction.actionPerformed(PasteLevel0LAction.java:62) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374) at java.desktop/com.sun.java.swing.plaf.motif.MotifMenuItemUI$MouseInputHandler.mouseReleased(MotifMenuItemUI.java:95) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6626) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3389) at java.desktop/java.awt.Component.processEvent(Component.java:6391) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5001) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4833) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Attachments (0)
Change History (5)
comment:1 by , 2 weeks ago
comment:3 by , 2 weeks ago
I might try, but these facts might be useful for the solution if they are of some significance:
-Before using comfort0 plugin, I used conflation plugin, too. I made a conflation between cadastre data and downloaded data from OSM.
-Several rows with copied data from JOSM into the text file were deleted and modified. There was unnecessary information. I didn't delete data as OSM way iDs or similar. Just unnecessary tags that have not to be uploaded.
comment:4 by , 2 weeks ago
The parser complains about a special character \u0442 following a '-'. So, the question is if you created a wrong syntax or if the data already contained the problem without your changes.
My guess would be a mixture of file encodings (utf-8 and someting else)
comment:5 by , 2 weeks ago
Thank you for your answer. I made edits without any problems before minutes. I'll have in mind your offer for the next time a problem appears.



I am the author of this report. Today the same happened. Maybe it's due to my manual editing mistakes, but here you are an error log: