Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Submit JForex API bug reports in this forum only.
    Submit Converter issues in Converter Issues.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Remote Run does not work anymore
 Post subject: Remote Run does not work anymore Post rating: 0   New post Posted: Mon 06 Apr, 2015, 17:20 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
Dear support,

remote run does not start anymore with JForex version 2.44.4
There is no message in Strategy Log (No data), but in Activity Log you can see
Quote:
Strategy "RemoteStartTest" is stopped at 2015-04-06 16:16:36.312 GMT on the remote server with no parameters. Reason: Error in communication with the strategy


I tested this with this simple strategy:
package jforex;

import java.util.*;

import com.dukascopy.api.*;

public class RemoteStartTest implements IStrategy {
    private IEngine engine;
    private IConsole console;
    private IHistory history;
    private IContext context;
    private IIndicators indicators;
    private IUserInterface userInterface;
   
    public void onStart(IContext context) throws JFException {
        this.engine = context.getEngine();
        this.console = context.getConsole();
        this.history = context.getHistory();
        this.context = context;
        this.indicators = context.getIndicators();
        this.userInterface = context.getUserInterface();
    }

    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 {
    }
}


 
 Post subject: Re: Remote Run does not work anymore Post rating: 0   New post Posted: Wed 08 Apr, 2015, 16:00 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
There was a problem that is fixed now. Please try it again.


 
 Post subject: Re: Remote Run does not work anymore Post rating: 0   New post Posted: Mon 20 Apr, 2015, 23:38 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
It is still not working with version 2.44.4

I get an empty error window
Image

The following appears in the Java console
2015-04-21 00:37:15.640 ERROR c - 
java.lang.NullPointerException
   at com.dukascopy.jss.b.a(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.strategy.tab.actions.RunRemoteStrategyAppAction.EA(Unknown Source)
   at com.dukascopy.dds2.greed.actions.c.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)


Please fix this.

I tried this remote run on an old running v2.44.2, here it works.
Please make older versions available for all users (at least for developers) as the current situation is annoying if one has no older JForex running. Errors in new JForex versions happen quite often and it would be good to access an older version.


Attachments:
empty_error.png [11.76 KiB]
Downloaded 414 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Remote Run does not work anymore Post rating: 0   New post Posted: Tue 21 Apr, 2015, 11:20 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We were unable to reproduce the problem.
Is there a possibility that you could give us a sample strategy to reproduce the exception.


 
 Post subject: Re: Remote Run does not work anymore Post rating: 0   New post Posted: Tue 21 Apr, 2015, 12:51 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
Soved it. I had to restart the platform.


 

Jump to:  

cron
  © 1998-2025 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