Error installing RouteConverter

Hi all,

after the medium-size upgrade yesterday, RouteConverter (from AUR) cannot be installed anymore.

Console output is:

Exception in thread "AWT-EventQueue-0" java.lang.Error: Application class slash.navigation.converter.gui.RouteConverterOpenSource failed to launch
	at slash.navigation.gui.Application$1.run(Application.java:162)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:316)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
	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)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field protected java.util.ResourceBundle java.util.ResourceBundle.parent accessible: module java.base does not "opens java.util" to unnamed module @6a64c1a2
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:177)
	at java.base/java.lang.reflect.Field.setAccessible(Field.java:171)
	at slash.navigation.gui.Application.setParentBundle(Application.java:115)
	at slash.navigation.gui.Application.initializeBundles(Application.java:106)
	at slash.navigation.gui.Application.access$100(Application.java:51)
	at slash.navigation.gui.Application$1.run(Application.java:152)
	... 13 more

The reason might be incompatible Java versions.
Any help will be welcome.

Yes, there was an upgrade from jre v15 to v16. If you need a lower version, then just install jre11 for example:

pamac install jre11-openjdk

And set this one as default if not done:

sudo archlinux-java set java-11-openjdk
2 Likes

Thank you, that worked.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.