Modify ↓
Opened 8 years ago
Closed 8 years ago
#13110 closed defect (duplicate)
I can not read a osm file
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core | Version: | |
Keywords: | template_report | Cc: |
Description
What steps will reproduce the problem?
What is the expected result?
What happens instead?
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: 2016-06-04 17:28:58 +0200 (Sat, 04 Jun 2016) Build-Date:2016-06-04 15:31:27 Revision:10327 Relative:URL: ^/trunk Identification: JOSM/1.5 (10327 es) Linux Ubuntu 14.04.4 LTS Memory Usage: 462 MB / 1746 MB (363 MB allocated, but free) Java version: 1.8.0_91-b14, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM VM arguments: [-Djava.security.policy=file:<java.home>/lib/security/javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>/bin, -Djava.security.manager, -Djnlpx.origFilenameArg=${HOME}/.java/deployment/cache/6.0/56/1ee8cfb8-52d71bc9, -Djnlpx.remove=false, -Dsun.awt.warmup=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=60760, -Djnlp.application.href=https://josm.openstreetmap.de/download/josm.jnlp, -Djnlpx.jvm=<java.home>/bin/java, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=] Plugins: - FixAddresses (32158) - HouseNumberTaggingTool (31926) - Mapillary (32158) - apache-commons (32158) - apache-http (32158) - ejml (32158) - geotools (31895) - jogl (1.0.46) - jts (31906) - kendzi3d-resources (0.0.1) - log4j (32158) - opendata (32158) - utilsplugin2 (32158) - wikipedia (32182) Last errors/warnings: - E: org.openstreetmap.josm.tools.UncheckedParseException: The date string (2016-07-05T12:12+0200) could not be parsed.. Causa: java.lang.IllegalArgumentException: 2016-07-05T12:12+0200 org.openstreetmap.josm.tools.UncheckedParseException: The date string (2016-07-05T12:12+0200) could not be parsed. at org.openstreetmap.josm.tools.date.DateUtils.tsFromString(DateUtils.java:139) at org.openstreetmap.josm.io.OsmReader.readCommon(OsmReader.java:457) at org.openstreetmap.josm.io.OsmReader.parseNode(OsmReader.java:215) at org.openstreetmap.josm.io.OsmReader.parseOsm(OsmReader.java:160) at org.openstreetmap.josm.io.OsmReader.parseRoot(OsmReader.java:122) at org.openstreetmap.josm.io.OsmReader.parse(OsmReader.java:108) at org.openstreetmap.josm.io.OsmReader.doParseDataSet(OsmReader.java:592) at org.openstreetmap.josm.io.OsmReader.parseDataSet(OsmReader.java:643) at org.openstreetmap.josm.io.OsmImporter.parseDataSet(OsmImporter.java:132) at org.openstreetmap.josm.io.OsmImporter.loadLayer(OsmImporter.java:122) at org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:91) at org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:76) at org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:91) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:360) at org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:313) at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:93) at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:159) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: 2016-07-05T12:12+0200 at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$Parser.skip(XMLGregorianCalendarImpl.java:2844) at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl$Parser.parse(XMLGregorianCalendarImpl.java:2766) at com.sun.org.apache.xerces.internal.jaxp.datatype.XMLGregorianCalendarImpl.<init>(XMLGregorianCalendarImpl.java:435) at com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl.newXMLGregorianCalendar(DatatypeFactoryImpl.java:536) at org.openstreetmap.josm.tools.date.DateUtils.tsFromString(DateUtils.java:137) ... 21 more
Attachments (0)
Change History (5)
comment:1 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → needinfo |
comment:2 by , 8 years ago
Resolution: | → needinfo |
---|---|
Status: | needinfo → closed |
comment:3 by , 8 years ago
Hi, I just uploaded a bug with the same issue. The .osm file was generated with cat2osm2, a tool for converting data from the spanish cadastre to OSM XML.
comment:4 by , 8 years ago
Resolution: | needinfo |
---|---|
Status: | closed → reopened |
comment:5 by , 8 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
Closed as duplicate of #13481.
Note:
See TracTickets
for help on using tickets.
Can you please attach your .osm file and tell us where does it come from?