Modify ↓
#21223 closed defect (fixed)
NPE at GpxWriter.write
Reported by: | Owned by: | Don-vip | |
---|---|---|---|
Priority: | normal | Milestone: | 21.08 |
Component: | Core | Version: | |
Keywords: | template_report gpx session export | Cc: |
Description (last modified by )
What steps will reproduce the problem?
- Unknown error upon save on close
What is the expected result?
What happens instead?
Please provide any additional information below. Attach a screenshot if possible.
URL:https://josm.openstreetmap.de/svn/trunk Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b Last:Changed Date: 2021-08-02 19:44:04 +0200 (Mon, 02 Aug 2021) Build-Date:2021-08-02 18:26:20 Revision:18118 Relative:URL: ^/trunk Identification: JOSM/1.5 (18118 en) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19043) Memory Usage: 247 MB / 247 MB (36 MB allocated, but free) Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) Client VM Look and Feel: com.sun.java.swing.plaf.windows.WindowsLookAndFeel Screen: \Display0 1600×900 (scaling 1.00×1.00) Maximum Screen Size: 1600×900 Best cursor sizes: 16×16→32×32, 32×32→32×32 System property file.encoding: Cp1252 System property sun.jnu.encoding: Cp1252 Locale info: en_US Numbers with default locale: 1234567890 -> 1234567890 Dataset consistency test: No problems found Last errors/warnings: - 97367.009 E: Failed to locate image 'https://gisdata.mn.gov/agencyLogos/mnLogo.jpg' - 97370.543 E: Unsupported savable layer type: TMSLayer - 97884.574 W: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 97884.574 W: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 97884.671 E: Failed to locate image 'https://gisdata.mn.gov/agencyLogos/mnLogo.jpg' - 97889.983 E: Unsupported savable layer type: TMSLayer - 98455.339 W: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target. Cause: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 98455.339 W: Already here sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target - 98455.444 E: Failed to locate image 'https://gisdata.mn.gov/agencyLogos/mnLogo.jpg' - 102036.898 E: Handled by bug report queue: java.lang.NullPointerException === REPORTED CRASH DATA === BugReportExceptionHandler#handleException: No data collected. Warning issued by: BugReportExceptionHandler#handleException === STACK TRACE === Thread: AWT-EventQueue-0 (19) of main java.lang.NullPointerException at org.openstreetmap.josm.io.GpxWriter.write(GpxWriter.java:87) at org.openstreetmap.josm.io.GpxWriter.write(GpxWriter.java:73) at org.openstreetmap.josm.io.session.GpxTracksSessionExporter.addDataFile(GpxTracksSessionExporter.java:36) at org.openstreetmap.josm.io.session.GenericSessionExporter.export(GenericSessionExporter.java:193) at org.openstreetmap.josm.io.session.SessionWriter.createJosDocument(SessionWriter.java:236) at org.openstreetmap.josm.io.session.SessionWriter.write(SessionWriter.java:351) at org.openstreetmap.josm.io.session.SessionWriter.write(SessionWriter.java:338) at org.openstreetmap.josm.actions.SessionSaveAsAction.saveSession(SessionSaveAsAction.java:167) at org.openstreetmap.josm.gui.io.SaveLayersDialog$SaveSessionAction.actionPerformed(SaveLayersDialog.java:444) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.openstreetmap.josm.gui.io.SaveLayersDialog.saveUnsavedModifications(SaveLayersDialog.java:130) at org.openstreetmap.josm.gui.MainApplication.lambda$exitJosm$3(MainApplication.java:517) at org.openstreetmap.josm.gui.util.GuiHelper.runInEDTAndWaitAndReturn(GuiHelper.java:268) at org.openstreetmap.josm.gui.MainApplication.exitJosm(MainApplication.java:516) at org.openstreetmap.josm.gui.MainFrame$ExitWindowAdapter.windowClosing(MainFrame.java:198) at java.awt.AWTEventMulticaster.windowClosing(Unknown Source) at java.awt.AWTEventMulticaster.windowClosing(Unknown Source) at java.awt.AWTEventMulticaster.windowClosing(Unknown Source) at java.awt.Window.processWindowEvent(Unknown Source) at javax.swing.JFrame.processWindowEvent(Unknown Source) at java.awt.Window.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Attachments (0)
Change History (4)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|---|
Summary: | Unknown error upon save on close → NPE at GpxWriter.write |
comment:2 by , 4 years ago
Keywords: | gpx session export added |
---|---|
Milestone: | → 21.08 |
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 by , 4 years ago
Replying to canyonbuilders@…:
Identification: JOSM/1.5 (18118 en) Windows 10 64-Bit OS Build number: Windows 10 Home 2009 (19043) Memory Usage: 247 MB / 247 MB (36 MB allocated, but free) Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) Client VM
By the way, using a 32-bit Java runtime on a 64-bit does not work that well. Please, install a 64-bit Java version.
Note:
See TracTickets
for help on using tickets.
In 18133/josm: