﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
22188	Scripting is not working	anonymous	Gubaer	"==== What steps will reproduce the problem?
1. 
2. 
3. 

==== What is the expected result?

==== What happens instead?

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Revision:18463
Build-Date:2022-05-30 10:23:53

Identification: JOSM/1.5 (18463 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19044)
Memory Usage: 190 MB / 1992 MB (60 MB allocated, but free)
Java version: 17.0.3+7-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel
Screen: \Display0 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→32×32, 32×32→32×32
System property file.encoding: Cp1252
System property sun.jnu.encoding: Cp1252
Locale info: en_IN
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.18463, --add-modules=java.scripting,java.sql,javafx.controls,javafx.media,javafx.swing,javafx.web, --add-exports=java.base/sun.security.action=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.plugins.jpeg=ALL-UNNAMED, --add-exports=java.desktop/com.sun.imageio.spi=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.nio=ALL-UNNAMED, --add-opens=java.base/jdk.internal.loader=ALL-UNNAMED, --add-opens=java.base/jdk.internal.ref=ALL-UNNAMED, --add-opens=java.desktop/javax.imageio.spi=ALL-UNNAMED, --add-opens=java.desktop/javax.swing.text.html=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, -Djpackage.app-path=%UserProfile%\AppData\Local\JOSM\JOSM.exe]

Plugins:
+ AddrInterpolation (35924)
+ BuildingGeneralization (36)
+ CADTools (1008)
+ Create_grid_of_ways (35976)
+ ImproveWay (32)
+ OpeningHoursEditor (35924)
+ PolygonCutOut (v0.7)
+ SimplifyArea (35976)
+ apache-commons (35924)
+ areaselector (405)
+ austriaaddresshelper (1597341117)
+ auto_tools (81)
+ buildings_tools (35978)
+ centernode (v1.0.4)
+ conflation (0.6.9)
+ contourmerge (v0.1.9)
+ ejml (35924)
+ gridify (1606242219)
+ gson (35924)
+ jts (35976)
+ junctionchecking (35893)
+ log4j (35924)
+ measurement (35976)
+ merge-overlap (35893)
+ osm-obj-info (66)
+ poly (35976)
+ shrinkwrap (v1.0.4)
+ terracer (35893)
+ todo (30306)
+ utilsplugin2 (35970)

Tagging presets:
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Community_IT.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Building_IT.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Entrance.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Internal Roads.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Walkway.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Amenity.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Unit _IT.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Elevator.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Staircase.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\RoadAccess.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Restrictions.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Acceptable package size.xml
+ D:\VEERESH\FRITS\ITALY\Fwd_ Re_ Italy House number and reverse geocode website\Gates.xml

Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1
- D:\VEERESH\FRITS\QC\COLOUR\city.mapcss
- D:\VEERESH\FRITS\QC\COLOUR\Postcode-style.mapcss
- D:\VEERESH\FRITS\QC\COLOUR\Streets-style.mapcss
- D:\VEERESH\FRITS\QC\COLOUR\UID.MAPCSS
- https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip

Last errors/warnings:
- 00000.902 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF'
- 00000.913 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF'
- 00007.447 E: java.security.KeyStoreException: Windows-ROOT not found. Cause: java.security.NoSuchAlgorithmException: Windows-ROOT KeyStore not available
- 00019.141 E: Broken tagging preset ""building-Type of Building?"" - number of items in 'display_values' must be the same as in 'values'
- 00019.142 E: Detailed information: [Apartments, Hotel/Restaurants, Individual House, Multi Family Residential (like Villas/Row Houses), Commercial, Industrial Area, Kiosk (like Tea stand) , Office Block, Retail , Supermarket (like Walmart), Warehouse, Fire Station, Government (like Government Office), Hospital, Public Area, Parking, Restrooms, Train Station, Transportation, Kindergarten, School, University (with many colleges), College(not more than 1 college building), Yes] <> [apartments, hotel, house, residential, commercial, industrial, kiosk, office, retail, supermarket, warehouse, fire_station,  government, hospital, public, restrooms, train_station, transportation, kindergarten, school, university, college, yes]
- 00019.641 W: Cannot lock cache directory. Will not use disk cache
- 00023.154 E: org.openstreetmap.josm.plugins.PluginException: An error occurred in plugin scripting. Cause: java.lang.reflect.InvocationTargetException. Cause: java.lang.NoClassDefFoundError: javax/lang/model/SourceVersion. Cause: java.lang.ClassNotFoundException: javax.lang.model.SourceVersion
- 00023.380 W: Disable plugin - Could not load plugin 'scripting'. Delete from preferences?
- 00036.901 E: Handled by bug report queue: java.lang.NoClassDefFoundError: Could not initialize class org.mozilla.javascript.JavaMembers



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (24) of main
java.lang.NoClassDefFoundError: Could not initialize class org.mozilla.javascript.JavaMembers
	at org.mozilla.javascript.NativeJavaClass.initMembers(NativeJavaClass.java:50)
	at org.mozilla.javascript.NativeJavaObject.<init>(NativeJavaObject.java:53)
	at org.mozilla.javascript.NativeJavaClass.<init>(NativeJavaClass.java:44)
	at org.mozilla.javascript.NativeJavaClass.<init>(NativeJavaClass.java:40)
	at org.openstreetmap.josm.plugins.scripting.js.NativeJavaClassWithJSMixin.<init>(NativeJavaClassWithJSMixin.java:26)
	at org.openstreetmap.josm.plugins.scripting.js.MixinWrapFactory.wrapJavaClass(MixinWrapFactory.java:30)
	at org.mozilla.javascript.NativeJavaPackage.getPkgProperty(NativeJavaPackage.java:134)
	at org.mozilla.javascript.NativeJavaPackage.get(NativeJavaPackage.java:84)
	at org.mozilla.javascript.ScriptableObject.getProperty(ScriptableObject.java:2023)
	at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1672)
	at org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1667)
	at org.mozilla.javascript.gen.jar_file__C__Users_veereshnagaral_AppData_Roaming_JOSM_plugins_scripting_jar__js_v1_josm_builder_js_5._c_script_0(jar:file:/C:/Users/veereshnagaral/AppData/Roaming/JOSM/plugins/scripting.jar!/js/v1/josm/builder.js:8)
	at org.mozilla.javascript.gen.jar_file__C__Users_veereshnagaral_AppData_Roaming_JOSM_plugins_scripting_jar__js_v1_josm_builder_js_5.call(jar:file:/C:/Users/veereshnagaral/AppData/Roaming/JOSM/plugins/scripting.jar!/js/v1/josm/builder.js)
	at org.mozilla.javascript.gen.jar_file__C__Users_veereshnagaral_AppData_Roaming_JOSM_plugins_scripting_jar__js_v1_josm_builder_js_5.exec(jar:file:/C:/Users/veereshnagaral/AppData/Roaming/JOSM/plugins/scripting.jar!/js/v1/josm/builder.js)
	at org.mozilla.javascript.commonjs.module.Require.executeModuleScript(Require.java:339)
	at org.mozilla.javascript.commonjs.module.Require.getExportedModuleInterface(Require.java:287)
	at org.mozilla.javascript.commonjs.module.Require.call(Require.java:216)
	at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:59)
	at org.mozilla.javascript.gen.inlineScript_4._c_UniqueID_duplicate_check_2(inlineScript:10)
	at org.mozilla.javascript.gen.inlineScript_4.call(inlineScript)
	at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:66)
	at org.mozilla.javascript.gen.inlineScript_4._c_script_0(inlineScript:109)
	at org.mozilla.javascript.gen.inlineScript_4.call(inlineScript)
	at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:380)
	at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3868)
	at org.mozilla.javascript.gen.inlineScript_4.call(inlineScript)
	at org.mozilla.javascript.gen.inlineScript_4.exec(inlineScript)
	at org.mozilla.javascript.Context.evaluateString(Context.java:1137)
	at org.openstreetmap.josm.plugins.scripting.js.RhinoEngine.lambda$evaluateOnSwingThread$2(RhinoEngine.java:233)
	at org.openstreetmap.josm.plugins.scripting.js.RhinoEngine.runOnSwingEDT(RhinoEngine.java:162)
	at org.openstreetmap.josm.plugins.scripting.js.RhinoEngine.evaluateOnSwingThread(RhinoEngine.java:230)
	at org.openstreetmap.josm.plugins.scripting.js.RhinoEngine.evaluateOnSwingThread(RhinoEngine.java:219)
	at org.openstreetmap.josm.plugins.scripting.ui.ScriptExecutor.runScriptWithEmbeddedEngine(ScriptExecutor.java:308)
	at org.openstreetmap.josm.plugins.scripting.ui.console.ScriptingConsolePanel$RunScriptAction.actionPerformed(ScriptingConsolePanel.java:223)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
}}}
"	defect	closed	normal		Plugin scripting		fixed	template_report	
