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

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Convert .osm to .map for mapsforge

    Geographic Information Systems | 4 years ago | Ali Behzadian Nejad
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: Cannot represent 2147487728 as an integer.
  2. 0

    [osmosis-dev] Error while applying updates to planet.osm

    openstreetmap.org | 1 year ago
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: An input error has occurred, aborting. at org.openstreetmap.osmosis.core.store.DataPostbox.checkForInputErrors(DataPostbox.java:88) at org.openstreetmap.osmosis.core.store.DataPostbox.consumeCentralQueue(DataPostbox.java:158) at org.openstreetmap.osmosis.core.store.DataPostbox.hasNext(DataPostbox.java:235) at org.openstreetmap.osmosis.core.change.v0_6.ChangeApplier.run(ChangeApplier.java:175)

    Root Cause Analysis

    1. org.openstreetmap.osmosis.core.OsmosisRuntimeException

      Cannot represent 2147487728 as an integer.

      at org.openstreetmap.osmosis.core.util.LongAsInt.longToInt()
    2. osmosis-core
      Node.<init>
      1. org.openstreetmap.osmosis.core.util.LongAsInt.longToInt(LongAsInt.java:33)
      2. org.openstreetmap.osmosis.core.domain.v0_6.CommonEntityData.init(CommonEntityData.java:142)
      3. org.openstreetmap.osmosis.core.domain.v0_6.CommonEntityData.<init>(CommonEntityData.java:74)
      4. org.openstreetmap.osmosis.core.domain.v0_6.Entity.<init>(Entity.java:61)
      5. org.openstreetmap.osmosis.core.domain.v0_6.Node.<init>(Node.java:71)
      5 frames
    3. osmosis-xml
      OsmHandler.startElement
      1. org.openstreetmap.osmosis.xml.v0_6.impl.NodeElementProcessor.begin(NodeElementProcessor.java:87)
      2. org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.startElement(OsmHandler.java:90)
      2 frames
    4. Xerces2-j
      SAXParserImpl.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      5. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      8. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      9. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      11. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      11 frames
    5. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(Unknown Source)
      1 frame
    6. osmosis-xml
      XmlReader.run
      1. org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:108)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame