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

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    Geographic Information Systems | 12 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

    [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)
  4. Speed up your debug routine!

    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