barchart / barchart-feed-ddf

barchart data feed libraries
http://www.barchartmarketdata.com/solutions_datafeeds.php
4 stars 2 forks source link

Calling getQuery() on an DDF_Query object throws a CloneNotSupportedException #3

Closed mvberg closed 10 years ago

mvberg commented 10 years ago

To repo, run the HistoricalEODExample and add the below after line 110

result.getQuery();

project barchart-feed-ddf-historical

java.lang.CloneNotSupportedException: com.barchart.feed.ddf.historical.api.DDF_Query at java.lang.Object.clone(Native Method) at com.barchart.feed.ddf.historical.api.DDF_Query.clone(DDF_Query.java:97) at com.barchart.feed.ddf.historical.provider.Result.getQuery(Result.java:192) at com.barchart.plugin.widget.historical.ui.HistoricalDataView$8.taskExecuted(HistoricalDataView.java:540) at org.apache.pivot.wtk.TaskAdapter$TaskExecutedCallback.run(TaskAdapter.java:39) at org.apache.pivot.wtk.ApplicationContext$QueuedCallback.run(ApplicationContext.java:1705) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

mvberg commented 10 years ago

boom, fixed by 3c82f0abdd80a4b9e2dc48bbd4b2b354c7937c0f

thanks.