Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    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.

  2. ,
    via oracle.com by Unknown author

    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.

Solutions on the web

via Eclipse Bugzilla by thierryblind, 1 month ago
via GitHub by migelsabre
, 1 year ago
String index out of range: 27
via Oracle Community by 788869, 1 year ago
String index out of range: 0
via areca by pandpp
, 1 year ago
java.lang.StringIndexOutOfBoundsException: String index out of range: 256	at java.lang.String.charAt(String.java:687)	at com.informix.jdbc.IfxDatabaseMetaData.getColumns(IfxDatabaseMetaData.java:3457)	at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getColumns(JDBCMetaDataDialect.java:124)	at org.hibernate.cfg.reveng.JDBCReader.processBasicColumns(JDBCReader.java:555)	at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:85)	at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:837)	at org.hibernate.cfg.JDBCBinder.readDatabaseSchema(JDBCBinder.java:115)	at org.hibernate.cfg.JDBCBinder.readFromDatabase(JDBCBinder.java:88)	at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBCMetaDataConfiguration.java:40)	at org.hibernate.tool.ant.JDBCConfigurationTask.doConfiguration(JDBCConfigurationTask.java:81)	at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:55)	at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:302)	at org.hibernate.tool.ant.HibernateToolTask.getProperties(HibernateToolTask.java:318)	at org.hibernate.tool.ant.ExporterTask.configureExporter(ExporterTask.java:94)	at org.hibernate.tool.ant.Hbm2JavaExporterTask.configureExporter(Hbm2JavaExporterTask.java:34)	at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:39)	at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:186)	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)	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.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)	at org.apache.tools.ant.Task.perform(Task.java:348)	at org.apache.tools.ant.Target.execute(Target.java:357)	at org.apache.tools.ant.Target.performTasks(Target.java:385)	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)	at org.apache.tools.ant.Project.executeTarget(Project.java:1298)	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)	at org.apache.tools.ant.Main.runBuild(Main.java:698)	at org.apache.tools.ant.Main.startAnt(Main.java:199)	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)