Modify

Opened 6 years ago

Closed 6 years ago

#17435 closed defect (fixed)

NPE at GpxData.combineTracksToSegmentedTrack

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

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. Im Tired of the GPX layers not drawing lines.

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: 2019-03-03 00:16:03 +0100 (Sun, 03 Mar 2019)
Revision:14824
Build-Date:2019-03-02 23:16:53
URL:https://josm.openstreetmap.de/svn/trunk

Identification: JOSM/1.5 (14824 en) Mac OS X 10.14
OS Build number: Mac OS X 10.14 (18A391)
Memory Usage: 1281 MB / 2048 MB (589 MB allocated, but free)
Java version: 9.0.1+11, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: Display 722500370 2560x1440, Display 69733250 1440x900, Display 722469583 1440x2560
Maximum Screen Size: 2560x2560
VM arguments: [-Djava.library.path=/Applications/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DApplicationDirectory=${HOME}/Applications, -DAutosavedInformationDirectory=${HOME}/Library/Autosave Information, -DDesktopDirectory=${HOME}/Desktop, -DDownloadsDirectory=${HOME}/Downloads, -DMoviesDirectory=${HOME}/Movies, -DMusicDirectory=${HOME}/Music, -DPicturesDirectory=${HOME}/Pictures, -DSharedPublicDirectory=${HOME}/Public, -DSystemLibraryDirectory=/Library, -DSystemApplicationSupportDirectory=/Library/Application Support, -DSystemCachesDirectory=/Library/Caches, -DSystemApplicationDirectory=/Applications, -DSystemUserDirectory=/Users, -DUserHome=${HOME}, -DSandboxEnabled=true, -DLaunchModifierFlags=0, -DLaunchModifierFlagCapsLock=false, -DLaunchModifierFlagShift=false, -DLaunchModifierFlagControl=false, -DLaunchModifierFlagOption=false, -DLaunchModifierFlagCommand=false, -DLaunchModifierFlagNumericPad=false, -DLaunchModifierFlagHelp=false, -DLaunchModifierFlagFunction=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true]
Dataset consistency test: No problems found

Plugins:
+ ImportImagePlugin (34576)
+ ImproveOsm (162)
+ OpenStreetCam (184)
+ PicLayer (34867)
+ apache-commons (34506)
+ apache-http (34632)
+ buildings_tools (34904)
+ changeset-viewer (22)
+ ejml (34389)
+ eventbus (34636)
+ geojson (116)
+ geotools (34513)
+ gson (34389)
+ importvec (34867)
+ jaxb (34678)
+ jna (34867)
+ josm-spectrum-tasks (1.0.3)
+ jts (34524)
+ log4j (34527)
+ measurement (34867)
+ opendata (34911)
+ osm-obj-info (51)
+ reltoolbox (34867)
+ reverter (34867)
+ todo (30306)
+ turnrestrictions (34867)
+ utilsplugin2 (34915)

Tagging presets:
+ https://raw.githubusercontent.com/westlakej/Presets/master/Streets.xml

Map paint styles:
+ https://github.com/westlakej/paint/archive/master.zip
- /Applications/josm-macosx/paint-master/overlapping_ways.mapcss
- ${HOME}/Downloads/seastone_edits.mapcss.zip
- ${HOME}/Desktop/KaartQC.mapcss
- ${HOME}/Desktop/KaartQC 2.mapcss
- ${HOME}/Downloads/kaart.validator.mapcss
+ ${HOME}/Downloads/SEA_OutputVis.mapcss

Validator rules:
+ ${HOME}/Downloads/kaart.validator.mapcss

Last errors/warnings:
- W: Invalid jar file ''<josm.userdata>/plugins/utilsplugin2.jar.new'' (exists: false, canRead: false)
- W: Failed to load Mappaint styles from '/Applications/josm-macosx/paint-master/overlapping_ways.mapcss'. Exception was: java.nio.file.NoSuchFileException: /Applications/josm-macosx/paint-master/overlapping_ways.mapcss
- E: java.nio.file.NoSuchFileException: /Applications/josm-macosx/paint-master/overlapping_ways.mapcss
- W: Failed to load Mappaint styles from '${HOME}/Desktop/KaartQC.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/Desktop/KaartQC.mapcss
- E: java.nio.file.NoSuchFileException: ${HOME}/Desktop/KaartQC.mapcss
- W: Failed to load Mappaint styles from '${HOME}/Desktop/KaartQC 2.mapcss'. Exception was: java.nio.file.NoSuchFileException: ${HOME}/Desktop/KaartQC 2.mapcss
- E: java.nio.file.NoSuchFileException: ${HOME}/Desktop/KaartQC 2.mapcss
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Warning: Failed to scan file 'site-svn.openstreetmap.org-_applications_editors_josm_plugins_opendata_modules.txt' for module information. Skipping.
- 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 (20) of main
java.lang.NullPointerException
	at org.openstreetmap.josm.data.gpx.GpxData.combineTracksToSegmentedTrack(GpxData.java:428)
	at org.openstreetmap.josm.gui.layer.GpxLayer$CombineTracksToSegmentedTrackAction.actionPerformed(GpxLayer.java:397)
	at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at java.desktop/javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at java.desktop/com.apple.laf.AquaMenuItemUI.doClick(Unknown Source)
	at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
	at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.Component.processEvent(Unknown Source)
	at java.desktop/java.awt.Container.processEvent(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue.access$500(Unknown Source)
	at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 6 years ago

Description: modified (diff)
Keywords: gpx added
Milestone: 19.03
Summary: Im Tired of the GPX layers not drawing lines.NPE at GpxData.combineTracksToSegmentedTrack

comment:2 by Don-vip, 6 years ago

Resolution: fixed
Status: newclosed

In 14853/josm:

fix #17435 - NPE

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.