Modify

Opened 8 months ago

Closed 8 months ago

#23909 closed defect (fixed)

Question: FieldPapers could not be loaded (JOSM 19297 / JAVA 22)?

Reported by: MichaelFS Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Plugins Cc:

Description

I updated to JOSM 19297, it's running with JAVA 22. On start it claims "FieldPapers could not be loaded. Remove it?"
Looking at my settings, FieldPapers is activated und "Actualize" say "Nothing to do".
How to solve this?

FYI: I asked this already here, no answer yet ...

Attachments (0)

Change History (6)

comment:1 by taylor.smock, 8 months ago

Exception from test run:

2024-09-09 06:50:59.222 SEVERE: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin fieldpapers. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoClassDefFoundError: javax/json/stream/JsonParsingException. Cause: java.lang.ClassNotFoundException: javax.json.stream.JsonParsingException
org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin fieldpapers
	at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:387)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:867)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:927)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:1029)
	at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:1248)
	at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:1004)
	at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:280)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:766)
Caused by: java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:74)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)
	at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:382)
	... 7 more
Caused by: java.lang.NoClassDefFoundError: javax/json/stream/JsonParsingException
	at org.openstreetmap.josm.plugins.fieldpapers.FieldPapersPlugin.<init>(FieldPapersPlugin.java:35)
	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
	... 10 more
Caused by: java.lang.ClassNotFoundException: javax.json.stream.JsonParsingException
	at org.openstreetmap.josm.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:82)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
	... 12 more

comment:3 by MichaelFS, 8 months ago

Thanks a lot for quick response and your effort. What have I to do to get rid of that message?

comment:4 by taylor.smock, 8 months ago

The easiest thing for you to do with that message is to disable the plugin.

comment:5 by MichaelFS, 8 months ago

... disable the plugin

But I'm using it now and then ...

comment:6 by taylor.smock, 8 months ago

Resolution: fixed
Status: newclosed

iandees just merged the fix. I suspect there will be a release soon(tm).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.