Modify

Opened 12 months ago

Last modified 12 months ago

#23301 needinfo defect

IAE: EastNorth is invalid in ParallelWays.changeOffset

Reported by: anonymous Owned by: anonymous
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

The programme crashed when I started to parallel move a section of service road with one-way designation. Unfortunately, I cannot give more information as to what I was doing beforehand that might have caused the issue.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-08-29 13:38:40 +0200 (Tue, 29 Aug 2023)
Revision:18822
Build-Date:2023-08-30 01:30:57
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18822 en_GB) Windows 11 64-Bit
OS Build number: Windows 10 Home 2009 (22000)
Memory Usage: 928 MB / 4064 MB (210 MB allocated, but free)
Java version: 17.0.9+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.25×1.25)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_GB
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ PolygonCutOut (v0.7.3)
+ buildings_tools (36178)
+ continuosDownload (103)
+ measurement (36126)
+ splinex (36126)
+ terracer (36181)

Last errors/warnings:
- 295875.810 E: java.net.SocketTimeoutException: Connect timed out
- 295875.835 E: org.openstreetmap.josm.io.OsmTransferException: Could not connect to the OSM server. Please check your internet connection.. Cause: java.net.SocketTimeoutException: Connect timed out
- 295875.853 E: IO Exception - <html>Failed to upload data to or download data from<br>'https://opengeofiction.net/api/0.6/map?bbox=145.3888607,-25.4693913,145.4014885,-25.4624461'<br>due to a problem with transferring data.<br>Details (untranslated): Connect timed out</html>
- 295884.565 W: java.net.SocketTimeoutException: Connect timed out
- 295884.579 W: java.net.SocketTimeoutException: Connect timed out
- 295884.579 W: java.net.SocketTimeoutException: Connect timed out
- 295884.579 W: java.net.SocketTimeoutException: Connect timed out
- 295884.596 W: java.net.SocketTimeoutException: Connect timed out
- 295884.596 W: java.net.SocketTimeoutException: Connect timed out
- 382789.067 E: Handled by bug report queue: java.lang.IllegalArgumentException: EastNorth[e=NaN, n=NaN] invalid

OSM API: https://opengeofiction.net/api


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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (23) of main
java.lang.IllegalArgumentException: EastNorth[e=NaN, n=NaN] invalid
	at org.openstreetmap.josm.tools.CheckParameterUtil.ensureThat(CheckParameterUtil.java:65)
	at org.openstreetmap.josm.tools.Geometry.segmentsParallel(Geometry.java:461)
	at org.openstreetmap.josm.actions.mapmode.ParallelWays.changeOffset(ParallelWays.java:154)
	at org.openstreetmap.josm.actions.mapmode.ParallelWayAction.mouseDragged(ParallelWayAction.java:435)
	at java.desktop/java.awt.AWTEventMulticaster.mouseDragged(AWTEventMulticaster.java:328)
	at java.desktop/java.awt.Component.processMouseMotionEvent(Component.java:6674)
	at java.desktop/javax.swing.JComponent.processMouseMotionEvent(JComponent.java:3407)
	at java.desktop/java.awt.Component.processEvent(Component.java:6395)
	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:4592)
	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 (2)

comment:1 by taylor.smock, 12 months ago

Summary: Unknown bug causing an apparent crashIAE: EastNorth is invalid in ParallelWays.changeOffset

comment:2 by taylor.smock, 12 months ago

Owner: changed from team to anonymous
Status: newneedinfo

@anonymous: What projection were you using? I need to figure out if the problem is in the conversion of LatLon to EastNorth or if we are missing a check.

I tried to reproduce with a node with Double.NaN and another node with Double.POSITIVE_INFINITY in a way. It doesn't seem to be a problem with the default mercator projection.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as needinfo The owner will remain anonymous.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from anonymous 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 remain 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.