Opened 8 months ago

Last modified 8 months ago

#24013 closed defect

Error when routing between two nearby locations — at Version 1

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

Description (last modified by taylor.smock)

Revision:19253
Build-Date:2024-10-31 17:43:38

Identification: JOSM/1.5 (19253 en) Mac OS X 15.1
OS Build number: macOS 15.1 (24B83)
Memory Usage: 1544 MB / 12288 MB (630 MB allocated, but free)
Java version: 21.0.5+11-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 1 1800x1169x32bpp@120Hz (scaling 2.00×2.00) Display 2 3360x1890x32bpp@60Hz (scaling 2.00×2.00)
Maximum Screen Size: 3360×1890
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_US
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=19253, -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:
+ MapRoulette (40)
+ Mapillary (1778)
+ apache-commons (36349)
+ flatlaf (36349)
+ josm_magic_wand (2.0.3)
+ mapwithai (837)
+ pbf (36348)
+ pmtiles (36219)
+ routing2 (10)
+ sidewalks (71)
+ utilsplugin2 (36350)

Map paint styles:
+ https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1

Last errors/warnings:
- 00737.349 E:   Reason: tried: '/libprotobuf-lite.28.3.0.dylib' (no such file), '/Applications/JOSM.app/Contents/app/libprotobuf-lite.28.3.0.dylib' (no such file), '/opt/homebrew/opt/protobuf/lib/libprotobuf-lite.28.3.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/protobuf/lib/libprotobuf-lite.28.3.0.dylib' (no such file), '/opt/homebrew/opt/protobuf/lib/libprotobuf-lite.28.3.0.dylib' (no such file)
- 00737.836 E: 2024-11-15 15:31:49,920 CRITICAL: Couldn't find usable tiles in <josm.userdata>/routing2/valhalla_tiles
- 00738.503 E: dyld[88340]: Library not loaded: /opt/homebrew/opt/protobuf/lib/libprotobuf-lite.28.3.0.dylib
- 00738.503 E:   Referenced from: <C7666BAC-7864-3C42-834B-431F560ACEC1> <josm.userdata>/routing2/bin/valhalla/bin/valhalla_service
- 00738.503 E:   Reason: tried: '/libprotobuf-lite.28.3.0.dylib' (no such file), '/Applications/JOSM.app/Contents/app/libprotobuf-lite.28.3.0.dylib' (no such file), '/opt/homebrew/opt/protobuf/lib/libprotobuf-lite.28.3.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/protobuf/lib/libprotobuf-lite.28.3.0.dylib' (no such file), '/opt/homebrew/opt/protobuf/lib/libprotobuf-lite.28.3.0.dylib' (no such file)
- 00738.542 E: Thread main-worker-0 raised jakarta.json.stream.JsonParsingException: Invalid token=EOF at (line no=1, column no=0, offset=-1). Expected tokens are: [CURLYOPEN, SQUAREOPEN, STRING, NUMBER, TRUE, FALSE, NULL]
- 00738.543 E: Handled by bug report queue: jakarta.json.stream.JsonParsingException: Invalid token=EOF at (line no=1, column no=0, offset=-1). Expected tokens are: [CURLYOPEN, SQUAREOPEN, STRING, NUMBER, TRUE, FALSE, NULL]
- 00765.755 W: Invalid plugin main version '${plugin.main.version}' in plugin routing2
- 00765.801 W: Invalid plugin main version '${plugin.main.version}' in plugin routing2
- 00765.859 W: Invalid plugin main version '${plugin.main.version}' in plugin routing2



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

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: main-worker-0 (37)
jakarta.json.stream.JsonParsingException: Invalid token=EOF at (line no=1, column no=0, offset=-1). Expected tokens are: [CURLYOPEN, SQUAREOPEN, STRING, NUMBER, TRUE, FALSE, NULL]
	at org.eclipse.parsson.JsonParserImpl.parsingException(JsonParserImpl.java:460)
	at org.eclipse.parsson.JsonParserImpl.access$1000(JsonParserImpl.java:55)
	at org.eclipse.parsson.JsonParserImpl$NoneContext.getNextEvent(JsonParserImpl.java:448)
	at org.eclipse.parsson.JsonParserImpl.next(JsonParserImpl.java:360)
	at org.eclipse.parsson.JsonReaderImpl.readObject(JsonReaderImpl.java:84)
	at org.openstreetmap.josm.plugins.routing2.lib.valhalla.ValhallaServer.generateRoute(ValhallaServer.java:87)
	at org.openstreetmap.josm.plugins.routing2.RoutingLayer.lambda$commandChanged$1(RoutingLayer.java:160)
	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 1731713510626 ====
jakarta.json.stream.JsonParsingException: Invalid token=EOF at (line no=1, column no=0, offset=-1). Expected tokens are: [CURLYOPEN, SQUAREOPEN, STRING, NUMBER, TRUE, FALSE, NULL]
	at org.eclipse.parsson.JsonParserImpl.parsingException(JsonParserImpl.java:460)
	at org.eclipse.parsson.JsonParserImpl.access$1000(JsonParserImpl.java:55)
	at org.eclipse.parsson.JsonParserImpl$NoneContext.getNextEvent(JsonParserImpl.java:448)
	at org.eclipse.parsson.JsonParserImpl.next(JsonParserImpl.java:360)
	at org.eclipse.parsson.JsonReaderImpl.readObject(JsonReaderImpl.java:84)
	at org.openstreetmap.josm.plugins.routing2.lib.valhalla.ValhallaServer.generateRoute(ValhallaServer.java:87)
	at org.openstreetmap.josm.plugins.routing2.RoutingLayer.lambda$commandChanged$1(RoutingLayer.java:160)
	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)

Change History (1)

comment:1 by taylor.smock, 8 months ago

Component: CorePlugin
Description: modified (diff)
Owner: changed from team to taylor.smock
Status: newassigned
Note: See TracTickets for help on using tickets.