Dukascopy
 
 
Wiki JStore Search Login

Cannot start strategies, please help!
 Post subject: Cannot start strategies, please help! Post rating: 0   New post Posted: Mon 12 Nov, 2012, 17:12 
User avatar

User rating: 11
Joined: Tue 27 Mar, 2012, 17:47
Posts: 111
Location: GermanyGermany
Hello support,

I am no longer able to start my strategies.
I am running the latest build of JForex Web Start client.
After opening a strategy, the strategy tab opens.
But I cannot run the strategy.
Here's the Java log output when clicking on the strategy:
12.11.2012 17:05:59.822   SEVERE                            b.c ] Uncaught exception in [AWT-EventQueue-0] thread: null
java.lang.NullPointerException
   at com.dukascopy.dds2.greed.gui.component.strategy.tab.mediator.c.Ys(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.strategy.tab.toolbar.ad.w(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.strategy.tab.toolbar.StrategiesToolbar.aT(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.strategy.tab.toolbar.StrategiesToolbar.YV(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.strategy.tab.toolbar.StrategiesToolbar.Zl(Unknown Source)
   at com.dukascopy.dds2.greed.gui.component.strategy.tab.toolbar.b.valueChanged(Unknown Source)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
   at javax.swing.DefaultListSelectionModel.fireValueChanged(Unknown Source)
   at javax.swing.DefaultListSelectionModel.setValueIsAdjusting(Unknown Source)
   at javax.swing.plaf.basic.BasicTableUI$Handler.setValueIsAdjusting(Unknown Source)
   at javax.swing.plaf.basic.BasicTableUI$Handler.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
   at java.awt.Component.processMouseEvent(Unknown Source)
   at javax.swing.JComponent.processMouseEvent(Unknown Source)
   at java.awt.Component.processEvent(Unknown Source)
   at java.awt.Container.processEvent(Unknown Source)
   at java.awt.Component.dispatchEventImpl(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
   at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
   at java.awt.Container.dispatchEventImpl(Unknown Source)
   at java.awt.Window.dispatchEventImpl(Unknown Source)
   at java.awt.Component.dispatchEvent(Unknown Source)
   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
   at java.awt.EventQueue.access$000(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.awt.EventQueue$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.awt.EventQueue$2.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$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)


I don't know what is going on here.
I already deleted everything related to JForex and installed all new.
Please give me a hint.

Thanks in advance,
Juergen


 
 Post subject: Re: Cannot start strategies, please help! Post rating: 0   New post Posted: Mon 12 Nov, 2012, 17:24 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
The latest JForex platform live client has not changed, it is v2.18.19 and it's been working for weeks ...?


 
 Post subject: Re: Cannot start strategies, please help! Post rating: 0   New post Posted: Mon 12 Nov, 2012, 17:28 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
I would suggest you check your Java runtime version to see if it is what you expect.

Command prompt:
java -version


Also, use the Java Web Start cache viewer and delete the application(s), then you can attempt to reload.

Using a command prompt:
javaws -viewer

Google up the details.


 
 Post subject: Re: Cannot start strategies, please help! Post rating: 0   New post Posted: Mon 12 Nov, 2012, 18:34 
User avatar

User rating: 11
Joined: Tue 27 Mar, 2012, 17:47
Posts: 111
Location: GermanyGermany
I figured it out.

You now have to write
package jforex;
in the first line of your strategy.
It all worked without this line until this afternoon.
I guess Dukascopy has changed something in the requirements.

Greeds,
Juergen


 
 Post subject: Re: Cannot start strategies, please help! Post rating: 0   New post Posted: Mon 12 Nov, 2012, 19:24 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Ummm... I'm running a strategy with this package designation...
That's my Eclipse package location, and it compiles and runs just fine with the JForex platform compiler to produce a jfx (on Windows).

package com.fs.ats.strategy;

There was recently an amended files folder setup where a Strategies folder is under JForex.
Prior to that, I put my strategies in JForex folder... Check whether your directory structure is the same... JForex/Strategies/files and stuff like that.

Anyway, nice to see it works for you.
HyperScalper


 
 Post subject: Re: Cannot start strategies, please help! Post rating: 0   New post Posted: Thu 15 Nov, 2012, 08:51 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
This is fixed in 2.21.8


 
 Post subject: Re: Cannot start strategies, please help! Post rating: 0   New post Posted: Thu 15 Nov, 2012, 11:29 
User avatar

User rating: 11
Joined: Tue 27 Mar, 2012, 17:47
Posts: 111
Location: GermanyGermany
Desktop Support wrote:
This is fixed in 2.21.8


Hello support,

what do you mean by fixed?
Does this mean that the above mentioned first line with the inclusion of the jforex package is no longer a must?

Best regards,
Juergen


 
 Post subject: Re: Cannot start strategies, please help! Post rating: 0   New post Posted: Mon 19 Nov, 2012, 11:33 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1054
Location: Geneva, Switzerland
It should not be a must anymore.


 

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