Modify

#23348 closed defect (duplicate)

IOE: Unable to make field private [...] accessible: module java.desktop does not "opens javax.swing.text.html" to unnamed module

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: template_report Cc:

Description

What steps will reproduce the problem?

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

Relative:URL: ^/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2023-12-07 13:35:12 +0100 (Thu, 07 Dec 2023)
Revision:18907
Build-Date:2023-12-07 16:38:49
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (18907 en) Linux Ubuntu 22.04.3 LTS
Memory Usage: 672 MB / 4096 MB (482 MB allocated, but free)
Java version: 17.0.9+8-LTS, Azul Systems, Inc., OpenJDK 64-Bit Server VM
Look and Feel: javax.swing.plaf.nimbus.NimbusLookAndFeel
Screen: :0.0 1920×1080 (scaling 1.00×1.00) :0.1 1920×1080 (scaling 1.00×1.00)
Maximum Screen Size: 1920×1080
Best cursor sizes: 16×16→16×16, 32×32→32×32
Environment variable LANG: en_CA.UTF-8
System property file.encoding: UTF-8
System property sun.jnu.encoding: UTF-8
Locale info: en_CA
Numbers with default locale: 1234567890 -> 1234567890
Desktop environment: ubuntu:GNOME
fonts-noto: fonts-noto:-

Plugins:
+ FastDraw (36126)
+ ImageWayPoint (36126)
+ InfoMode (36126)
+ PicLayer (1.0.3)
+ QuickLabel (23)
+ apache-commons (36176)
+ apache-http (36176)
+ editgpx (36126)
+ ejml (36176)
+ ext_tools (36126)
+ geotools (36176)
+ importvec (35995)
+ jackson (36176)
+ jaxb (36118)
+ jna (36176)
+ jruby-complete-9.2.7.0
+ jts (36004)
+ log4j (36176)
+ measurement (36126)
+ namemanager (36126)
+ native_password_manager (36178)
+ opendata (36186)
+ openvisible (36126)
+ osm-obj-info (66)
+ pdfimport (36126)
+ photo_geotagging (36126)
+ photoadjust (36188)
+ print (36126)
+ reverter (36126)
+ routing (36178)
+ scripting (v0.3.0)
+ splinex (36126)
+ tageditor (36126)
+ todo (133)
+ turnrestrictions (36178)
+ utilsplugin2 (36178)
+ waydownloader (36126)
+ wikipedia (605)

Tagging presets:
+ https://josm.openstreetmap.de/josmfile?page=Presets/BuildingPreset&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/Community_Centre&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/hiking_routes_with_trail_marking&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/SentieriItaliani&zip=1
+ https://josm.openstreetmap.de/josmfile?page=Presets/OpenPisteMap&zip=1

Last errors/warnings:
- 00001.705 W: Missing plugin main version in plugin jruby-complete-9.2.7.0
- 00002.093 W: Missing plugin main version in plugin jruby-complete-9.2.7.0
- 00798.044 E: Handled by bug report queue: java.lang.reflect.InaccessibleObjectException: Unable to make field private java.awt.Image javax.swing.text.html.ImageView.image accessible: module java.desktop does not "opens javax.swing.text.html" to unnamed module @6132e376



=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (30) of main
java.lang.reflect.InaccessibleObjectException: Unable to make field private java.awt.Image javax.swing.text.html.ImageView.image accessible: module java.desktop does not "opens javax.swing.text.html" to unnamed module @6132e376
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
	at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
	at org.openstreetmap.josm.tools.ReflectionUtils.lambda$setObjectsAccessible$0(ReflectionUtils.java:32)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
	at org.openstreetmap.josm.tools.ReflectionUtils.setObjectsAccessible(ReflectionUtils.java:29)
	at org.openstreetmap.josm.gui.widgets.JosmImageView.<init>(JosmImageView.java:50)
	at org.openstreetmap.josm.gui.widgets.JosmHTMLFactory.create(JosmHTMLFactory.java:29)
	at java.desktop/javax.swing.text.html.TableView.create(TableView.java:942)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112)
	at java.desktop/javax.swing.text.FlowView$LogicalView.loadChildren(FlowView.java:722)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.FlowView.loadChildren(FlowView.java:147)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.FlowView.setParent(FlowView.java:297)
	at java.desktop/javax.swing.text.html.ParagraphView.setParent(ParagraphView.java:75)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.html.TableView$RowView.replace(TableView.java:1474)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.html.TableView.replace(TableView.java:913)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.html.TableView.setParent(TableView.java:817)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
	at java.desktop/javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(HTMLEditorKit.java:1476)
	at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:219)
	at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182)
	at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:114)
	at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:139)
	at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72)
	at java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.setView(BasicTextUI.java:1432)
	at java.desktop/javax.swing.plaf.basic.BasicTextUI.setView(BasicTextUI.java:713)
	at java.desktop/javax.swing.plaf.basic.BasicTextUI.modelChanged(BasicTextUI.java:702)
	at java.desktop/javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(BasicTextUI.java:1898)
	at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:343)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:335)
	at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:268)
	at java.desktop/java.awt.Component.firePropertyChange(Component.java:8722)
	at java.desktop/javax.swing.text.JTextComponent.setDocument(JTextComponent.java:456)
	at org.openstreetmap.josm.gui.help.HelpBrowser.loadTopic(HelpBrowser.java:236)
	at org.openstreetmap.josm.gui.help.HelpBrowser.loadRelativeHelpTopic(HelpBrowser.java:332)
	at org.openstreetmap.josm.gui.help.HelpBrowser.openHelpTopic(HelpBrowser.java:411)
	at org.openstreetmap.josm.gui.help.HelpBrowser.lambda$setUrlForHelpTopic$1(HelpBrowser.java:116)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:773)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
	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)

Attachments (0)

Change History (1)

comment:1 by taylor.smock, 11 months ago

Resolution: duplicate
Status: newclosed
Summary: Unexpected error on F1IOE: Unable to make field private [...] accessible: module java.desktop does not "opens javax.swing.text.html" to unnamed module

Closed as duplicate of #21649.

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.