Modify ↓
Opened 2 months ago
Last modified 2 months ago
#24386 new defect
Hit an edge case of my bad polygon creation.
Reported by: | anonymous | Owned by: | KiaaTiX |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin polygoncutout | 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.
Revision:19412 Build-Date:2025-06-03 14:14:26 Identification: JOSM/1.5 (19412 en_GB) Mac OS X 13.7.6 OS Build number: macOS 13.7.6 (22H625) Memory Usage: 400 MB / 12288 MB (206 MB allocated, but free) Java version: 21.0.7+6-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM Look and Feel: com.apple.laf.AquaLookAndFeel Screen: Display 69731456 1920x1080x32bpp@[Unknown refresh rate] (scaling 1.00×1.00) Maximum Screen Size: 1920×1080 Best cursor sizes: 16×16→16×16, 32×32→32×32 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djpackage.app-version=19412, -XX:MaxRAMPercentage=75.0, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.apple.eawt=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=/Applications/JOSM.app/Contents/MacOS/JOSM] Dataset consistency test: No problems found Plugins: + PolygonCutOut (v0.7.3) + jaxb (36438) + jogl (1.2.3) + kendzi3d-resources (0.0.2) + log4j (36438) Last errors/warnings: - 00207.516 E: Handled by bug report queue: java.lang.ClassCastException: class org.openstreetmap.josm.data.osm.Relation cannot be cast to class org.openstreetmap.josm.data.osm.Way (org.openstreetmap.josm.data.osm.Relation and org.openstreetmap.josm.data.osm.Way are in unnamed module of loader 'app') === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (31) of main java.lang.ClassCastException: class org.openstreetmap.josm.data.osm.Relation cannot be cast to class org.openstreetmap.josm.data.osm.Way (org.openstreetmap.josm.data.osm.Relation and org.openstreetmap.josm.data.osm.Way are in unnamed module of loader 'app') at org.openstreetmap.josm.data.osm.RelationMember.getWay(RelationMember.java:62) at kiaatix.polygoncutout.util.QueryUtils.getMultiPolygons(QueryUtils.java:207) at kiaatix.polygoncutout.util.QueryUtils.getMultiPolygons(QueryUtils.java:90) at kiaatix.polygoncutout.util.QueryUtils.getMultiPolygons(QueryUtils.java:86) at kiaatix.polygoncutout.action.SplitPolygonAction.split(SplitPolygonAction.java:40) at kiaatix.polygoncutout.action.SplitPolygonAction.actionPerformed(SplitPolygonAction.java:34) at kiaatix.polygoncutout.action.AreaAction.actionPerformed(AreaAction.java:40) at java.desktop@21.0.7/javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at java.desktop@21.0.7/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at java.desktop@21.0.7/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at java.desktop@21.0.7/javax.swing.DefaultButtonModel.setPressed(Unknown Source) at java.desktop@21.0.7/javax.swing.AbstractButton.doClick(Unknown Source) at java.desktop@21.0.7/com.apple.laf.ScreenMenuItem.actionPerformed(Unknown Source) at java.desktop@21.0.7/java.awt.MenuItem.processActionEvent(Unknown Source) at java.desktop@21.0.7/java.awt.MenuItem.processEvent(Unknown Source) at java.desktop@21.0.7/java.awt.MenuComponent.dispatchEventImpl(Unknown Source) at java.desktop@21.0.7/java.awt.MenuComponent.dispatchEvent(Unknown Source) at java.desktop@21.0.7/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop@21.0.7/java.awt.EventQueue$4.run(Unknown Source) at java.desktop@21.0.7/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@21.0.7/java.awt.EventQueue$5.run(Unknown Source) at java.desktop@21.0.7/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@21.0.7/java.awt.EventQueue.dispatchEvent(Unknown Source) at java.desktop@21.0.7/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop@21.0.7/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop@21.0.7/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop@21.0.7/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop@21.0.7/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop@21.0.7/java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (1)
comment:1 by , 2 months ago
Component: | Core → Plugin polygoncutout |
---|---|
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.