Starting OffRoad-0.6b3 with OpenJDK-17 throws exception:
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_user_defined_other not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_shop not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_user_defined_other not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_tourism not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_user_defined_other not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_transportation not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_xmas not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_osmwiki not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_xmas not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_sport not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_xmas not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_transportation not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_xmas not found!
Dez. 27, 2021 1:25:28 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key poi_user_defined_other not found!
WARNING: Found path as /button_cancel.png instead of button_cancel.png
WARNING: Found path as /up.png instead of up.png
WARNING: Found path as /down.png instead of down.png
WARNING: Found path as /drawable-mdpi/map_action_arrow.png instead of drawable-mdpi/map_action_arrow.png
WARNING: Found path as /drawable-mdpi/map_white_orange_poi_shield.png instead of drawable-mdpi/map_white_orange_poi_shield.png
WARNING: Found path as /drawable-mdpi/map_white_orange_poi_shield_small.png instead of drawable-mdpi/map_white_orange_poi_shield_small.png
WARNING: Found path as /drawable-mdpi/map_start_point.png instead of drawable-mdpi/map_start_point.png
WARNING: Found path as /drawable-mdpi/map_target_point.png instead of drawable-mdpi/map_target_point.png
WARNING: Found path as /drawable-mdpi/map_intermediate_point.png instead of drawable-mdpi/map_intermediate_point.png
WARNING: Found path as /drawable-mdpi/map_arrow_to_destination.png instead of drawable-mdpi/map_arrow_to_destination.png
Dez. 27, 2021 1:25:30 AM net.sourceforge.offroad.OsmWindow getAppPath
INFORMATION: Searching for /home/tps/.OffRoad/favourites_bak.gpx
Dez. 27, 2021 1:25:30 AM net.sourceforge.offroad.OsmWindow getAppPath
INFORMATION: Searching for /home/tps/.OffRoad/favourite
Dez. 27, 2021 1:25:30 AM net.sourceforge.offroad.OsmWindow getAppPath
INFORMATION: Searching for /home/tps/.OffRoad/
WARNING: Found path as /drawable-mdpi/map_white_shield_small.png instead of drawable-mdpi/map_white_shield_small.png
Dez. 27, 2021 1:25:30 AM net.sourceforge.offroad.OsmWindow getString
SCHWERWIEGEND: String key loading_smth not found!
WARNING: Found path as /drawable-mdpi/ruler.9.png instead of drawable-mdpi/ruler.9.png
WARNING: Found path as /drawable-mdpi/ruler_night.9.png instead of drawable-mdpi/ruler_night.9.png
WARNING: Found path as /drawable-mdpi/map_bt_round_2_shadow.png instead of drawable-mdpi/map_bt_round_2_shadow.png
WARNING: Found path as /drawable-mdpi/map_compass_niu.png instead of drawable-mdpi/map_compass_niu.png
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.lang.reflect.Method.invoke(Object, Object[])" because "com.sun.xml.bind.v2.runtime.reflect.opt.Injector.defineClass" is null
at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:311)
at com.sun.xml.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:97)
at com.sun.xml.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:87)
at com.sun.xml.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:125)
at com.sun.xml.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.optimize(Accessor.java:402)
at com.sun.xml.bind.v2.runtime.property.ArrayProperty.<init>(ArrayProperty.java:68)
at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.<init>(ArrayERProperty.java:88)
at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.<init>(ArrayElementProperty.java:100)
at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.<init>(ArrayElementNodeProperty.java:62)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at com.sun.xml.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:128)
at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:181)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:514)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:331)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:139)
at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1156)
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:165)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:297)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:286)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:409)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:721)
at net.sourceforge.offroad.OsmWindow.unmarshall(OsmWindow.java:1832)
at net.osmand.plus.views.DrawPolylineLayer.initLayer(DrawPolylineLayer.java:338)
at net.sourceforge.offroad.ui.OsmBitmapPanel.addLayer(OsmBitmapPanel.java:634)
at net.sourceforge.offroad.ui.OsmBitmapPanel.<init>(OsmBitmapPanel.java:185)
at net.sourceforge.offroad.OsmWindow.createAndShowUI(OsmWindow.java:381)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716)
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:741)
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)
I also had 0.6b3 not starting with java 17, but deleting the ~/.OffRoad folder solved it.
I believe this is worked around in the latest version which you can also download from my comment on ticket #21 and likely will become version 0.6
Thus closing.