org.openstreetmap.osmosis.core.OsmosisRuntimeException: Cannot begin reading in Add stage, must call complete first.

  1. 0

    Problem to input a .osm file in a Postgres database with Osmosis

    Geographic Information Systems | 7 months ago | Reese2016
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: Cannot begin reading in Add stage, must call complete first.
  2. 0

    type=hd option doesn't work

    GitHub | 2 years ago | mapsforge
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: Cannot begin reading in Add stage, must call complete first.
  3. 0

    Convert .osm to .map for mapsforge

    Geographic Information Systems | 3 years ago | Ali Behzadian Nejad
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: Cannot represent 2147487728 as an integer.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Map failes when using type=hd

    GitHub | 2 years ago | mapsforge
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: Cannot represent -1 as a char.
  6. 0

    ERROR: relation "schema_info" does not exist

    Stack Overflow | 1 year ago | Saurabh Kumar Srivastava
    org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.openstreetmap.osmosis.core.OsmosisRuntimeException

      Cannot begin reading in Add stage, must call complete first.

      at org.openstreetmap.osmosis.core.store.RandomAccessObjectStore.initializeReadingStage()
    2. osmosis-core
      IndexedObjectStore.createReader
      1. org.openstreetmap.osmosis.core.store.RandomAccessObjectStore.initializeReadingStage(RandomAccessObjectStore.java:156)
      2. org.openstreetmap.osmosis.core.store.RandomAccessObjectStore.createReader(RandomAccessObjectStore.java:181)
      3. org.openstreetmap.osmosis.core.store.IndexStore.createReader(IndexStore.java:151)
      4. org.openstreetmap.osmosis.core.store.IndexedObjectStore.createReader(IndexedObjectStore.java:96)
      4 frames
    3. org.openstreetmap.osmosis
      CopyFilesetBuilder.process
      1. org.openstreetmap.osmosis.pgsnapshot.common.CompactPersistentNodeLocationStore.getNodeLocation(CompactPersistentNodeLocationStore.java:50)
      2. org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.WayGeometryBuilder.createWayLinestring(WayGeometryBuilder.java:204)
      3. org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.CopyFilesetBuilder.process(CopyFilesetBuilder.java:206)
      3 frames
    4. osmosis-core
      WayContainer.process
      1. org.openstreetmap.osmosis.core.container.v0_6.WayContainer.process(WayContainer.java:58)
      1 frame
    5. org.openstreetmap.osmosis
      PostgreSqlCopyWriter.process
      1. org.openstreetmap.osmosis.pgsnapshot.v0_6.impl.CopyFilesetBuilder.process(CopyFilesetBuilder.java:131)
      2. org.openstreetmap.osmosis.pgsnapshot.v0_6.PostgreSqlCopyWriter.process(PostgreSqlCopyWriter.java:110)
      2 frames
    6. osmosis-xml
      OsmHandler.endElement
      1. org.openstreetmap.osmosis.xml.v0_6.impl.WayElementProcessor.end(WayElementProcessor.java:117)
      2. org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.endElement(OsmHandler.java:107)
      2 frames
    7. Xerces2-j
      SAXParserImpl.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
      2. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      10 frames
    8. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(SAXParser.java:189)
      1 frame
    9. osmosis-xml
      XmlReader.run
      1. org.openstreetmap.osmosis.xml.v0_6.XmlReader.run(XmlReader.java:111)
      1 frame
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame