ok, please ignore my previous post, I was able to run it.
Now it generates an error with createMarketDataSnapshotRequestInstrument() when preparing request to get USD/HKD historical price, see below.
However it is better than before as I can check if it returns null and ignore this instrument if it does.
BTW, the Log folder was empty.
Thanks,
Anton.