Deva wrote: hasintha wrote: Deva wrote: hasintha wrote: Deva wrote:Great work hasintha.
I would appreciate your assistance on 2 issues.
1. Chart Draw/ Data/ Preview/ doesn't work. Gives a message Box with a header "Chart Renderer". Market data tickers are working fine.
2. Historical Prices doesn't show. Technical indicators are working fine.
Am I missing something? or do I have to upload any database file/s?
Thanking you in advance.
Thanks for your input bro,
Please make sure the DB_XSTOCKS.db , lib folder and the JCharts.jar file are in the same folder. and if this is not the case please update your JRE to the latest version. hope this helps.
Thank you for the reply.
All the items are in one folder. Updated my Java run time to 6.0.390. Still issue persists.
D/B name is DB_XSTOCKS.h2 Is it an issue?
Sorry, if I am taking your important time.
Hey bro , pardon me for the delay in reply because I was pondering over possible causes,
do you get the error ("Chart Render") for all the time periods or to a specific time period ?please select a different time period and try drawing the chart.
and if you still getting the error, what is the error message exactly.?
Since the offline ticker and TIs data gets populated this doesn't seem to be a database related issue....
Thank you for the reply bro. Problem seems to be little unusual.
I tried different combinations of Shares, Periods and Chart Types.
When
"Draw" button is pressed it gives Error Message Box
"Chart Renderer".
When
"Data" button is pressed it gives Error Message Box
"Error in prices".
When
"Preview" button is pressed it gives Error Message Box
"Chart Renderer".
Please find below. Wonder details are enough?
J:\Documents and Settings\Deva\Desktop\JStockCharts>java -jar JCharts.jar
java.lang.Exception: Delisted or inactive counter has been detected , rendering
terminated and timer may continue...
at jstockcharts.Main$CounterShowTimer.showCounterDynamicInfo(Main.java:1
03)
at jstockcharts.Main$CounterShowTimer.actionPerformed(Main.java:71)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.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$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)
java.lang.Exception: Delisted or inactive counter has been detected , rendering
terminated and timer may continue...
at jstockcharts.Main$CounterShowTimer.showCounterDynamicInfo(Main.java:1
03)
at jstockcharts.Main$CounterShowTimer.actionPerformed(Main.java:71)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.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$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.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.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$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.security.AccessControlContext$1.doIntersectionPrivilege(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.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)
java.lang.IllegalArgumentException
at java.sql.Date.valueOf(Unknown Source)
at jstockcharts.Main.formatDate(Main.java:1327)
at jstockcharts.Main.drawChart(Main.java:1132)
at jstockcharts.Main.access$2400(Main.java:18)
at jstockcharts.Main$24.run(Main.java:726)
at java.lang.Thread.run(Unknown Source)