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 Hibernate JIRA by Matt Sgarlata, 1 year ago
via Hibernate JIRA by Matt Sgarlata, 2 years ago
via Hibernate JIRA by Loren Rosen, 2 years ago
via Hibernate JIRA by Loren Rosen, 1 year ago
via Oracle Community by 2975679, 2 years ago
via GitHub by maxcom
, 1 year ago
String index out of range: 0
java.lang.StringIndexOutOfBoundsException: String index out of range: 0	at java.lang.String.charAt(String.java:558)	at org.hibernate.mapping.Column.setName(Column.java:58)	at org.hibernate.cfg.HbmBinder.bindColumns(HbmBinder.java:948)	at org.hibernate.cfg.HbmBinder.bindColumnsOrFormula(HbmBinder.java:1290)	at org.hibernate.cfg.HbmBinder.bindSimpleValue(HbmBinder.java:991)	at org.hibernate.cfg.HbmBinder.bindJoinedSubclass(HbmBinder.java:790)	at org.hibernate.cfg.HbmBinder.handleJoinedSubclass(HbmBinder.java:1800)	at org.hibernate.cfg.HbmBinder.createClassProperties(HbmBinder.java:1741)	at org.hibernate.cfg.HbmBinder.bindRootPersistentClassCommonValues(HbmBinder.java:317)	at org.hibernate.cfg.HbmBinder.bindRootClass(HbmBinder.java:235)	at org.hibernate.cfg.HbmBinder.bindRoot(HbmBinder.java:151)	at org.hibernate.cfg.Configuration.add(Configuration.java:360)	at org.hibernate.cfg.Configuration.addInputStream(Configuration.java:397)	at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:548)	at com.spider.scoreboard.database.DatabaseBeanFactoryPostProcessor.createLocalSessionFactoryBean(DatabaseBeanFactoryPostProcessor.java:150)	at com.spider.scoreboard.database.DatabaseBeanFactoryPostProcessor.postProcessBeanFactory(DatabaseBeanFactoryPostProcessor.java:91)	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:375)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:301)	at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)	at com.spider.scoreboard.framework.springx.ScoreboardApplicationContext.refresh(ScoreboardApplicationContext.java:73)	at com.spider.scoreboard.framework.springx.ScoreboardContextLoaderServlet.loadContext(ScoreboardContextLoaderServlet.java:293)	at com.spider.scoreboard.framework.springx.ScoreboardContextLoaderServlet.startupOrRestart(ScoreboardContextLoaderServlet.java:115)	at com.spider.scoreboard.framework.springx.ScoreboardContextLoaderServlet.init(ScoreboardContextLoaderServlet.java:83)	at javax.servlet.GenericServlet.init(GenericServlet.java:258)	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:776)	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3363)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3586)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:707)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1141)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:316)	at org.apache.catalina.core.StandardService.start(StandardService.java:450)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:2143)	at org.apache.catalina.startup.Catalina.start(Catalina.java:463)	at org.apache.catalina.startup.Catalina.execute(Catalina.java:350)	at org.apache.catalina.startup.Catalina.process(Catalina.java:129)	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:585)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)