This problem occurs with the current germany.osm AND pbf ( 11-Dec-2010 ) in the latest developer releases (24xxx):

/home/andi/.libraries/osmosis-SNAPSHOT-r24679/bin/osmosis --read-pbf file=/backup/downloads/zltl/germany.osm.pbf --ws database=de validateSchemaVersion=yes user=... password=... host=127.0.0.1
Dec 12, 2010 1:38:50 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Osmosis Version SNAPSHOT-r24679
Dec 12, 2010 1:38:50 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Preparing pipeline.
Dec 12, 2010 1:38:51 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Launching pipeline execution.
Dec 12, 2010 1:38:51 AM org.openstreetmap.osmosis.core.Osmosis run
INFO: Pipeline executing, waiting for completion.
java.util.zip.DataFormatException: incorrect data check
    at java.util.zip.Inflater.inflateBytes(Native Method)
    at java.util.zip.Inflater.inflate(Inflater.java:238)
    at java.util.zip.Inflater.inflate(Inflater.java:256)
    at crosby.binary.file.FileBlockPosition.parseData(FileBlockPosition.java:40)
    at crosby.binary.file.FileBlockHead.readContents(FileBlockHead.java:78)
    at crosby.binary.file.FileBlock.process(FileBlock.java:117)
    at crosby.binary.file.BlockInputStream.process(BlockInputStream.java:15)
    at crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:37)
    at java.lang.Thread.run(Thread.java:619)
Dec 12, 2010 1:38:55 AM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion
SEVERE: Thread for task 1-read-pbf failed
java.lang.Error: java.util.zip.DataFormatException: incorrect data check
    at crosby.binary.file.FileBlockPosition.parseData(FileBlockPosition.java:43)
    at crosby.binary.file.FileBlockHead.readContents(FileBlockHead.java:78)
    at crosby.binary.file.FileBlock.process(FileBlock.java:117)
    at crosby.binary.file.BlockInputStream.process(BlockInputStream.java:15)
    at crosby.binary.osmosis.OsmosisReader.run(OsmosisReader.java:37)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.util.zip.DataFormatException: incorrect data check
    at java.util.zip.Inflater.inflateBytes(Native Method)
    at java.util.zip.Inflater.inflate(Inflater.java:238)
    at java.util.zip.Inflater.inflate(Inflater.java:256)
    at crosby.binary.file.FileBlockPosition.parseData(FileBlockPosition.java:40)
    ... 5 more
Dec 12, 2010 1:38:55 AM 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.waitForCompletion(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(NativeMethodAccessorImpl.java:39)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:329)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:239)
    at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    at org.codehaus.classworlds.Launcher.main(Launcher.java:31)

It didn't happen for smaller data sets like rheinland-pfalz.osm/pbf
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to