Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Ext GWT Premium Member
    Join Date
    Jan 2012
    Posts
    17
    Vote Rating
    1
    paucarre is on a distinguished road

      0  

    Default Bug at creating a chart

    Bug at creating a chart


    Hello,
    I am unable to create a chart as when I create the series it is thrown the following stack trace: Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
    at java.lang.String.substring(Unknown Source)
    at com.sencha.gxt.chart.client.chart.series.Series.getValueProviderName(Series.java:610)
    at com.sencha.gxt.chart.client.chart.series.ScatterSeries.setYField(ScatterSeries.java:312)
    at com.oghmasys.nomad.gui.client.gird.CrudGridFactory.createChart(CrudGridFactory.java:75)

    Where the line 75 of CrudGridFactory is:
    series.setYField(new CrudDataValueProvider<CrudRowModel, Number>(
    chartModel.getyField()));



    According to the code of Series.getValueProviderName:
    protected String getValueProviderName(ValueProvider<M, ? extends Number> provider) {
    String name = provider.getClass().getName();
    int start = name.indexOf('_') + 1;
    name = name.substring(start, name.indexOf('_', start));
    return name;
    }

    It seems you are trying to parse the value provider name that should have a certain naming pattern.

  2. #2
    Sencha - GXT Dev Team BrendanC's Avatar
    Join Date
    Aug 2010
    Posts
    534
    Vote Rating
    3
    BrendanC is on a distinguished road

      0  

    Default


    This has been fixed for the next release. Now if the field has no path the legend names will default to "Field #" or "Series #".

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi