Modify ↓
#21679 closed defect (othersoftware)
InaccessibleObjectException: Unable to make field private … accessible (Help browser opens with error instead of help.)
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | tested |
Keywords: | template_report linux unamed module | Cc: |
Description
What steps will reproduce the problem?
- start JOSM 18303
- open menu: help/help
What is the expected result?
Help browser should open with start page.
What happens instead?
An error message pops up, see screenshot attached.
Please provide any additional information below. Attach a screenshot if possible.
Relative:URL: ^/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-11-01 23:05:46 +0100 (Mon, 01 Nov 2021) Revision:18303 Build-Date:2021-11-01 22:25:18 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (18303 en) Linux Manjaro Linux Memory Usage: 648 MB / 8008 MB (216 MB allocated, but free) Java version: 17.0.1+12, N/A, OpenJDK 64-Bit Server VM Look and Feel: javax.swing.plaf.metal.MetalLookAndFeel Screen: :0.0 3840×2160 (scaling 1.00×1.00) :0.1 3840×2160 (scaling 1.00×1.00) Maximum Screen Size: 3840×2160 Best cursor sizes: 16×16→16×16, 32×32→32×32 Environment variable LANG: en_US.utf8 System property file.encoding: UTF-8 System property sun.jnu.encoding: UTF-8 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Desktop environment: GNOME VM arguments: [-Djosm.restart=true] Dataset consistency test: No problems found Map paint styles: + https://josm.openstreetmap.de/josmfile?page=Styles/HiDPISupport&zip=1 + https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip + https://raw.githubusercontent.com/yopaseopor/traffic_signs_style_JOSM/master/Styles_Traffic_signs_EUR_OC.zip Last errors/warnings: - 00470.220 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 @3bb4d93f === 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 @3bb4d93f 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:1471) 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:771) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) 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:741) 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 (1)
Change History (4)
by , 3 years ago
Attachment: | Screenshot from 2021-12-18 10-20-33.png added |
---|
comment:1 by , 3 years ago
Keywords: | linux unamed module added |
---|---|
Owner: | changed from | to
Status: | new → needinfo |
Summary: | Help browser opens with error instead of help. (JOSM 18303) → InaccessibleObjectException: Unable to make field private … accessible (Help browser opens with error instead of help.) |
comment:2 by , 3 years ago
Resolution: | → othersoftware |
---|---|
Status: | needinfo → closed |
please report this issue to the people building JOSM for "Linux Manjaro". The JVM options required to run JOSM properly on recent versions of Java are missing. They must add them as we do in Debian/Ubuntu launch script.
Note:
See TracTickets
for help on using tickets.
How do you download josm and how do you start it?
Probably a duplicate of #21649 and #21503. See #21503 for instructions how to load the "unamed modules".