× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2012-12-20T01:14:06Z  · last modified 2013-02-05T15:35:07Z

java.lang.ArrayIndexOutOfBoundsException for Pie Charts


Dev mattbrumley(*)
QA
Sachin Prakash
SachinPrakash
Priority Low
Complexity Unknown
Component App - Charts
Version 13.0

Version: 13.0-alpha-14
Build #: 30653
Build Date: 2012-Dec-18 04:02:10 AM

1. Open Help-->View Log

2. Execute the below query against SQL Server Northwind database and change it to a Pie Chart. Then move the pie chart around the chart area and you get an Exception as below after the script

select top 50 * from orders
GO
.setResultSettings 'Index=1,
    CategoryFields="[CustomerID]",
    SeriesFields="[OrderID]",
    ShowChart=true,
    ShowToolbar=true,
    Paging=true,
    Split=300,
    Chart="{column}",
    Theme=default,
    RotX=325,
    RotY=0,
    RotZ=0,
    ZoomScalar=1.0,
    ShowLegend=true,
    ShowLegendBorder=true,
    ShowGrid=true,
    FillGrid=true,
    GridOpacity=0.5,
    GridLineWidth=1.0,
    Title="",
    TitlePosition="Bottom Center",
    TitleCategory="",
    TitleValue="",
    UseTitleMargin=false,
    UseAxisTitleMargin=false,
    AxisTitleOnEdge=false,
    PieExplode=0.0,
    GroupSmallValues=true,
    SmallValuesThreshold=3.0,
    PieLabelDistance=3.0,
    PieShowLines=false,
    LineWidth=1.0,
    ShowMarkers=true,
    MapShowBackground=false,
    MapShowDetails=false,
    MapRange="",
    MapRangeColors="",
    Width=16.0,
    Height=10.0,
    Depth=5.0,
    SeriesSpacing=1.0,
    CategorySpacing=1.0,
    Font=ARIAL-PLAIN-10,
    LegendFontSize=1.0,
    SeriesFontSize=1.0,
    CategoryFontSize=1.0,
    ValueFontSize=1.0,
    TitleFontSize=1.75,
    AxisTitleFontSize=1.25,
    DataLabelFontSize=1.0,
    TopColor=#ebf0f5,
    BottomColor=#d7dcf5,
    PanX=0.0,
    PanY=0.0,
    Lighting=Default,
    Opacity=1.0,
    View2D=false,
    FitChartToImage=false,
    StackedPercent=false,
    ShowValueAxis=true,
    ShowValueAxisTicks=true,
    ShowValueAxisLines=true,
    ReverseValueAxis=false,
    ShowCategoryAxis=true,
    ShowCategoryAxisTicks=true,
    ShowCategoryAxisLines=true,
    ShowSeriesAxis=true,
    ShowDataLabels=false,
    ValueAxisNumberFormat="",
    CategoryAxisNumberFormat="",
    CategoryAxisDateFormat="",
    CategoryAxisDateTimeFormat="",
    CategoryAxisTimeFormat="",
    SeriesAxisNumberFormat="",
    SeriesAxisDateFormat="",
    SeriesAxisDateTimeFormat="",
    SeriesAxisTimeFormat="",
    NumericCategoryAxis=false,
    MergeAxis=true,
    SeriesAlias="default",
    SeriesSubType="",
    SeriesColumnType="Cube",
    SeriesMin="default",
    SeriesMax="default",
    SeriesColor="default",
    SeriesFunctionMetaData="true",
    ShowSeriesDataLabels="false",
    LegendPosition=Top Right,
    LegendWidthType=Fit,
    LegendWidth=100,
    LegendHeightType=Fit,
    LegendHeight=160,
    UseLegendMargin=false,
    ShowFixedCategoryCount=false,
    FixedCategoryCount=0'

 

6. You get below exception:

Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsException: -1
    at java.util.ArrayList.get(ArrayList.java:324)
    at \\...\\ .\\हिñçêČάй語简�?한\\.N᠒ꂄꀦ⢿ 9.m(Unknown Source)
    at \\...\\ .\\हिñçêČάй語简�?한\\.N᠒ꂄꀦ⢿ 9.display(Unknown Source)
    at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
    at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:435)
    at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
    at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:412)
    at javax.media.opengl.GLCanvas.display(GLCanvas.java:244)
    at javax.media.opengl.GLCanvas.paint(GLCanvas.java:277)
    at javax.media.opengl.GLCanvas.update(GLCanvas.java:354)
    at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
    at sun.awt.X11.XRepaintArea.updateComponent(XRepaintArea.java:43)
    at sun.awt.RepaintArea.paint(RepaintArea.java:216)
    at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:677)
    at java.awt.Component.dispatchEventImpl(Component.java:4736)
 

Issue #8106

Closed
Fixed
Resolved 2013-01-10T00:02:12Z
 
 
Completion
No due date
Fixed Build 13.0-rc-4
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017