Dukascopy
 
 
Wiki JStore Search Login

cannot compile strategy with the latest version 2.24.4
 Post subject: cannot compile strategy with the latest version 2.24.4 Post rating: 0   New post Posted: Mon 18 Mar, 2013, 07:00 

User rating: 0
Joined: Mon 18 Mar, 2013, 06:53
Posts: 1
Hi ,support

I can't compile strategy with the latest version 2.24.2 after update the platform. the message
shows " 05:26:39 Unable to compile."
The stategy can be compiled under the 2.24 version and can works well.
Please help me .

Jack


 
 Post subject: Re: cannot compile strategy with the latest version 2.24.4 Post rating: 0   New post Posted: Mon 18 Mar, 2013, 10:29 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
We have fixed one issue, but not sure yet. Can you send us any source code sample showing the problem?


 
 Post subject: Re: cannot compile strategy with the latest version 2.24.4 Post rating: 0   New post Posted: Mon 18 Mar, 2013, 12:41 

User rating: 2
Joined: Thu 01 Mar, 2012, 17:17
Posts: 42
I'm afraid I think I've got the same problem. Several strategies that were compiling fine on Saturday won't do so today with version 2.24.4 (there's no error message--it's just that nothing happens and there's no jfx file produced). Simple code still compiles OK, so I'll post some code if I can work out the source of the problem.

Is there some way I can access earlier versions of JForex to check them out?

Many thanks for your help,

Bunyip


 
 Post subject: Re: cannot compile strategy with the latest version 2.24.4 Post rating: 0   New post Posted: Tue 19 Mar, 2013, 17:46 

User rating: 2
Joined: Thu 01 Mar, 2012, 17:17
Posts: 42
Hi Support,

I know this sounds really weird, but one source of the problem, at least, seems to lie in how you declare arrays.

When I comment out 'block 2' and use 'block 1' in the attached code (which is just a range bar feed), it compiles nicely, but when I comment out block 1 and use block 2, compiling just saves the file and does nothing else.

Yet the only difference between the two blocks is that block 1 explicitly initialises the arrays, while block 2 doesn't, and I know I could declare an array without initialising it until last Saturday.

I hope you can reproduce this and that it's some help,

Bunyip


Attachments:
TestStrategy1.java [5.13 KiB]
Downloaded 402 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: cannot compile strategy with the latest version 2.24.4 Post rating: 0   New post Posted: Wed 20 Mar, 2013, 18:26 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
We believe this issue is fixed in version 2.24.6.1 available on DEMO


 
 Post subject: Re: cannot compile strategy with the latest version 2.24.4 Post rating: 0   New post Posted: Wed 20 Mar, 2013, 19:32 

User rating: 2
Joined: Thu 01 Mar, 2012, 17:17
Posts: 42
Many many thanks. Its' working fine now!

Bunyip


 

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