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
    Vote Rating
    paucarre is on a distinguished road


    Default Bug at creating a chart

    Bug at creating a chart

    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(
    at com.sencha.gxt.chart.client.chart.series.ScatterSeries.setYField(
    at com.oghmasys.nomad.gui.client.gird.CrudGridFactory.createChart(

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

    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
    Vote Rating
    BrendanC is on a distinguished road



    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar