I'm trying to get script to work to update my apidb, but I keep getting errors with trying to specify the location of the minutely replication diffs. I suspect it is related to the port in my change file URL
My simplified command line is osmosis --rri --sc --wdc I have tried both baseUrl=http://merry.paulnorman.ca:7201/minute-redaction-replicate/ and baseUrl=http://merry.paulnorman.ca\:7201/minute-redaction-replicate/ The error I get is: pnorman@merry:~/.osmosis-apidb$ ./update.sh 16-Jun-2012 8:40:54 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Osmosis Version 0.40.1 16-Jun-2012 8:40:54 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Preparing pipeline. 16-Jun-2012 8:40:54 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Launching pipeline execution. 16-Jun-2012 8:40:54 PM org.openstreetmap.osmosis.core.Osmosis run INFO: Pipeline executing, waiting for completion. 16-Jun-2012 8:40:54 PM org.openstreetmap.osmosis.core.pipeline.common.ActiveTaskManager waitForCompletion SEVERE: Thread for task 1-rri failed java.lang.NullPointerException at org.openstreetmap.osmosis.core.time.DateParser.isDateInShortStandardFormat(D ateParser.java:53) at org.openstreetmap.osmosis.core.time.DateParser.parse(DateParser.java:258) at org.openstreetmap.osmosis.replication.common.ReplicationState.<init>(Replica tionState.java:70) at org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerStat e(ServerStateReader.java:97) at org.openstreetmap.osmosis.replication.common.ServerStateReader.getServerStat e(ServerStateReader.java:60) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.downloa d(BaseReplicationDownloader.java:237) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.runImpl (BaseReplicationDownloader.java:279) at org.openstreetmap.osmosis.replication.v0_6.BaseReplicationDownloader.run(Bas eReplicationDownloader.java:349) at java.lang.Thread.run(Thread.java:679) 16-Jun-2012 8:40:54 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.waitForCompletion(Pi peline.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:57 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.ja va: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:47) It works if I use a replication URL without a port. Is there a way to specify a port in the baseUrl that works? _______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
