ClassCastException NotificationUtils on manual order close
Edwin
Post subject: ClassCastException NotificationUtils on manual order close
Post rating: 0
Posted: Mon 22 Dec, 2014, 20:36
User rating: 1
Joined: Tue 20 Mar, 2012, 09:03 Posts: 41
java.lang.ClassCastException: com.dukascopy.api.impl.connect.cd cannot be cast to com.dukascopy.dds2.greed.util.NotificationUtils at com.dukascopy.dds2.greed.actions.orders.OrderGroupCloseAction.CC(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$400(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)
API Support
Post subject: Re: ClassCastException NotificationUtils on manual order close
Hi! Could you please give more details about this problem and provide the strategy (or application + strategy pair if you encounter the problem in sdk) that replicates the case?
Edwin
Post subject: Re: ClassCastException NotificationUtils on manual order close
Post rating: 0
Posted: Mon 05 Jan, 2015, 11:23
User rating: 1
Joined: Tue 20 Mar, 2012, 09:03 Posts: 41
I guess I put this to the wrong topic, this is actually a bug occuring without an automated strategy, it happens when I manually close an order in order overview. To see the error, activate the java console and look at the exception getting logged.
API Support
Post subject: Re: ClassCastException NotificationUtils on manual order close