Dukascopy
 
 
Wiki JStore Search Login

AbstractMethodError when adding indicators in standalone
 Post subject: AbstractMethodError when adding indicators in standalone Post rating: 0   New post Posted: Thu 27 Sep, 2012, 15:01 
User avatar

User rating: 0
Joined: Thu 16 Jun, 2011, 21:37
Posts: 98
Location: SwitzerlandSwitzerland
Since the update yesterday I am getting the following errors:

Strategy tester: java.lang.AbstractMethodError: 
com.dukascopy.charts.wrapper.DelegatableChartWrapper.addIndicator(Lcom/dukascopy/api/indicators/IIndicator;
Ljava/lang/Object;)Lcom/dukascopy/api/IChartPanel; @
com.yarcap.dukabacktest.MyStrat_BackTest.setupCharts(MyStrat_BackTest.java:257)
com.dukascopy.charts.wrapper.DelegatableChartWrapper.addIndicator(Lcom/dukascopy/api/indicators/IIndicator;[Ljava/lang/Object;)Lcom/dukascopy/api/IChartPanel;:
 java.lang.AbstractMethodError: com.dukascopy.charts.wrapper.DelegatableChartWrapper.addIndicator(Lcom/dukascopy/api/indicators/IIndicator;[Ljava/lang/Object;)Lcom/dukascopy/api/IChartPanel;
   at com.yarcap.dukabacktest.MyStrat_BackTest.setupCharts(MyStrat_BackTest.java:257)
   at com.yarcap.dukabacktest.MyStrat_BackTest.onStart(MyStrat_BackTest.java:88)
   at com.dukascopy.dds2.greed.agent.strategy.tester.StrategyRunner.run(StrategyRunner.java:428)
   at java.lang.Thread.run(Thread.java:722)


the code at line 257 is:

chart.addIndicator(rsi, new Object[]{7});


and the entire RSI adding to the chart is:
IIndicator rsi = m_indicators.getIndicator("RSI");
                setupChartIndAppliedPrice(rsi);
                chart.addIndicator(rsi, new Object[]{7});


Hope this helps and if there's anything I'm doing wrong since the last api please let me know.

Many Thanks,
mm


 
 Post subject: Re: AbstractMethodError when adding indicators in standalone Post rating: 0   New post Posted: Thu 27 Sep, 2012, 16:12 
User avatar

User rating: 0
Joined: Thu 16 Jun, 2011, 21:37
Posts: 98
Location: SwitzerlandSwitzerland
I can confirm that after downgrading to API 2.7.2 from 2.7.3 the bug no longer happens.


 
 Post subject: Re: AbstractMethodError when adding indicators in standalone Post rating: 0   New post Posted: Tue 02 Oct, 2012, 10:52 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
2.7.4


 
 Post subject: Re: AbstractMethodError when adding indicators in standalone Post rating: 0   New post Posted: Wed 17 Oct, 2012, 18:51 
User avatar

User rating: 0
Joined: Thu 16 Jun, 2011, 21:37
Posts: 98
Location: SwitzerlandSwitzerland
Hi Support,

many thanks for this fix. It has been working since the release of 2.7.4, but as of today I am getting the same error. Is there something which I may have changed to cause this to happen again? Let me know how I can help.

Thanks,
mm


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com