Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

com.dukascopy.charts.data.datacache.DataCacheException: java.io.IOException: Unable to create file
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=56288
Page 1 of 1

Author:  Chrysos [ Tue 20 Feb, 2018, 14:46 ]
Post subject:  com.dukascopy.charts.data.datacache.DataCacheException: java.io.IOException: Unable to create file

Hi,

I have a strategy which ran from 16/2/2018 to 20/2/2018 (over the weekend period too) on the remote server and then it stopped - due to caught exception from strategy.

Here is the error message from the log.
com.dukascopy.charts.data.datacache.DataCacheException: java.io.IOException: Unable to create file [/opt/dukascopy/log/JSS/work/1364974/0/074807c9-844d-423b-8054-99289de8f5f1/cache/CADJPY/2018/01/BID_candles_hour_1.bi5.lck], No such file or directory @ cgm.EMT_TEST.onBar(EMT_TEST.java:379)


The line which caused the error is a standard MA indicator. I managed to subscribe to 16 instruments.
double ma3[] = myInd.ma(instrument, period, OfferSide.BID, AppliedPrice.CLOSE, 55, MaType.EMA, Filter.ALL_FLATS, 2, timeOfCurrBar, 0);


This has to be some bug or something. How does one overcome this?

Thanks,
Chrysos.

Author:  API Support [ Tue 27 Feb, 2018, 12:35 ]
Post subject:  Re: com.dukascopy.charts.data.datacache.DataCacheException: java.io.IOException: Unable to create file

Please provide more information on how to reproduce this issue.

  Page 1 of 1