ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  BaseChart.initDynamicLayer() throws java.lang.ArrayIndexOutOfBoundsException
Posted by hiro on Mar-02-2016 15:37
Hi Peter,

I'm getting the following exception in BaseChart.initDynamicLayer().
Do you have any solution? 

---------------------------------
java.lang.ArrayIndexOutOfBoundsException: 10000
at ChartDirector.gh.b(SourceFile:148)
at ChartDirector.MetaDraw.b(SourceFile:2292)
at ChartDirector.MetaDraw.a(SourceFile:2273)
at ChartDirector.DrawArea.e(SourceFile:919)
at ChartDirector.DrawArea.a(SourceFile:3944)
at ChartDirector.DrawArea.initDynamicLayer(SourceFile:3924)
at ChartDirector.BaseChart.initDynamicLayer(SourceFile:550)
....
---------------------------------



Thanks for any help.

  Re: BaseChart.initDynamicLayer() throws java.lang.ArrayIndexOutOfBoundsException
Posted by Peter Kwan on Mar-03-2016 04:17
Hi hiro,

Is it possible to provide some more details on how does it happen?

Does the issue reproducible (always occur under certain conditions), or it is random? How often does it happen?

The initDynamicLayer is typically called to handle track cursors. Does the problem occur before the track cursor appear, or does it occur after the track cursor appear and moving for a while?

If the error is reproducible, is it possible to add the following line immediately before "initDynamicLayer" to create a graphics log file to see if I can find any clue:

c.makeChart("/some/path/log.agf");

If I cannot determine the cause using the above method, I may need to send a special debug build of ChartDirector to you for trouble-shooting. (The debug build will have a more detail log.) However, to be useful, the issue needs to be reproducible so we can log the issue.

Regards
Peter Kwan