Opened 9 years ago

Last modified 7 years ago

#13924 closed defect

Bug in displaying multipolygon — at Version 5

Reported by: info@… Owned by: team
Priority: normal Milestone:
Component: Core mappaint Version:
Keywords: template_report, multipolygon Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Download a small area containing the coastline of the "Markermeer" (relation 49368)
  2. Via the relationship editor, do "download all members"

What is the expected result?

All elements of the multipolygons are displayed

What happens instead?

Not all elements are displayed, even though they are downloaded. I can select the nodes that are unseen.
JOSM gives "unexpected exception" errors

Please provide any additional information below. Attach a screenshot if possible.

compressed file to be displayed in Trac

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-09-06 00:16:07 +0200 (Tue, 06 Sep 2016)
Build-Date:2016-09-05 22:21:00
Revision:10966
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10966 en) Linux Ubuntu 16.04.1 LTS
Memory Usage: 1188 MB / 3540 MB (598 MB allocated, but free)
Java version: 1.8.0_111-8u111-b14-2ubuntu0.16.04.2-b14, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1920x1080, :0.1 1920x1080
Maximum Screen Size: 1920x1080
Java package: openjdk-8-jre:amd64-8u111-b14-2ubuntu0.16.04.2
VM arguments: [-Djosm.restart=true, -Djava.net.useSystemProxies=true]
Dataset consistency test: No problems found

Plugins:
+ PicLayer (32796)
+ pt_assistant (32990)
+ turnrestrictions (32796)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/Maxspeed-zones&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/PublicTransportOneClick&zip=1

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Maxspeed&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Styles/PublicTransport&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1

Last errors/warnings:
- E: java.net.SocketException: Socket closed
- W: java.net.SocketTimeoutException: connect timed out
- E: java.net.SocketTimeoutException: connect timed out
- E: java.util.concurrent.ExecutionException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketTimeoutException: connect timed out
- W: java.net.SocketTimeoutException: connect timed out
- E: java.net.SocketTimeoutException: connect timed out
- E: java.util.concurrent.ExecutionException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketTimeoutException: connect timed out
- W: java.net.SocketTimeoutException: Read timed out
- E: java.net.SocketTimeoutException: Read timed out
- E: java.util.concurrent.ExecutionException: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketTimeoutException: Read timed out


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (19) of main
java.lang.NullPointerException
	at org.openstreetmap.josm.gui.MapViewState$MapViewEastNorthPoint.getInViewX(MapViewState.java:581)
	at org.openstreetmap.josm.gui.MapViewState$MapViewPoint.oneNormInView(MapViewState.java:509)
	at org.openstreetmap.josm.data.osm.visitor.paint.AbstractMapRenderer.isLargeSegment(AbstractMapRenderer.java:199)
	at org.openstreetmap.josm.actions.mapmode.SelectAction$VirtualManager.activateVirtualNodeNearPoint(SelectAction.java:1197)
	at org.openstreetmap.josm.actions.mapmode.SelectAction$VirtualManager.access$300(SelectAction.java:1158)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:256)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.giveUserFeedback(SelectAction.java:235)
	at org.openstreetmap.josm.actions.mapmode.SelectAction.mouseMoved(SelectAction.java:473)
	at java.awt.AWTEventMulticaster.mouseMoved(AWTEventMulticaster.java:330)
	at java.awt.Component.processMouseMotionEvent(Component.java:6578)
	at javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3342)
	at java.awt.Component.processEvent(Component.java:6302)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4538)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	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:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	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)

Change History (7)

by info@…, 9 years ago

Attachment: SS_osm1.png added

Markermeer, showing some nodes of a way that isn't shown.

comment:1 by openstreetmap.org-user-d1g, 9 years ago

You can use Help/Action/JumpToPosition to tell us exact place (URL) where this bug occurs.

Please clarify steps how to get an incomplete relation 49368.

comment:2 by anonymous, 9 years ago

The location was https://www.openstreetmap.org/#map=15/52.63862/5.19148

But I couldn't reproduce the bug.
I came upon this when i was researching what went wrong in OSMand, see https://forum.openstreetmap.org/viewtopic.php?pid=616626#p616626 (showing water where there shouldn't be any, especially visible round the railroad tracks)

comment:3 by michael2402, 9 years ago

Component: CoreCore mappaint

comment:4 by Don-vip, 7 years ago

Keywords: multipolygon added

by Don-vip, 7 years ago

Attachment: SS_osm1_compressed.png added

compressed file to be displayed in Trac

comment:5 by Don-vip, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.