I'm pretty sure I've found and fixed the problem. Can you try the new build I've just created?<br><a href="http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-0.37-SNAPSHOT.zip">http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-0.37-SNAPSHOT.zip</a><br>
<a href="http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-0.37-SNAPSHOT.tgz">http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-0.37-SNAPSHOT.tgz</a><br><br>I made a fairly significant change on 14th March to improve the completeWays and completeRelations functionality. Unfortunately I broke the case where a --tee task is used and clipIncompleteEntities=true is set on the --bounding-box task. I've fixed it now. The --tee task makes all entities read-only so that multiple threads can act on the same data. Any tasks that wish to modify the entities must be cloned before use. The --bounding-box task was cloning entities but using the original copy anyway. Silly mistake. Fixed now.<br>
<br><div class="gmail_quote">On Mon, Aug 2, 2010 at 10:26 PM, NopMap <span dir="ltr"><<a href="mailto:ekkehart@gmx.de">ekkehart@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Hi!<br>
<br>
I did some more experiments. The exception occurs in Osmosis 0.35 and 0.36.<br>
Osmosis 0.34 processes the file just fine.<br>
<br>
The file is <a href="http://download.geofabrik.de/osm/europe/germany.osm.bz2" target="_blank">http://download.geofabrik.de/osm/europe/germany.osm.bz2</a><br>
<br>
Command line<br>
bzip2 -d -c germany.osm.bz2 | osmosis --rx /dev/stdin enableDateParsing=no<br>
--tee outputCount<br>
=1 --bounding-polygon file=main.poly clipIncompleteEntities=yes<br>
idTrackerType=BitSet --wx /dev/stdout | gzip -c > test.osm.gz<br>
<br>
bye<br>
Nop<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osmosis-development.959512.n3.nabble.com/Exception-in-Osmosis-0-36-tp1015401p1015780.html" target="_blank">http://osmosis-development.959512.n3.nabble.com/Exception-in-Osmosis-0-36-tp1015401p1015780.html</a><br>
</font><div><div></div><div class="h5">Sent from the Osmosis Development mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
osmosis-dev mailing list<br>
<a href="mailto:osmosis-dev@openstreetmap.org">osmosis-dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/osmosis-dev" target="_blank">http://lists.openstreetmap.org/listinfo/osmosis-dev</a><br>
</div></div></blockquote></div><br>