Dukascopy
 
 
Wiki JStore Search Login

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

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

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

Error: java.lang.SecurityException: class "com.dukascopy.api.impl.k" does not match trust level of other classe
 Post subject: Error: java.lang.SecurityException: class "com.dukascopy.api.impl.k" does not match trust level of other classe Post rating: 0   New post Posted: Tue 22 May, 2012, 16:27 

User rating: 0
Joined: Tue 22 May, 2012, 16:21
Posts: 1
While implementing a strategy, I am using history.getBar(instrument, period, OfferSide.ASK, 1) i get the exception "Error: java.lang.SecurityException: class "com.dukascopy.api.impl.k" does not match trust level of other classes in the same package"
This error keeps happening every time, except for the value of 0 shift. Why does this happen? and How can I avoid it?

Thanks,
Mark.


 
 Post subject: Re: Error: java.lang.SecurityException: class "com.dukascopy.api.impl.k" does not match trust level of other classe Post rating: 0   New post Posted: Wed 23 May, 2012, 09:30 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Could you please provide more details on how you launch the strategy, which JForex-API and Client versions do you use?


 

Jump to:  

  © 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