java.lang.RuntimeException: java.lang.IllegalArgumentException: Index out of bounds

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Repro: 1) Create a Transformation with a table output step 2) Right click on the table output step and select Visualize > Report Wizard 3) Go all the way through the report wizard 4) Click on "View" button under "Model" 5) "Save as..." the Model 6) Close the Report (You will probably see java.lang.ClassCastException for AnalyzerVisualizationMeta 7) Return to the model, select "Analyzer", press "Go" -- You will get the IndexOutOfBoundsException ERROR 05-09 15:52:22,550 - Error visualizing java.lang.RuntimeException: java.lang.IllegalArgumentException: Index out of bounds at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:237) at org.pentaho.agilebi.spoon.modeler.SpoonModelerController.openVisualizer(SpoonModelerController.java:283) at org.pentaho.agilebi.spoon.modeler.SpoonModelerController.visualize(SpoonModelerController.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:38) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:85) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.custom.CTabFolder.getItem(Unknown Source) at org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:230) at org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54) at org.pentaho.agilebi.spoon.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:291) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createTabForBrowser(AnalyzerVisualization.java:268) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:230) ... 25 more
    via by Curtis Boyden,
  • Repro: 1) Create a Transformation with a table output step 2) Right click on the table output step and select Visualize > Report Wizard 3) Go all the way through the report wizard 4) Click on "View" button under "Model" 5) "Save as..." the Model 6) Close the Report (You will probably see java.lang.ClassCastException for AnalyzerVisualizationMeta 7) Return to the model, select "Analyzer", press "Go" -- You will get the IndexOutOfBoundsException ERROR 05-09 15:52:22,550 - Error visualizing java.lang.RuntimeException: java.lang.IllegalArgumentException: Index out of bounds at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:237) at org.pentaho.agilebi.spoon.modeler.SpoonModelerController.openVisualizer(SpoonModelerController.java:283) at org.pentaho.agilebi.spoon.modeler.SpoonModelerController.visualize(SpoonModelerController.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:38) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:85) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.custom.CTabFolder.getItem(Unknown Source) at org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:230) at org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54) at org.pentaho.agilebi.spoon.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:291) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createTabForBrowser(AnalyzerVisualization.java:268) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:230) ... 25 more
    via by Curtis Boyden,
  • ArrayException in MultiPageEditorPart
    via by eclipse,
    • java.lang.RuntimeException: java.lang.IllegalArgumentException: Index out of bounds at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:237) at org.pentaho.agilebi.spoon.modeler.SpoonModelerController.openVisualizer(SpoonModelerController.java:283) at org.pentaho.agilebi.spoon.modeler.SpoonModelerController.visualize(SpoonModelerController.java:225) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:329) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:139) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:123) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:38) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:85) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.custom.CTabFolder.getItem(Unknown Source) at org.pentaho.ui.xul.swt.tags.SwtTabbox.updateTabState(SwtTabbox.java:230) at org.pentaho.ui.xul.swt.tags.SwtTab.setLabel(SwtTab.java:54) at org.pentaho.agilebi.spoon.perspective.AbstractPerspective.setNameForTab(AbstractPerspective.java:291) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createTabForBrowser(AnalyzerVisualization.java:268) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:230) ... 25 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    3 more bugmates