logo separator

[mkgmap-dev] Again NullPointerException

From Thorsten Kukuk kukuk at suse.de on Wed Feb 8 14:53:08 GMT 2012

Hi WanMil,

On Tue, Feb 07, WanMil wrote:

> Hi Thorsten,
> 
> yes there was one check missing. I have comitted it so this case is 
> catched now.

Thanks! But this leads only to the next error (mkgmap-r2204 without
patches):

Exception in thread "main" java.lang.AssertionError: null first element is not outer. [inner, outer, outer]
        at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryUtil.splitToElements(BoundaryUtil.java:87)
        at uk.me.parabola.mkgmap.reader.osm.boundary.Boundary.getBoundaryElements(Boundary.java:95)
        at uk.me.parabola.mkgmap.reader.osm.boundary.BoundarySaver.write(BoundarySaver.java:316)
        at uk.me.parabola.mkgmap.reader.osm.boundary.BoundarySaver.saveToFile(BoundarySaver.java:287)
        at uk.me.parabola.mkgmap.reader.osm.boundary.BoundarySaver.addBoundary(BoundarySaver.java:114)
        at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryElementSaver.addRelation(BoundaryElementSaver.java:135)
        at uk.me.parabola.mkgmap.reader.osm.xml.Osm5XmlHandler$SaxHandler.endElement(Osm5XmlHandler.java:182)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.endElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
        at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
        at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:72)
        at uk.me.parabola.mkgmap.reader.osm.boundary.BoundaryPreparer.run(BoundaryPreparer.java:105)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:333)
        at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:126)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:112)


  Thorsten

-- 
Thorsten Kukuk, Project Manager/Release Manager SLES
SUSE LINUX Products GmbH, Maxfeldstr. 5, D-90409 Nuernberg
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)



More information about the mkgmap-dev mailing list