Modify ↓
#23887 closed defect (duplicate)
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
Reported by: | Owned by: | team | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core Webstart | Version: | |
Keywords: | template_report webstart | Cc: |
Description
What steps will reproduce the problem?
- Select Help...Help
What is the expected result?
Launches help (Web?)
What happens instead?
Error window appears encouraging me to report a bug (this bug)
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2024-07-30 15:13:18 +0200 (Tue, 30 Jul 2024) Revision:19160 Build-Date:2024-07-31 01:30:32 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19160 en_GB) Linux Mint 22 Memory Usage: 380 MB / 7976 MB (97 MB allocated, but free) Java version: 21.0.4+7-Ubuntu-1ubuntu224.04, Ubuntu, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 1920x1080x[Multi depth]@60Hz (scaling 1.00×1.00) :0.1 1920x1080x[Multi depth]@[Unknown refresh rate] (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_GB.UTF-8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_GB Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: X-Cinnamon Java package: openjdk-21-jre:amd64-21.0.4+7-1ubuntu2~24.04 WebStart package: icedtea-netx:all-1.8.8-2ubuntu1 libcommons-logging-java: libcommons-logging-java:all-1.3.0-1ubuntu1 fonts-noto: fonts-noto:- VM arguments: [--patch-module=java.desktop=/usr/share/icedtea-web/javaws.jar:, --add-reads=java.base=ALL-UNNAMED,java.desktop, --add-reads=java.desktop=ALL-UNNAMED,java.naming, --add-reads=java.naming=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/javax.jnlp=ALL-UNNAMED,java.desktop, --add-exports=java.base/com.sun.net.ssl.internal.ssl=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.action=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.provider=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.util=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.validator=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.security.x509=ALL-UNNAMED,java.desktop, --add-exports=java.base/jdk.internal.util.jar=ALL-UNNAMED,java.desktop, --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.awt.X11=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,java.desktop, --add-exports=java.desktop/sun.applet=ALL-UNNAMED,jdk.jsobject, --add-exports=java.naming/com.sun.jndi.toolkit.url=ALL-UNNAMED,java.desktop, -Dicedtea-web.bin.name=javaws, -Dicedtea-web.bin.location=/usr/share/icedtea-web/bin/javaws.sh, -Djava.security.manager, -Djava.security.policy=/etc/icedtea-web/javaws.policy] Dataset consistency test: No problems found Last errors/warnings: - 00532.705 W: java.io.IOException: Attribution is not loaded yet - 00532.706 W: java.io.IOException: Attribution is not loaded yet - 00532.706 W: java.io.IOException: Attribution is not loaded yet - 00532.707 W: java.io.IOException: Attribution is not loaded yet - 00532.707 W: java.io.IOException: Attribution is not loaded yet - 00532.707 W: java.io.IOException: Attribution is not loaded yet - 00532.708 W: java.io.IOException: Attribution is not loaded yet - 00532.708 W: java.io.IOException: Attribution is not loaded yet - 00532.709 W: java.io.IOException: Attribution is not loaded yet - 00859.386 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 @4ae62225 === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-1 (49) of JOSM 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 @4ae62225 at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:391) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:367) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:315) at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:183) at java.base/java.lang.reflect.Field.setAccessible(Field.java:177) at org.openstreetmap.josm.tools.ReflectionUtils.lambda$setObjectsAccessible$0(ReflectionUtils.java:32) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) 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:110) at java.desktop/javax.swing.text.FlowView$LogicalView.loadChildren(FlowView.java:722) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) at java.desktop/javax.swing.text.FlowView.loadChildren(FlowView.java:147) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) 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:217) at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182) at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72) at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:217) at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182) at java.desktop/javax.swing.text.html.TableView$RowView.replace(TableView.java:1471) at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:217) 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:112) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) at java.desktop/javax.swing.text.html.TableView.setParent(TableView.java:817) at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:217) at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182) at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72) at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:217) at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182) at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72) at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:217) at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182) at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) 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:1548) at java.desktop/javax.swing.text.CompositeView.replace(CompositeView.java:217) at java.desktop/javax.swing.text.BoxView.replace(BoxView.java:182) at java.desktop/javax.swing.text.CompositeView.loadChildren(CompositeView.java:112) at java.desktop/javax.swing.text.CompositeView.setParent(CompositeView.java:137) at java.desktop/javax.swing.text.html.BlockView.setParent(BlockView.java:72) at java.desktop/javax.swing.plaf.basic.BasicTextUI$RootView.setView(BasicTextUI.java:1429) at java.desktop/javax.swing.plaf.basic.BasicTextUI.setView(BasicTextUI.java:710) at java.desktop/javax.swing.plaf.basic.BasicTextUI.modelChanged(BasicTextUI.java:699) at java.desktop/javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(BasicTextUI.java:1895) 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:8717) at java.desktop/javax.swing.text.JTextComponent.setDocument(JTextComponent.java:452) 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:400) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) 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 (3)
comment:1 by , 5 months ago
Keywords: | webstart added |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Summary: | Error launching help → 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 |
comment:3 by , 5 months ago
Component: | Core → Core Webstart |
---|
Note:
See TracTickets
for help on using tickets.
It looks like you may need to redownload the JNLP. Your current VM arguments are missing the required argument which is present in the current JNLP files.