Modify

Opened 4 months ago

Closed 4 months ago

#24072 closed defect (fixed)

Unexpected exception from routing2 while idle

Reported by: anonymous Owned by: taylor.smock
Priority: normal Milestone:
Component: Plugin routing2 Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

  1. I was using the plugin in one layer and moved to another layer to do some other work
  2. The routing layer was hidden
  3. Doing various other map tasks

What is the expected result?

Nothing from the routing plugin

What happens instead?

exception dialog

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

Revision:19277
Build-Date:2025-01-03 15:21:55

Identification: JOSM/1.5 (19277 en) Windows 11 64-Bit
OS Build number: Windows 10 Pro 24H2 (26100)
Memory Usage: 2720 MB / 65536 MB (373 MB allocated, but free)
Java version: 23.0.1+11, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel
Screen: \Display0 2560x1440x32bpp@59Hz (scaling 1.00×1.00) \Display1 3840x2160x32bpp@60Hz (scaling 1.50×1.50)
Maximum Screen Size: 3840×2160
Best cursor sizes: 16×16→48×48, 32×32→48×48
System property file.encoding: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_US
Numbers with default locale: 1234567890 -> 1234567890
Dataset consistency test: No problems found

Plugins:
+ FastDraw (36344)
+ FixAddresses (36344)
+ MicrosoftStreetside (36326)
+ PicLayer (1.0.3)
+ apache-commons (36349)
+ apache-http (36349)
+ buildings_tools (36344)
+ conflation (0.6.11)
+ continuosDownload (107)
+ contourmerge (v0.2.1)
+ damn (v0.14.1)
+ ejml (36348)
+ geotools (36349)
+ gridify (1718663815)
+ imagery_offset_db (36344)
+ jackson (36349)
+ javafx (36325)
+ jaxb (36349)
+ jna (36349)
+ josm_magic_wand (2.0.3)
+ jts (36349)
+ log4j (36348)
+ mapwithai (837)
+ opendata (36354)
+ pbf (36348)
+ pmtiles (36219)
+ reltoolbox (36344)
+ reverter (36354)
+ routing2 (7)
+ scripting (v0.3.1)
+ shrinkwrap (v1.1.3)
+ sidewalks (71)
+ tageditor (36350)
+ terracer (36344)
+ todo (141)
+ turnrestrictions (36344)
+ undelete (36349)
+ utilsplugin2 (36362)
+ wikipedia (418)

Tagging presets:
+ C:\OSM\JOSMPresets\watmildonCustom.xml

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/TigerReviewedNo&zip=1
- C:\Users\admin\Address Tags Validator - Highlight unaddressed
- https://josm.openstreetmap.de/josmfile?page=Styles/Modified&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- https://josm.openstreetmap.de/josmfile?page=Styles/Admin_Boundaries&zip=1
- C:\OSM\mapwiaipaintstyle
- https://josm.openstreetmap.de/josmfile?page=Styles/Waterways&zip=1
+ C:\OSM\josm-validator-rules\josm-validator-rules\paintstyles\TigerTagNoticer.mapcss

Validator rules:
- C:\OSM\Validator\GNISFixup.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\USStreetNameExpander-PrefixDirectional.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\USStreetNameExpander-PostfixDirectional.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\USStreetNameExpander.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\ALLCAPS-to-TitleCase.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\PhoneNumber-ITU-T-Formatter.validator.mapcss
- C:\Repos\josm-validator-rules\rules\ImportCleanup-San-Luis-Obispo-County.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\PhoneNumber-ITU-T-Formatter-Aggressive.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\NameTagCapitalization.validator.mapcss
- C:\Repos\josm-validator-rules\rules\LevelNotLayerIssues.validator.mapcss
- C:\Repos\josm-validator-rules\rules\CuisineFixups.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\FullAddressInStreetTag.validator.mapcss
- C:\Repos\josm-validator-rules\rules\RemoveCOVID19Tagging.validator.mapcss
- C:\Repos\josm-validator-rules\rules\whammo-PhoneFixup.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\USStreetNameExpander-UncommonExpansions.validator.mapcss
- C:\Repos\josm-validator-rules\rules\NHDToOSMTagRemap.validator.mapcss
- C:\Repos\josm-validator-rules\rules\VictoriaAddressFixup.validator.mapcss
- C:\Repos\josm-validator-rules\rules\CanVecTagging.validator.mapcss
- C:\Repos\josm-validator-rules\rules\Waterways.validator.mapcss
- C:\Repos\josm-validator-rules\USCensusPopulationInvestigation.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\TigerRemovalNudge.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\FeetToMeterConverter.validator.mapcss
+ https://github.com/hdevine825/josm-validator-rules/blob/main/rules%2FsidewalkCrossingNoKerb.validator.mapcss
- C:\Repos\josm-validator-rules\rules\USStreetName-CountyRoadsToRefs.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\OrdinalNumberCapitalization.validator.mapcss
+ C:\Repos\josm-validator-rules\rules\US-Boundary-Rules.validator.mapcss

Last errors/warnings:
- 124480.530 E: Failed to locate image 'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico'
- 124487.037 E: Failed to locate image 'https://prd-wret.s3.us-west-2.amazonaws.com/assets/palladium/production/s3fs-public/styles/content_list_thumbnail/public/thumbnails/image/USGS_logo_green_SQUARE.png'
- 125124.901 E: Failed to locate image 'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico'
- 125125.768 E: Failed to locate image 'https://www.spatial.nsw.gov.au/__data/assets/file/0017/224801/favicon.ico'
- 125635.495 E: 2025-01-08 21:25:33,505  INFO: Finished tarring 41 tiles to <josm.cache>\routing2\valhalla_tiles.tar
- 125635.599 E: 2025/01/09 05:25:33.609246 [INFO] Tile extract successfully loaded with tile count: 41
- 125635.599 E: 2025/01/09 05:25:33.609346 [WARN] (stat): /data/valhalla/traffic.tar No such file or directory
- 125635.600 E: 2025/01/09 05:25:33.609349 [WARN] Traffic tile extract could not be loaded
- 125635.655 E: Thread main-worker-0 raised org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"}
- 125635.659 E: Handled by bug report queue: org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"}



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (61)
org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"}
	at org.openstreetmap.josm.plugins.routing2.lib.valhalla.ValhallaServer.generateRoute(ValhallaServer.java:246)
	at org.openstreetmap.josm.plugins.routing2.RoutingLayer.lambda$commandChanged$1(RoutingLayer.java:245)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

=== ADDITIONAL EXCEPTIONS ===
==== Exception at 1736400333666 ====
org.openstreetmap.josm.tools.JosmRuntimeException: {"error_code":171,"status":"Bad Request","status_code":400,"error":"No suitable edges near location"}
	at org.openstreetmap.josm.plugins.routing2.lib.valhalla.ValhallaServer.generateRoute(ValhallaServer.java:246)
	at org.openstreetmap.josm.plugins.routing2.RoutingLayer.lambda$commandChanged$1(RoutingLayer.java:245)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 4 months ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain taylor.smock.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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