Modify

Opened 8 years ago

Closed 8 years ago

#15206 closed defect (fixed)

JSMixinException: Unexpected value for property 'forClass' in module 'josm/mixin/UploadStrategyMixin'

Reported by: naoliv Owned by: Gubaer
Priority: normal Milestone:
Component: Plugin scripting Version:
Keywords: github Cc:

Description

While starting JOSM and loading the scripting plugin:

2017-08-29 10:35:09.464 INFO: loading plugin 'scripting' (version 30768)
2017-08-29 10:35:10.478 SEVERE: Failed to load mixin module 'josm/mixin/UploadStrategyMixin'.
org.openstreetmap.josm.plugins.scripting.js.JSMixinException: Unexpected value for property 'forClass' in module 'josm/mixin/UploadStrategyMixin'. Expected a java class object, got [JavaPackage org.openstreetmap.josm.gui.io.UploadStrategy]
	at org.openstreetmap.josm.plugins.scripting.js.JSMixinException.make(JSMixinException.java:9)
	at org.openstreetmap.josm.plugins.scripting.js.JSMixinRegistry.loadJSMixin(JSMixinRegistry.java:129)
	at org.openstreetmap.josm.plugins.scripting.js.RhinoEngine.loadJSMixins(RhinoEngine.java:75)
	at org.openstreetmap.josm.plugins.scripting.js.RhinoEngine.initScope(RhinoEngine.java:159)
	at org.openstreetmap.josm.plugins.scripting.ScriptingPlugin.<init>(ScriptingPlugin.java:75)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:327)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:781)
	at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:864)
	at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:903)
	at org.openstreetmap.josm.gui.MainApplication.loadLatePlugins(MainApplication.java:974)
	at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:850)

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-08-29 00:16:25 +0200 (Tue, 29 Aug 2017)
Build-Date:2017-08-29 01:31:31
Revision:12695
Relative:URL: ^/trunk

Identification: JOSM/1.5 (12695 en) Linux Debian GNU/Linux testing (buster)
Memory Usage: 883 MB / 6372 MB (621 MB allocated, but free)
Java version: 1.8.0_141-8u141-b15-3-b15, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1600x900, :0.1 1280x1024
Maximum Screen Size: 1600x1024
Java package: openjdk-8-jre:amd64-8u141-b15-3
Java ATK Wrapper package: libatk-wrapper-java:all-0.33.3-13
VM arguments: [-Dawt.useSystemAAFontSettings=on]

Plugins:
+ Create_grid_of_ways (32699)
+ FastDraw (33583)
+ ImportImagePlugin (33563)
+ OpeningHoursEditor (33185)
+ PicLayer (33385)
+ RoadSigns (33579)
+ SimplifyArea (33004)
+ apache-commons (33517)
+ buildings_tools (33004)
+ conflation (0.5.5)
+ contourmerge (1030)
+ download_along (32946)
+ editgpx (33004)
+ ejml (32680)
+ geojson (55)
+ geotools (33380)
+ importvec (33564)
+ indoorhelper (33088)
+ jts (32699)
+ log4j (32699)
+ measurement (33088)
+ merge-overlap (33436)
+ opendata (33553)
+ pbf (33568)
+ pdfimport (33579)
+ poly (33570)
+ reverter (33572)
+ scripting (30768)
+ tageditor (33579)
+ todo (30301)
+ turnlanes (33294)
+ turnlanes-tagging (254)
+ turnrestrictions (33537)
+ undelete (33480)
+ utilsplugin2 (33579)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 8 years ago

Keywords: github added

Reported upstream.

comment:2 by Don-vip, 8 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

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