Modify ↓
#23626 closed defect (duplicate)
Unexpected exception on File Open with Sidewalk plugin present
Reported by: | MikeN | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Plugin sidewalks | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
- Select File / Open menu option when sidewalk plugin is loaded and not active
- Crash report is generated
What is the expected result?
See File open dialog
What happens instead?
Unexpected exception dialog
(Happens with sidewalk version 44 plugin present. Does not happen when sidewalk plugin is removed. )
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-04-09 18:11:42 +0200 (Tue, 09 Apr 2024) Revision:19039 Build-Date:2024-04-10 01:31:01 URL:https://josm.openstreetmap.de/svn/trunk Identification: JOSM/1.5 (19039 en) Windows 10 64-Bit OS Build number: Windows 10 Pro 2009 (19045) Memory Usage: 552 MB / 4096 MB (193 MB allocated, but free) Java version: 18.0.1.1+2-6, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 3840×2160 (scaling 1.50×1.50) \Display1 3840×2160 (scaling 2.00×2.00) Maximum Screen Size: 3840×2160 Best cursor sizes: 16×16→48×48, 32×32→48×48 System property file.encoding: UTF-8 System property sun.jnu.encoding: Cp1252 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 VM arguments: [-Djosm.home=./Settings-Tested, --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] Plugins: + AddrInterpolation (36226) + ImportImagePlugin (36184) + Mapillary (2.2.0) + apache-commons (36176) + apache-http (36176) + buildings_tools (36226) + editgpx (36126) + ejml (36176) + geotools (36176) + jackson (36176) + jaxb (36118) + jna (36176) + jts (36004) + log4j (36241) + mapwithai (829) + measurement (36200) + opendata (36200) + pmtiles (36219) + public_transport (36200) + reverter (36241) + sidewalks (44) + tageditor (36200) + terracer (36205) + todo (137) + turnlanes-tagging (0.0.5) + turnrestrictions (36226) + utilsplugin2 (36241) Tagging presets: + C:\mike\projects\openstreetmap\josm\myPresets.xml Map paint styles: - https://josm.openstreetmap.de/josmfile?page=Styles/Lane_and_Road_Attributes&zip=1 + https://josm.openstreetmap.de/josmfile?page=Styles/MapWithAI&zip=1 Last errors/warnings: - 00000.674 W: extended font config - overriding 'filename.Myanmar_Text=mmrtext.ttf' with 'MMRTEXT.TTF' - 00000.678 W: extended font config - overriding 'filename.Mongolian_Baiti=monbaiti.ttf' with 'MONBAITI.TTF' - 00297.350 E: Handled by bug report queue: java.lang.NullPointerException: Cannot invoke "org.openstreetmap.josm.actions.ExtensionFileFilter.getDescription()" because "o2" is null === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (25) of main java.lang.NullPointerException: Cannot invoke "org.openstreetmap.josm.actions.ExtensionFileFilter.getDescription()" because "o2" is null at org.openstreetmap.josm.actions.ExtensionFileFilter.lambda$comparator$0(ExtensionFileFilter.java:143) at java.base/java.util.TimSort.countRunAndMakeAscending(TimSort.java:355) at java.base/java.util.TimSort.sort(TimSort.java:220) at java.base/java.util.Arrays.sort(Arrays.java:1307) at java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:353) at java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:258) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:510) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) at org.openstreetmap.josm.actions.ExtensionFileFilter.getImportExtensionFileFilters(ExtensionFileFilter.java:253) at org.openstreetmap.josm.actions.ExtensionFileFilter.applyChoosableImportFileFilters(ExtensionFileFilter.java:322) at org.openstreetmap.josm.gui.widgets.FileChooserManager.doCreateFileChooser(FileChooserManager.java:338) at org.openstreetmap.josm.gui.widgets.FileChooserManager.createFileChooser(FileChooserManager.java:204) at org.openstreetmap.josm.actions.DiskAccessAction.createAndOpenFileChooser(DiskAccessAction.java:100) at org.openstreetmap.josm.actions.OpenFileAction.actionPerformed(OpenFileAction.java:91) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6616) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398) at java.desktop/java.awt.Component.processEvent(Component.java:6381) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4991) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4823) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4823) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) 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.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) 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:744) 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 , 10 months ago
Component: | Core → Plugin |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
comment:2 by , 10 months ago
Sidenote: The sidewalks
plugin is currently under active development. Feedback is greatly appreciated. Things may change, things may break.
If you encounter an issue, please update the plugin and see if you can reproduce.
comment:3 by , 10 months ago
Component: | Plugin → Plugin sidewalks |
---|
Note:
See TracTickets
for help on using tickets.
Closed as duplicate of #23609.
Current latest version of the plugin is 54. You should update the plugin. Maybe, a manual download of the plugin list is need under the Plugins Preferences prior to updating the plugins.
By the way, java version 18 is no LTS version. You might want to upgrade to version 21.