dan-lind / igzplugin

Broker plugin for using IG with Zorro trader
9 stars 5 forks source link

UnsatisfiedDependencyException #7

Open ja-smith opened 2 years ago

ja-smith commented 2 years ago

I am using Zorro 2.44.4, and latest IG plugin 0.32, with JDK 1.8.0_333. When I try to run a simple script to test connection, I get the following:

LiveDataTestIG Login 0 IG.. !org.springframework.beans.factory.UnsatisfiedDependencyException !Error creating bean with name 'brokerStop' defined in URL [jar:file:/C:/Users/Gigabyte/Zorro/Plugin/ig/igplugin-0.32.jar!/com/danlind/igz/brokerapi/BrokerStop.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'createOrderReferenceMap' defined in class path resource [com/danlind/igz/config/PluginConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.openhft.chronicle.map.ChronicleMap]: Factory method 'createOrderReferenceMap' threw exception; nested exception is net.openhft.chronicle.hash.ChronicleHashRecoveryFailedException: file=C:\Users\Gigabyte\Zorro\Plugin\ig\orderChronoMap.dat Self Bootstrapping Header checksum doesn't match the stored checksum Can't connect!

I have checked that I am able to login ok on the IG API companion.