Dukascopy
 
 
Wiki JStore Search Login

MT4 indicators cannot be compiled or added in 2.36.3
 Post subject: MT4 indicators cannot be compiled or added in 2.36.3 Post rating: 0   Post Posted: Thu 05 Jun, 2014, 13:36 
User avatar

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

MT4 indicators cannnt be compiled or added to charts in JForex DEMO 2.36.3!
It still works in JForex LIVE 2.35, so there must be a bug.
Here is an example.
1) Take the ZigZagJForex.mq4 attached.
2) compile it in JForex 2.36.3
Errors in messages
Quote:
2014-06-05 12:30:57 Cannot instantiate indicator
2014-06-05 12:30:57 access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
2014-06-05 12:30:57 Compilation successful. Indicator ID: 0DA63A3E48EB7E14C0F90EC3C0F3C1C1
2014-06-05 12:30:56 Compiling ZigZagJForex.java

Errors in Java Console
Quote:
05.06.2014 14:33:24.932 SEVERE a.f ] null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.dukascopy.dds2.greed.agent.a.f.getTarget(Unknown Source)
at com.dukascopy.api.impl.d.getIndicator(Unknown Source)
at com.dukascopy.charts.math.a.c.a(Unknown Source)
at com.dukascopy.charts.math.a.c.a(Unknown Source)
at com.dukascopy.dds2.greed.actions.servicesources.CompileAndRunAction.Ch(Unknown Source)
at com.dukascopy.dds2.greed.actions.e.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "accessDeclaredMembers")
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.Class.checkMemberAccess(Unknown Source)
at java.lang.Class.getDeclaredMethod(Unknown Source)
at com.dukascopy.connector.lib.helpers.ReflectionUtils.checkMethodDeclared(ReflectionUtils.java:100)
at com.dukascopy.connector.lib.helpers.ReflectionUtils.checkInitDeclared(ReflectionUtils.java:44)
at com.dukascopy.connector.engine.MQL4ConnectorIndicator.<init>(MQL4ConnectorIndicator.java:29)
at jforex.converted.ZigZagJForex.<init>(ZigZagJForex.java:9)
... 24 more

4) compile it in JForex 2.35
No errors at all.
I can also start it.

Please fix this issue!
Please send BETA versions to developers first before you release a new DEMO.


Attachments:
ZigZagJForex.mq4 [6.28 KiB]
Downloaded 77 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: MT4 indicators cannot be compiled or added in 2.36.3 Post rating: 0   Post Posted: Fri 06 Jun, 2014, 14:55 
User avatar

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

Could you please roll back JForex DEMO to v2.35?
2.36.3 is unusable! MT4 indicator compilation and execution do not work!


 
 Post subject: Re: MT4 indicators cannot be compiled or added in 2.36.3 Post rating: 0   Post Posted: Thu 12 Jun, 2014, 14:22 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Please try current version, 2.36.4


 

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