[Talk-ca] Canvec.osm samples
Adam Dunn
dunnadam at gmail.com
Thu Apr 29 17:46:11 BST 2010
I'm getting NullPointerException in JOSM for all three files, and making
sure the line feeds are unix (since I'm on linux) doesn't help. This is with
JOSM 3208.
Open file: /home/adam/Desktop/021L14_sample.osm (2796211 bytes)
org.openstreetmap.josm.io.IllegalDataException:
java.lang.NullPointerException
at org.openstreetmap.josm.io.OsmReader.parseDataSet(OsmReader.java:586)
at org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:42)
at org.openstreetmap.josm.io.OsmImporter.importData(OsmImporter.java:34)
at
org.openstreetmap.josm.io.FileImporter.importDataHandleExceptions(FileImporter.java:57)
at
org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.importData(OpenFileAction.java:263)
at
org.openstreetmap.josm.actions.OpenFileAction$OpenFileTask.realRun(OpenFileAction.java:242)
at
org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
at
org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
...... more stack that goes into java api libraries
Caused by: java.lang.NullPointerException
at
org.openstreetmap.josm.data.osm.Storage$1.getHashCode(Storage.java:317)
at org.openstreetmap.josm.data.osm.Storage.getBucket(Storage.java:246)
at org.openstreetmap.josm.data.osm.Storage.get(Storage.java:196)
at org.openstreetmap.josm.io.OsmReader$Parser.intern(OsmReader.java:126)
at
org.openstreetmap.josm.io.OsmReader$Parser.startElement(OsmReader.java:273)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
.... goes further into xerces
I don't know if the stacktrace helps, or if anyone else is having problems
with these files. Other .osm files open up fine on my system. I could submit
this as a bug report to Josm with the sample file, but wanted to check if
anyone else is having problems as well.
Adam
On Thu, Apr 1, 2010 at 11:05 PM, Sam Vekemans
<acrosscanadatrails at gmail.com>wrote:
> Thanks,
> But its oodles of people who help with the process.
>
> Speaking of which, i'll have the complete Ibycus 3.0 Garmin MapSource
> IMG files available for download as single (grouped) .zip files
> available soon.
> It will still be at least a year before we get our map to that level.
>
> Sam
>
> <snip>
> For those who are interesting to have a look at sample datasets, you can
> download them from
>
> OSM wiki http://wiki.openstreetmap.org/wiki/CanVec#Sample_Datasets
> NRCan ftp://ftp2.cits.rncan.gc.ca/osm/pub
>
> Have fun (I hope!-)
>
> Daniel
>
_______________________________________________
> Talk-ca mailing list
> Talk-ca at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk-ca
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-ca/attachments/20100429/43194fa3/attachment.html>
More information about the Talk-ca
mailing list