logo separator

[mkgmap-dev] Problems trying to generate contour lines for France

From Frédéric Bonifas fredericbonifas at gmail.com on Sun Feb 1 00:16:58 GMT 2009

Hi,

I have generated 160 .osm files with srtm2osm to generate a garmin
elevation map for France. When trying to run mkgmap-r844 on the folder
containing the files, I got a problem :

Exception in thread "main" java.lang.NullPointerException
	at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:991)
	at java.lang.Double.parseDouble(Double.java:510)
	at uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler.addNode(Osm5XmlHandler.java:316)
	at uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler.startElement(Osm5XmlHandler.java:102)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
	at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1339)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
	at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:198)
	at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:78)
	at uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:124)
	at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:43)
	at uk.me.parabola.mkgmap.main.Main.processFilename(Main.java:150)
	at uk.me.parabola.mkgmap.CommandArgs$Filename.processArg(CommandArgs.java:329)
	at uk.me.parabola.mkgmap.CommandArgs.readArgs(CommandArgs.java:119)
	at uk.me.parabola.mkgmap.main.Main.main(Main.java:91)

Am I doing something wrong ?
Thanks

Frédéric



More information about the mkgmap-dev mailing list