couldn't understand the "Bound element already written and only one allowed." error during osmosis --read-api

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

couldn't understand the "Bound element already written and only one allowed." error during osmosis --read-api

Ram Shrestha
what is this error about: Am I missing something?
I am using osmosis on windows command prompt.
C:\Windows\System32>osmosis --read-api left="85.00" right="85.04" bottom="27.00" top="27.04" --write-xml file="D:\osmosis\bin\replication\test.osm"

But I get error:
C:\Windows\System32>osmosis --read-api left="85.00" right="85.04" bottom="27.00"
 top="27.04" --write-xml file="D:\osmosis\bin\replication\test.osm"
Dec 25, 2013 12:29:40 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.43.1
Dec 25, 2013 12:29:40 PM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory - org.apache.xerces.jaxp.SAXParserFactoryImpl@86394
1
Dec 25, 2013 12:29:40 PM org.java.plugin.registry.xml.PluginRegistryImpl configu
re
INFO: configured, stopOnError=false, isValidating=true
Dec 25, 2013 12:29:41 PM org.java.plugin.registry.xml.PluginRegistryImpl registe
r
INFO: plug-in and fragment descriptors registered - 1
Dec 25, 2013 12:29:41 PM org.java.plugin.standard.StandardPluginManager activate
Plugin
INFO: plug-in started - org.openstreetmap.osmosis.core.plugin.Core@0.0.0.42-6-gf
39a160-dirty
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Dec 25, 2013 12:29:43 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTa
skManager waitForCompletion
SEVERE: Thread for task 1-read-api failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Bound element already wr
itten and only one allowed.
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmWriter$SubElementWriter.pr
ocess(OsmWriter.java:183)
        at org.openstreetmap.osmosis.core.container.v0_6.BoundContainer.process(
BoundContainer.java:59)
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmWriter.process(OsmWriter.j
ava:86)
        at org.openstreetmap.osmosis.xml.v0_6.XmlWriter.process(XmlWriter.java:7
5)
        at org.openstreetmap.osmosis.xml.v0_6.impl.BoundsElementProcessor.end(Bo
undsElementProcessor.java:84)
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.endElement(OsmHand
ler.java:107)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known 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 Sour
ce)
        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at org.openstreetmap.osmosis.xml.v0_6.XmlDownloader.run(XmlDownloader.ja
va:192)
        at java.lang.Thread.run(Unknown Source)

Dec 25, 2013 12:29:43 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed
.
        at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForComple
tion(Pipeline.java:146)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
        at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Laun
cher.java:329)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:239)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:47)


C:\Windows\System32>

_______________________________________________
newbies mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/newbies
Reply | Threaded
Open this post in threaded view
|

Help

Ram Shrestha


couldn't understand the "Bound element already written and only one allowed." error during osmosis --read-api

what is this error about: Am I missing something?
I am using osmosis on windows command prompt.
C:\Windows\System32>osmosis --read-api left="85.00" right="85.04" bottom="27.00" top="27.04" --write-xml file="D:\osmosis\bin\replication\test.osm"

But I get error:
C:\Windows\System32>osmosis --read-api left="85.00" right="85.04" bottom="27.00"
 top="27.04" --write-xml file="D:\osmosis\bin\replication\test.osm"
Dec 25, 2013 12:29:40 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.43.1
Dec 25, 2013 12:29:40 PM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory - org.apache.xerces.jaxp.SAXParserFactoryImpl@86394
1
Dec 25, 2013 12:29:40 PM org.java.plugin.registry.xml.PluginRegistryImpl configu
re
INFO: configured, stopOnError=false, isValidating=true
Dec 25, 2013 12:29:41 PM org.java.plugin.registry.xml.PluginRegistryImpl registe
r
INFO: plug-in and fragment descriptors registered - 1
Dec 25, 2013 12:29:41 PM org.java.plugin.standard.StandardPluginManager activate
Plugin
INFO: plug-in started - org.openstreetmap.osmosis.core.plugin.Core@0.0.0.42-6-gf
39a160-dirty
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Dec 25, 2013 12:29:43 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTa
skManager waitForCompletion
SEVERE: Thread for task 1-read-api failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Bound element already wr
itten and only one allowed.
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmWriter$SubElementWriter.pr
ocess(OsmWriter.java:183)
        at org.openstreetmap.osmosis.core.container.v0_6.BoundContainer.process(
BoundContainer.java:59)
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmWriter.process(OsmWriter.j
ava:86)
        at org.openstreetmap.osmosis.xml.v0_6.XmlWriter.process(XmlWriter.java:7
5)
        at org.openstreetmap.osmosis.xml.v0_6.impl.BoundsElementProcessor.end(Bo
undsElementProcessor.java:84)
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.endElement(OsmHand
ler.java:107)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known 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 Sour
ce)
        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at org.openstreetmap.osmosis.xml.v0_6.XmlDownloader.run(XmlDownloader.ja
va:192)
        at java.lang.Thread.run(Unknown Source)

Dec 25, 2013 12:29:43 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed
.
        at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForComple
tion(Pipeline.java:146)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
        at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Laun
cher.java:329)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:239)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:47)


C:\Windows\System32>



_______________________________________________
newbies mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/newbies
Reply | Threaded
Open this post in threaded view
|

Re: Help

ianmac nz
Hi ram

Did you request more than once?


On 25 December 2013 15:04, Ram Shrestha <[hidden email]> wrote:


couldn't understand the "Bound element already written and only one allowed." error during osmosis --read-api

what is this error about: Am I missing something?
I am using osmosis on windows command prompt.
C:\Windows\System32>osmosis --read-api left="85.00" right="85.04" bottom="27.00" top="27.04" --write-xml file="D:\osmosis\bin\replication\test.osm"

But I get error:
C:\Windows\System32>osmosis --read-api left="85.00" right="85.04" bottom="27.00"
 top="27.04" --write-xml file="D:\osmosis\bin\replication\test.osm"
Dec 25, 2013 12:29:40 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version 0.43.1
Dec 25, 2013 12:29:40 PM org.java.plugin.registry.xml.ManifestParser <init>
INFO: got SAX parser factory - org.apache.xerces.jaxp.SAXParserFactoryImpl@86394
1
Dec 25, 2013 12:29:40 PM org.java.plugin.registry.xml.PluginRegistryImpl configu
re
INFO: configured, stopOnError=false, isValidating=true
Dec 25, 2013 12:29:41 PM org.java.plugin.registry.xml.PluginRegistryImpl registe
r
INFO: plug-in and fragment descriptors registered - 1
Dec 25, 2013 12:29:41 PM org.java.plugin.standard.StandardPluginManager activate
Plugin
INFO: plug-in started - org.openstreetmap.osmosis.core.plugin.Core@0.0.0.42-6-gf
39a160-dirty
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Dec 25, 2013 12:29:41 PM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
Dec 25, 2013 12:29:43 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTa
skManager waitForCompletion
SEVERE: Thread for task 1-read-api failed
org.openstreetmap.osmosis.core.OsmosisRuntimeException: Bound element already wr
itten and only one allowed.
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmWriter$SubElementWriter.pr
ocess(OsmWriter.java:183)
        at org.openstreetmap.osmosis.core.container.v0_6.BoundContainer.process(
BoundContainer.java:59)
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmWriter.process(OsmWriter.j
ava:86)
        at org.openstreetmap.osmosis.xml.v0_6.XmlWriter.process(XmlWriter.java:7
5)
        at org.openstreetmap.osmosis.xml.v0_6.impl.BoundsElementProcessor.end(Bo
undsElementProcessor.java:84)
        at org.openstreetmap.osmosis.xml.v0_6.impl.OsmHandler.endElement(OsmHand
ler.java:107)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unkn
own Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElemen
t(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known 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 Sour
ce)
        at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at org.openstreetmap.osmosis.xml.v0_6.XmlDownloader.run(XmlDownloader.ja
va:192)
        at java.lang.Thread.run(Unknown Source)

Dec 25, 2013 12:29:43 PM org.openstreetmap.osmosis.core.Osmosis main
SEVERE: Execution aborted.
org.openstreetmap.osmosis.core.OsmosisRuntimeException: One or more tasks failed
.
        at org.openstreetmap.osmosis.core.pipeline.common.Pipeline.waitForComple
tion(Pipeline.java:146)
        at org.openstreetmap.osmosis.core.Osmosis.run(Osmosis.java:92)
        at org.openstreetmap.osmosis.core.Osmosis.main(Osmosis.java:37)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Laun
cher.java:329)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.jav
a:239)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(La
uncher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
352)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:47)


C:\Windows\System32>



_______________________________________________
newbies mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/newbies




--
Ian MacIntosh

_______________________________________________
newbies mailing list
[hidden email]
https://lists.openstreetmap.org/listinfo/newbies