Opened 5 years ago

Last modified 5 years ago

#5144 new defect

--report-integrity Cannot represent 2149356848 as an integer

Reported by: frodrigo Owned by: bretth
Priority: major Milestone:
Component: osmosis Version:
Keywords: 64bits Cc:

Description

The --report-integrity option fail on id on 64bits

org.openstreetmap.osmosis.core.OsmosisRuntimeException?: Cannot represent 2149356848 as an integer.

at org.openstreetmap.osmosis.core.util.LongAsInt?.longToInt(LongAsInt?.java:33) at org.openstreetmap.osmosis.core.filter.common.BitSetIdTracker?.set(BitSetIdTracker?.java:49) at org.openstreetmap.osmosis.core.report.v0_6.IntegrityReporter?.process(IntegrityReporter?.java:158) at org.openstreetmap.osmosis.core.container.v0_6.NodeContainer?.process(NodeContainer?.java:58) at org.openstreetmap.osmosis.core.report.v0_6.IntegrityReporter?.process(IntegrityReporter?.java:142) at org.openstreetmap.osmosis.xml.v0_6.impl.NodeElementProcessor?.end(NodeElementProcessor?.java:139) at org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler?.endElement(OsmHandler?.java:107) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher?.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) at org.openstreetmap.osmosis.xml.v0_6.XmlReader?.run(XmlReader?.java:111) at java.lang.Thread.run(Thread.java:679)

Change History (1)

comment:1 Changed 5 years ago by frodrigo

Error with 0.43.1

Note: See TracTickets for help on using tickets.