Hi support team,
I got same error on historical tester.
I think, Filter.WEEKENDS(or Filter.ALL_FLATS) is cause of this trouble.
Please check this sample strategy.
package jforex;
import com.dukascopy.api.*;
import java.util.Calendar;
import java.util.Locale;
import java.util.TimeZone;
import java.text.SimpleDateFormat;
import java.util.List;
public class GetBarsTest implements IStrategy {
//@Configurable(value="Instrument")
public Instrument instrument = Instrument.EURUSD;
//@Configurable(value="Period")
public Period period = Period.FIVE_MINS;
public void onStart(IContext context) throws JFException {
IConsole console = context.getConsole();
IHistory history = context.getHistory();
console.getNotif().println("Test Started : " + this.getClass().getName());
Calendar cal = Calendar.getInstance(TimeZone.getTimeZone("Europe/London"), Locale.US);
cal.set(2014, 7, 24, 22,0,0);
long startTime = history.getBarStart(period, cal.getTimeInMillis());
SimpleDateFormat sdf = new SimpleDateFormat("EEE dd MMM yyyy HH:mm z", Locale.US);
sdf.setTimeZone(cal.getTimeZone());
console.getInfo().println("StartTime = " + sdf.format(startTime));
List<IBar> bars;
for(int i = -1; ++i < 3;){
try{
console.getWarn().println("CHECK " + i + ": getBars(EURUSD, FIVE_MINS, BID, " + Filter.values()[i] + ", 26, StartTime, 0).....");
bars = history.getBars(instrument, period, OfferSide.BID, Filter.values()[i], 26, startTime, 0);
}catch(Exception e){
context.stop();
console.getErr().println("CHECK " + i + ": Faild");
throw e;
}
console.getInfo().println("CHECK " + i + ": Succeeded!");
}
}
public void onAccount(IAccount account) throws JFException {
}
public void onMessage(IMessage message) throws JFException {
}
public void onStop() throws JFException {
}
public void onTick(Instrument instrument, ITick tick) throws JFException {
}
public void onBar(Instrument instrument, Period period, IBar askBar, IBar bidBar) throws JFException {
}
}
Result(jnlp file<java version="1.6+" initial-heap-size="256m" max-heap-size="1024m"/>) is this.

What is this Error?
If memory serves me right,
This error didn't exist before this summer.
Do you have any plans to fix a problem of current platform?
Or, Should I forget that and move to the JForex4?