﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
23637	Scripting plugin 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:19039
Build-Date:2024-04-10 13:32:33

Identification: JOSM/1.5 (19039 en) Windows 10 64-Bit
OS Build number: Windows 10 Pro 2009 (19045)
Memory Usage: 754 MB / 2006 MB (67 MB allocated, but free)
Java version: 21.0.2+13-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: UTF-8
System property sun.jnu.encoding: Cp1252
Locale info: en_IN
Numbers with default locale: 1234567890 -> 1234567890
VM arguments: [-Djpackage.app-version=1.5.19039, --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]
Dataset consistency test: No problems found

Plugins:
+ AddrInterpolation (36226)
+ BuildingGeneralization (36)
+ CADTools (1008)
+ ColumbusCSV (36062)
+ Create_grid_of_ways (36178)
+ DxfImport (1014)
+ FastDraw (36226)
+ FixAddresses (36226)
+ HouseNumberTaggingTool (36226)
+ ImageWayPoint (36226)
+ ImproveOsm (247)
+ ImproveWay (32)
+ InfoMode (36126)
+ KartaView (490)
+ MakeParallel (v1.1.0)
+ Mapillary (2.2.1)
+ PolygonCutOut (v0.7.3)
+ RelationDissolve (0.2.0)
+ ShapeTools (1250)
+ SimplifyArea (36209)
+ Tracer (36178)
+ Tracer-testing (1707332982)
+ Tracer2 (36205)
+ alignways (36205)
+ apache-commons (36176)
+ apache-http (36176)
+ areaselector (2.6.2)
+ austriaaddresshelper (88)
+ auto_tools (81)
+ buildings_tools (36226)
+ cadastre-fr (36200)
+ centernode (v1.0.4)
+ changeset-viewer (0.0.7)
+ colorscheme (36196)
+ comfort0 (36200)
+ config (1547306483)
+ conflation (0.6.11)
+ contourmerge (v0.2.1)
+ dataimport (36066)
+ easypresets (1623509627)
+ editgpx (36126)
+ ejml (36176)
+ fhrsPlugin (0.2)
+ geohash (114)
+ geotools (36176)
+ graphview (36196)
+ gridify (1606242219)
+ gson (35924)
+ http2 (35921)
+ imagery-xml-bounds (36196)
+ imagery_offset_db (36226)
+ jackson (36176)
+ javafx (36200)
+ jaxb (36118)
+ jna (36176)
+ jts (36004)
+ junctionchecking (36226)
+ log4j (36241)
+ mapathoner (1.5.5)
+ markseen (14)
+ measurement (36200)
+ merge-overlap (36178)
+ opendata (36200)
+ osm-obj-info (66)
+ pbf (36176)
+ pdfimport (36205)
+ poly (36126)
+ routing (36226)
+ scripting (v0.3.1)
+ shrinkwrap (v1.1.1)
+ splinex (36126)
+ tageditor (36200)
+ tagging-preset-tester (36200)
+ terracer (36205)
+ todo (137)
+ turnlanes-tagging (0.0.5)
+ utilsplugin2 (36241)
+ waydownloader (36196)
+ waypoint_search (36023)
+ wms-turbo-challenge2 (36126)

Tagging presets:
+ <josm.pref>/EasyPresets.xml
+ D:\Lokesh J\SONIC_5.0\US Unit Level Client Location_08-04-2024\Preset\1.1.AOI_FloorInfo.xml
+ D:\Lokesh J\SONIC_5.0\US Unit Level Client Location_08-04-2024\Preset\1.2.Building_FloorInfo.xml
+ D:\Lokesh J\SONIC_5.0\US Unit Level Client Location_08-04-2024\Preset\1.3.Unit_FloorInfo.xml
+ D:\Lokesh J\SONIC_5.0\US Unit Level Client Location_08-04-2024\Preset\1.4.RoadEntry_FloorInfo.xml

Map paint styles:
- https://github.com/osmlab/appledata/archive/josm_paint_inline_validation.zip
- https://josm.openstreetmap.de/josmfile?page=Styles/Coloured_Streets&zip=1

Last errors/warnings:
- 00016.961 E: java.nio.file.NoSuchFileException: <josm.pref>\EasyPresets.xml
- 00016.961 E: <josm.pref>/EasyPresets.xml
- 00017.039 E: Broken tagging preset ""source-Source for the details given"" - number of items in 'display_values' must be the same as in 'values'
- 00017.040 E: Detailed information: [Yes] <> [Sitemap, Microsoft streetview, Microsoft popup, USPS, Website, Google]
- 00017.041 E: Broken tagging preset ""source-Source for the details given"" - number of items in 'display_values' must be the same as in 'values'
- 00017.041 E: Detailed information: [Yes] <> [Sitemap, Microsoft streetview, Microsoft popup, USPS, Website, Google]
- 00017.041 E: Broken tagging preset ""source-Source for the details given"" - number of items in 'display_values' must be the same as in 'values'
- 00017.041 E: Detailed information: [Yes] <> [Sitemap, Microsoft streetview, Microsoft popup, USPS, Website, Google]
- 00019.771 E: java.lang.NumberFormatException: For input string: ""test""
- 00049.759 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke ""javax.swing.JRadioButton.isSelected()"" because ""this.this$0.rbGraalVMScriptingEngine"" is null



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (41) of main
java.lang.NullPointerException: Cannot invoke ""javax.swing.JRadioButton.isSelected()"" because ""this.this$0.rbGraalVMScriptingEngine"" is null
	at org.openstreetmap.josm.plugins.scripting.ui.ScriptEngineSelectionDialog$OKAction.execute(ScriptEngineSelectionDialog.java:366)
	at org.openstreetmap.josm.plugins.scripting.ui.ScriptEngineSelectionDialog$OKAction.actionPerformed(ScriptEngineSelectionDialog.java:374)
	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.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source)
	at java.desktop/java.awt.Dialog.show(Unknown Source)
	at java.desktop/java.awt.Component.show(Unknown Source)
	at java.desktop/java.awt.Component.setVisible(Unknown Source)
	at java.desktop/java.awt.Window.setVisible(Unknown Source)
	at java.desktop/java.awt.Dialog.setVisible(Unknown Source)
	at org.openstreetmap.josm.plugins.scripting.ui.ScriptEngineSelectionDialog.setVisible(ScriptEngineSelectionDialog.java:416)
	at org.openstreetmap.josm.plugins.scripting.ui.ScriptEngineSelectionDialog.select(ScriptEngineSelectionDialog.java:82)
	at org.openstreetmap.josm.plugins.scripting.ui.console.ScriptEngineInfoPanel.promptForScriptEngine(ScriptEngineInfoPanel.java:103)
	at org.openstreetmap.josm.plugins.scripting.ui.console.ScriptEngineInfoPanel.hyperlinkUpdate(ScriptEngineInfoPanel.java:134)
	at java.desktop/javax.swing.JEditorPane.fireHyperlinkUpdate(Unknown Source)
	at java.desktop/javax.swing.text.html.HTMLEditorKit$LinkController.activateLink(Unknown Source)
	at java.desktop/javax.swing.text.html.HTMLEditorKit$LinkController.mouseClicked(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseClicked(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	critical		Plugin scripting	latest	duplicate	template_report	
