... the user friendly GPS tool


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux - problem loading RouteConverter
#1
I normally run RouteConverter for windows within VBox, but decided to try running it in my normal desktop - Linux Mint 19 - without any success.

Instead of starting the program the output on my machine is below my signature.

Any suggestions as to a soloution? I did change the properties of RouteConverter to allow it to be run as a programme before attempting this.

Java version details are:-
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-Ubuntu-1ubuntu218.04.1)
OpenJDK 64-Bit Server VM (build 11.0.3+7-Ubuntu-1ubuntu218.04.1, mixed mode, sharing)


Thanks

Howard

==============================================================


Vostro-5481:~/Software$ java -jar RouteConverterLinux.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by slash.navigation.gui.Application (file:/home/******/Software/RouteConverterLinux.jar) to field java.util.ResourceBundle.parent
WARNING: Please consider reporting this to the maintainers of slash.navigation.gui.Application
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Logging to console and /tmp/RouteConverter.log
Jul 06, 2019 3:02:08 PM slash.navigation.converter.gui.RouteConverter initializeLogging
INFO: Started RouteConverter OpenSource Edition 2.26 from 20 May 2019 for Linux with locale en_GB on Oracle Corporation Java 11.0.3 (64-bit) and Linux 4.15.0-52-generic amd64 with 1964 MByte heap
Jul 06, 2019 3:02:08 PM slash.navigation.gui.helpers.JTableHelper calculateRowHeight
INFO: Using row height 29 for table slash.navigation.converter.gui.panels.ConvertPanel@48ca873f
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.panels.ConvertPanel logFormatUsage
INFO: Format usage:
Jul 06, 2019 3:02:09 PM slash.navigation.datasources.DataSourceManager initialize
INFO: Initializing edition 'offline' from /home/******/.routeconverter/datasources/offline.xml
Jul 06, 2019 3:02:09 PM slash.navigation.datasources.DataSourceManager loadEdition
WARNING: Cannot find edition file /home/******/.routeconverter/datasources/offline.xml
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.ElevationServiceFacade addElevationService
INFO: Added elevation service 'Automatic'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.GeocodingServiceFacade addGeocodingService
INFO: Added geocoding service 'Automatic'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.GeocodingServiceFacade addGeocodingService
INFO: Added geocoding service 'GeoNames'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.GeocodingServiceFacade addGeocodingService
INFO: Added geocoding service 'Nominatim'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.GeocodingServiceFacade addGeocodingService
INFO: Added geocoding service 'Photon'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.RoutingServiceFacade addRoutingService
INFO: Added routing service 'Beeline'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.RoutingServiceFacade addRoutingService
INFO: Added routing service 'BRouter'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.helpers.RoutingServiceFacade addRoutingService
INFO: Added routing service 'GraphHopper'
Jul 06, 2019 3:02:09 PM slash.navigation.download.DownloadManager loadQueue
INFO: Loading download queue from '/home/******/.routeconverter/offline-queue.xml'
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.RouteConverter initializeDividers
INFO: Initialized map divider to 300
Jul 06, 2019 3:02:09 PM slash.navigation.datasources.DataSourceManager update
INFO: Updating edition 'offline' from https://api.routeconverter.com/ to /home/******/.routeconverter/datasources
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.RouteConverter initializeDividers
INFO: Initialized profile divider to 888
Jul 06, 2019 3:02:09 PM slash.navigation.maps.mapsforge.MapsforgeMapManager scanMaps
INFO: Collected 0 map files from /home/******/.routeconverter/maps in 28 milliseconds
Jul 06, 2019 3:02:09 PM slash.navigation.maps.mapsforge.MapsforgeMapManager scanThemes
INFO: Collected 0 theme files from /home/******/.routeconverter/themes in 0 milliseconds
Jul 06, 2019 3:02:09 PM slash.navigation.download.DownloadManager queue
INFO: Starting new download slash.navigation.download.Download@94a96f5c[action=Copy, url=https://api.routeconverter.com/v1/editions/offline/?format=xml]
Jul 06, 2019 3:02:09 PM slash.navigation.download.DownloadManager queue
INFO: Starting new download slash.navigation.download.Download@3d4cf0c7[action=Copy, url=https://api.routeconverter.com/v1/mapservers/?format=xml]
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.RouteConverter lambda$initializeDatasources$14
WARNING: Could not update datasource manager: java.lang.IllegalArgumentException: Download slash.navigation.download.Download@94a96f5c[action=Copy, url=https://api.routeconverter.com/v1/editions/offline/?format=xml] not found in [slash.navigation.download.Download@3d4cf0c7[action=Copy, url=https://api.routeconverter.com/v1/mapservers/?format=xml]], java.lang.IllegalArgumentException: Download slash.navigation.download.Download@94a96f5c[action=Copy, url=https://api.routeconverter.com/v1/editions/offline/?format=xml] not found in [slash.navigation.download.Download@3d4cf0c7[action=Copy, url=https://api.routeconverter.com/v1/mapservers/?format=xml]]
at slash.navigation.download.DownloadTableModel.addDownload(DownloadTableModel.java:83)
at slash.navigation.download.DownloadTableModel.addOrUpdateDownload(DownloadTableModel.java:107)
at slash.navigation.download.DownloadManager.startExecutor(DownloadManager.java:211)
at slash.navigation.download.DownloadManager.queue(DownloadManager.java:260)
at slash.navigation.download.DownloadManager.queueForDownload(DownloadManager.java:270)
at slash.navigation.datasources.DataSourceManager.downloadEdition(DataSourceManager.java:140)
at slash.navigation.datasources.DataSourceManager.update(DataSourceManager.java:119)
at slash.navigation.converter.gui.RouteConverter.lambda$initializeDatasources$14(RouteConverter.java:1266)
at java.base/java.lang.Thread.run(Thread.java:834)


Jul 06, 2019 3:02:09 PM slash.navigation.download.DownloadManager queue
INFO: Starting new download slash.navigation.download.Download@665097fc[action=Copy, url=https://static.routeconverter.com/maps/world.map]
Jul 06, 2019 3:02:09 PM slash.navigation.download.performer.GetPerformer download
INFO: Downloading null bytes from https://api.routeconverter.com/v1/mapser...format=xml with ETag null
Jul 06, 2019 3:02:09 PM slash.navigation.download.performer.GetPerformer download
INFO: Downloading null bytes from https://static.routeconverter.com/maps/world.map with ETag null
Jul 06, 2019 3:02:10 PM slash.navigation.download.actions.Validator determineExistTargets
WARNING: FileAndChecksum[file=/home/******/.routeconverter/maps/routeconverter/world.map, expectedChecksum=null, actualChecksum=null] does not exist
Jul 06, 2019 3:02:10 PM slash.navigation.download.actions.Validator determineExistTargets
WARNING: FileAndChecksum[file=/home/******/.routeconverter/tileservers/mapservers.xml, expectedChecksum=null, actualChecksum=null] does not exist
Jul 06, 2019 3:02:11 PM slash.navigation.download.performer.GetPerformer download
INFO: Download from https://static.routeconverter.com/maps/world.map returned with status code 200 and content length 1403310
Jul 06, 2019 3:02:11 PM slash.navigation.download.performer.GetPerformer download
INFO: Download from https://api.routeconverter.com/v1/mapser...format=xml returned with status code 200 and content length null
Jul 06, 2019 3:02:12 PM slash.navigation.download.DownloadManager queue
INFO: Starting new download slash.navigation.download.Download@b11c1c53[action=Copy, url=https://api.routeconverter.com/v1/overlayservers/?format=xml]
Jul 06, 2019 3:02:12 PM slash.navigation.download.performer.GetPerformer download
INFO: Downloading null bytes from https://api.routeconverter.com/v1/overla...format=xml with ETag null
Jul 06, 2019 3:02:12 PM slash.navigation.download.actions.Validator determineExistTargets
WARNING: FileAndChecksum[file=/home/******/.routeconverter/tileservers/overlayservers.xml, expectedChecksum=null, actualChecksum=null] does not exist
Jul 06, 2019 3:02:12 PM slash.navigation.download.performer.GetPerformer download
INFO: Download from https://api.routeconverter.com/v1/overla...format=xml returned with status code 200 and content length null
Jul 06, 2019 3:02:13 PM slash.navigation.maps.tileserver.helpers.TileServerService initialize
INFO: Initialized overlay server definitions from /home/******/.routeconverter/tileservers/overlayservers.xml
Jul 06, 2019 3:02:13 PM slash.navigation.maps.tileserver.helpers.TileServerService initialize
INFO: Initialized map server definitions from /home/******/.routeconverter/tileservers/mapservers.xml
Jul 06, 2019 3:02:13 PM slash.navigation.gui.actions.ActionManager logUsage
INFO: Action usage:
Jul 06, 2019 3:02:13 PM slash.navigation.converter.gui.RouteConverter parseInitialArgs
INFO: Processing initial arguments: []
Jul 06, 2019 3:02:13 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Screen size is java.awt.Rectangle[x=0,y=0,width=1600,height=900], insets are java.awt.Insets[top=0,left=0,bottom=27,right=0]
Jul 06, 2019 3:02:13 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame size is java.awt.Dimension[width=892,height=680]
Jul 06, 2019 3:02:13 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame location is java.awt.Point[x=354,y=96]
Jul 06, 2019 3:02:13 PM slash.navigation.gui.SingleFrameApplication openFrame
INFO: Frame state is 0
Jul 06, 2019 3:02:13 PM slash.navigation.converter.gui.RouteConverter setMapView
INFO: Using map view Mapsforge
Jul 06, 2019 3:02:13 PM slash.navigation.mapview.mapsforge.MapsforgeMapView createMapView
INFO: Map is scaled with factor 1.000000, screen resolution is 96 dpi
Jul 06, 2019 3:02:13 PM slash.navigation.gui.SingleFrameApplication putPreferencesSize
INFO: Storing frame size as java.awt.Dimension[width=884,height=678]
Jul 06, 2019 3:02:14 PM slash.navigation.gui.SingleFrameApplication putPreferencesLocation
INFO: Storing frame location as java.awt.Point[x=354,y=96]
Jul 06, 2019 3:02:14 PM slash.navigation.gui.SingleFrameApplication putPreferencesLocation
INFO: Storing graphics device as :0.0
Jul 06, 2019 3:02:14 PM slash.navigation.mapview.mapsforge.MapsforgeMapView handleMapAndThemeUpdate
INFO: Using map [OpenStreetMap[url=http://www.openstreetmap.org/]] and them
p { margin-bottom: 0.25cm; line-height: 115%; }
Reply
#2
(06.07.2019, 14:35)HowardB Wrote: Any suggestions as to a soloution?

Something is going wrong  during the initialization of RouteConverter. Maybe there is no internet?

Code:
Jul 06, 2019 3:02:09 PM slash.navigation.converter.gui.RouteConverter lambda$initializeDatasources$14
WARNING: Could not update datasource manager: java.lang.IllegalArgumentException: Download slash.navigation.download.Download@94a96f5c[action=Copy, url=https://api.routeconverter.com/v1/editions/offline/?format=xml] not found in [slash.navigation.download.Download@3d4cf0c7[action=Copy, url=https://api.routeconverter.com/v1/mapservers/?format=xml]], java.lang.IllegalArgumentException: Download slash.navigation.download.Download@94a96f5c[action=Copy, url=https://api.routeconverter.com/v1/editions/offline/?format=xml] not found in [slash.navigation.download.Download@3d4cf0c7[action=Copy, url=https://api.routeconverter.com/v1/mapservers/?format=xml]]
at slash.navigation.download.DownloadTableModel.addDownload(DownloadTableModel.java:83)
at slash.navigation.download.DownloadTableModel.addOrUpdateDownload(DownloadTableModel.java:107)
at slash.navigation.download.DownloadManager.startExecutor(DownloadManager.java:211)
at slash.navigation.download.DownloadManager.queue(DownloadManager.java:260)
at slash.navigation.download.DownloadManager.queueForDownload(DownloadManager.java:270)
at slash.navigation.datasources.DataSourceManager.downloadEdition(DataSourceManager.java:140)
at slash.navigation.datasources.DataSourceManager.update(DataSourceManager.java:119)
at slash.navigation.converter.gui.RouteConverter.lambda$initializeDatasources$14(RouteConverter.java:1266)
at java.base/java.lang.Thread.run(Thread.java:834)


(06.07.2019, 14:35)HowardB Wrote: I did change the properties of RouteConverter to allow it to be run as a programme before attempting this.

What does that mean?
--
Christian
Reply
#3
Christian

The machine was connected through WiFi and had should have had no problems accessing the web sites involved. I will try again via Ethernet and see if the problem goes away as it may simply have timed out while waiting for a reply.

All Linux files have a series of permissions & one suggestion I picked up when looking at the failure was to check the permission to allow it to be run as a program (by Java)

Thanks and will revert with my results
Reply
#4
You could delete all metadata XML files below /home/******/.routeconverter/datasources and try again
--
Christian
Reply
#5
Hi Christian,

I deleted the .xml files and tried again with much better results, RouteConverter opened at the second attempt but its still throwing up error messages:-

Software$ java -jar RouteConverterLinux.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by slash.navigation.gui.Application (file:/home/howard/Software/RouteConverterLinux.jar) to field java.util.ResourceBundle.parent
WARNING: Please consider reporting this to the maintainers of slash.navigation.gui.Application
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Logging to console and /tmp/RouteConverter.log
Jul 14, 2019 8:22:42 PM slash.navigation.converter.gui.RouteConverter initializeLogging
INFO: Started RouteConverter OpenSource Edition 2.26 from 20 May 2019 for Linux with locale en_GB on Oracle Corporation Java 11.0.3 (64-bit) and Linux 4.15.0-54-generic amd64 with 1964 MByte heap
Reply
#6
I tried to upload a screen shot but failed to work out how to do it here. The screen shot appears complete with map etc. but would like to sort out the error messages before I use it for creating a route.

Thanks

Howard
Reply
#7
I found this comment on the following blog:-

https://octopus.com/blog/using-the-wildfly-cli

First, Java 9 has reported some “Illegal reflective access” warnings. This sounds dire, but is because of some intentional changes introduced with the Java 9 module system (known as Jigsaw). I expect that over time these warnings will be resolved, but for now they can be ignored.

Does this apply here?
Reply
#8
(15.07.2019, 11:14)HowardB Wrote: Does this apply here?

Yes, you can safely ignore the warning:

Quote:WARNING: Illegal reflective access by slash.navigation.gui.Application (file:/home/******/Software/RouteConverterLinux.jar) to field java.util.ResourceBundle.parent

There is simply no other way to chain java.util.ResourceBundles and thus I keep it as long as it works.
--
Christian
Reply
#9
Btw, I've found a way to avoid the warnings in the latest prereleases. Please test and report!
--
Christian
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)