Modify

Opened 5 weeks ago

Last modified 5 weeks ago

#24380 needinfo defect

Error when loading an area

Reported by: thefighter137@… Owned by: thefighter137@…
Priority: normal Milestone:
Component: Core Version: latest
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. Open JOSM
  2. Use it for a few minutes with the Continuous download plugin

What is the expected result?

I can load areas without issues

What happens instead?

I load an area as expected, but a JOSM window appears with an error message (which I can ignore to continue working)

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-06-02 16:42:20 +0200 (Mon, 02 Jun 2025)
Revision:19412
Build-Date:2025-06-03 01:30:55
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (19412 en_GB) Linux Mint 22.1
Memory Usage: 1104 MB / 24000 MB (547 MB allocated, but free)
Java version: 21.0.7+6-Ubuntu-0ubuntu124.04, Ubuntu, OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.gtk.GTKLookAndFeel
Screen: :0.0 1882x1058x[Multi depth]@50Hz (scaling 1.00×1.00)
Maximum Screen Size: 1882×1058
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_GB.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: X-Cinnamon
Java package: openjdk-21-jre:amd64-21.0.7+6~us1-0ubuntu1~24.04
fonts-noto: fonts-noto:all-20201225-2
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:
+ CustomizePublicTransportStop (36438)
+ DirectDownload (36438)
+ Mapillary (5bfecee)
+ OpeningHoursEditor (36438)
+ apache-commons (36438)
+ buildings_tools (36438)
+ continuosDownload (6eecaa8)
+ gridify (1743579163)
+ reltoolbox (36438)
+ tageditor (36438)
+ turnlanes (36438)
+ turnlanes-tagging (1746100629)
+ turnrestrictions (36438)
+ utilsplugin2 (36438)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/FranceRoads&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/LaneAttributes&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/ParkingLanes&zip=1
+ https://raw.githubusercontent.com/yopaseopor/traffic_signs_preset_JOSM/master/FR.zip
+ https://josm.openstreetmap.de/josmfile?page=Presets/TurnLanes&zip=1

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/BesideTheRoad_Speed&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/BuildingColors&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Cycleways&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/FixmeAndNote&zip=1
+ https://gitlab.com/cartocite/josm-style-traffic-signs-orientation/-/raw/main/traffic_sign_orientation_style.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/ParkingLanes&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/SidewalksAndFootways&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1
+ https://raw.githubusercontent.com/Maerek/Better-iD/refs/heads/main/better-id.mapcss

Last errors/warnings:
- 00014.278 E: Bad Request - <html>The OSM server 'api.openstreetmap.org' reported a bad request.<br><br>The area you tried to download is too big or your request was too large.<br>Either request a smaller area or use an export file provided by the OSM community.<br><br>Downloading a smaller area is <em>recommended</em>!<br><br>Advanced users can use one of the following options:<br><ul><li><a href="https://josm.openstreetmap.de/wiki/Help/Action/Download#DownloadfromOverpassAPI">Overpass</a></li><li><a href="https://www.geofabrik.de/data/download.html">Geofabrik</a></li><li><a href="https://planet.openstreetmap.org/">OSM Planet File</a></li></ul></html>
- 00024.363 W: Region [WMS_BLOCK_v2] : Problem verifying disk.
- 00338.299 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00363.587 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00498.308 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00579.812 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00607.452 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00615.955 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 00616.604 W: Unable to convert property color to type class java.awt.Color: found leisuretrack#de5b82b of type class java.lang.String!
- 01222.323 E: Handled by bug report queue: java.lang.InternalError: Odd number of new curves!



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (41) of main
java.lang.InternalError: Odd number of new curves!
	at java.desktop/sun.awt.geom.AreaOp.resolveLinks(AreaOp.java:452)
	at java.desktop/sun.awt.geom.AreaOp.pruneEdges(AreaOp.java:393)
	at java.desktop/sun.awt.geom.AreaOp.calculate(AreaOp.java:159)
	at java.desktop/java.awt.geom.Area.pathToCurves(Area.java:195)
	at java.desktop/java.awt.geom.Area.<init>(Area.java:126)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.paintHatch(OsmDataLayer.java:556)
	at org.openstreetmap.josm.gui.layer.OsmDataLayer.paint(OsmDataLayer.java:532)
	at org.openstreetmap.josm.gui.layer.AbstractMapViewPaintable$CompatibilityModeLayerPainter.paint(AbstractMapViewPaintable.java:27)
	at org.openstreetmap.josm.gui.MapView.paintLayer(MapView.java:487)
	at org.openstreetmap.josm.gui.MapView.drawMapContent(MapView.java:603)
	at org.openstreetmap.josm.gui.MapView.paint(MapView.java:509)
	at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:961)
	at java.desktop/javax.swing.JComponent.paint(JComponent.java:1137)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(JComponent.java:5318)
	at java.desktop/javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:255)
	at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1336)
	at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5266)
	at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5076)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:878)
	at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:861)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:861)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:834)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:784)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1897)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
	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:400)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	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 (4)

comment:1 by stoecker, 5 weeks ago

Resolution: needinfo
Status: newclosed

This seems an issue due to a mappaint drawing style. Check which one causes this issue.

comment:2 by stoecker, 5 weeks ago

Resolution: needinfo
Status: closedreopened

comment:3 by stoecker, 5 weeks ago

Owner: changed from team to thefighter137@…
Status: reopenedneedinfo

comment:4 by thefighter137@…, 5 weeks ago

Somehow with all of my paint styles enabled I can't reproduce the issue again, weird

Modify Ticket

Change Properties
Set your email in Preferences
Action
as needinfo The owner will remain thefighter137@….
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from thefighter137@… to the specified user. Next status will be 'new'.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from thefighter137@… to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.