﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14292	Unable to convert gps data to data layer	anonymous	team	"==== What steps will reproduce the problem?
1. Load GPS data
2. Right click the GPS data and try to convert that to a data layer 


==== What is the expected result?
A data layer created with GPS data  as tracks

==== What happens instead?
The bug report window comes up

==== Please provide any additional information below. Attach a screenshot if possible.

{{{
URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-01-02 00:53:29 +0100 (Mon, 02 Jan 2017)
Build-Date:2017-01-02 02:33:21
Revision:11427
Relative:URL: ^/trunk

Identification: JOSM/1.5 (11427 en) Windows 7 64-Bit
Memory Usage: 423 MB / 910 MB (209 MB allocated, but free)
Java version: 1.8.0_51-b16, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080, \Display1 1920x1080, \Display2 1920x1080
Maximum Screen Size: 1920x1080
Dataset consistency test: No problems found

Plugins:
+ ElevationProfile (33004)
+ editgpx (33004)
+ turnrestrictions (33088)

Last errors/warnings:
- W: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:49:51.676Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:49:51.676Z
- W: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:49:52.675Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:49:52.675Z
- W: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:50:40.670Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:50:40.670Z
- W: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:50:41.643Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:50:41.643Z
- W: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:50:45.730Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:50:45.730Z
- W: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:50:46.682Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:50:46.682Z
- W: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:53:22.803Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:53:22.803Z
- E: Handled by bug report queue: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:22:39.801Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:22:39.801Z
- E: Handled by bug report queue: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:22:39.801Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:22:39.801Z
- E: Handled by bug report queue: org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:22:39.801Z) could not be parsed.. Cause: java.lang.IllegalArgumentException: 16-01-19T12:22:39.801Z


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: AWT-EventQueue-0 (21) of main
org.openstreetmap.josm.tools.UncheckedParseException: The date string (16-01-19T12:22:39.801Z) could not be parsed.
	at org.openstreetmap.josm.tools.date.DateUtils.tsFromString(DateUtils.java:138)
	at org.openstreetmap.josm.tools.date.DateUtils.fromString(DateUtils.java:69)
	at org.openstreetmap.josm.gui.layer.gpx.ConvertToDataLayerAction$FromGpxLayer.convert(ConvertToDataLayerAction.java:77)
	at org.openstreetmap.josm.gui.layer.gpx.ConvertToDataLayerAction.actionPerformed(ConvertToDataLayerAction.java:152)
	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.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.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$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.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$1.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)
Caused by: java.lang.IllegalArgumentException: 16-01-19T12:22:39.801Z
	at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$Parser.parseAndSetYear(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$Parser.parse(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.<init>(Unknown Source)
	at com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl.newXMLGregorianCalendar(Unknown Source)
	at org.openstreetmap.josm.tools.date.DateUtils.tsFromString(DateUtils.java:136)
	... 41 more
}}}
"	defect	closed	normal		Core		duplicate	template_report	
