java.lang.RuntimeException

org.pentaho.ui.xul.XulException: java.lang.StringIndexOutOfBoundsException: String index out of range: 0

Samebug tips1

Thrown by String methods to indicate that an index is either negative or greater than the size of the string. For some methods such as the charAt method, this exception also is thrown when the index is equal to the size of the string.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web7902

  • via Pentaho BI Platform Tracking by Alex Meadows, 1 year ago
    org.pentaho.ui.xul.XulException: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  • via Pentaho BI Platform Tracking by Alex Meadows, 1 year ago
    org.pentaho.ui.xul.XulException: java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  • java.lang.StringIndexOutOfBoundsException: String index out of range: 0
  • Stack trace

    • java.lang.RuntimeException: org.pentaho.ui.xul.XulException: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:203) at org.pentaho.agilebi.spoon.ModelerHelper.quickVisualize(ModelerHelper.java:420) at org.pentaho.agilebi.spoon.ModelerHelper.quickVisualizeTableOutputStep(ModelerHelper.java:341) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.SwtMenuitem.access$100(SwtMenuitem.java:27) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:77) 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:1183) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6968) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:567) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: org.pentaho.ui.xul.XulException: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:127) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:112) at org.pentaho.ui.xul.swt.SwtXulLoader.loadXul(SwtXulLoader.java:106) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:244) at org.pentaho.agilebi.spoon.visualizations.analyzer.AnalyzerVisualization.createVisualizationFromModel(AnalyzerVisualization.java:194) ... 24 more Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:686) at org.eclipse.swt.browser.WebKit.setUrl(Unknown Source) at org.eclipse.swt.browser.Browser.setUrl(Unknown Source) at org.eclipse.swt.browser.Browser.setUrl(Unknown Source) at org.pentaho.ui.xul.swt.tags.SwtBrowser.layout(SwtBrowser.java:166) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:171) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156) at org.pentaho.ui.xul.impl.XulParser.parse(XulParser.java:156) at org.pentaho.ui.xul.impl.XulParser.parseDocument(XulParser.java:70) at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(AbstractXulLoader.java:119) ... 28 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Once, 5 months ago
    32257 times, 7 months ago
    4 times, 10 months ago
    Unknown user
    Once, 11 months ago
    34 more bugmates