java.lang.StringIndexOutOfBoundsException: String index out of range: 3

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

,
via GitHub by Omertron

You need to make sure that capitalisation of the case for the plugin in the properties file is exactly: "AllocinePlugin" and not "allocineplugin"

,
Expert tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

Solutions on the web

via jabref by gbernd
, 1 year ago
String index out of range: 3
via GitHub by KHZYX
, 2 months ago
String index out of range: 1
via Eclipse Bugzilla by ingo.meyer, 1 year ago
via verydemo.com by Unknown author, 2 years ago
via Coderanch by kayanaat sidiqui, 1 year ago
String index out of range: -1
java.lang.StringIndexOutOfBoundsException: String index out of range: 3
at java.lang.String.substring(String.java:1951)
at net.sf.jabref.Globals.ParseMonthToInteger(Unknown Source)
at net.sf.jabref.BibtexEntry.getFieldOrAlias(Unknown Source)
at net.sf.jabref.FieldComparator.getField(Unknown Source)
at net.sf.jabref.FieldComparator.compare(Unknown Source)
at net.sf.jabref.FieldComparator.compare(Unknown Source)
at ca.odell.glazedlists.impl.sort.ComparatorChain.compare(ComparatorChain.java:37)
at ca.odell.glazedlists.SortedList$ElementComparator.compare(SortedList.java:641)
at ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.insertIntoSubtreeInSortedOrder(SimpleTree.java:353)
at ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.addInSortedOrder(SimpleTree.java:324)
at ca.odell.glazedlists.SortedList.insertByUnsortedNode(SortedList.java:367)
at ca.odell.glazedlists.SortedList.setComparator(SortedList.java:460)
at ca.odell.glazedlists.gui.AbstractTableComparatorChooser.rebuildComparator(AbstractTableComparatorChooser.java:154)
at ca.odell.glazedlists.swing.TableComparatorChooser.rebuildComparator(TableComparatorChooser.java:295)
at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:335)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:327)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:263)
at ca.odell.glazedlists.impl.gui.SortingState.fireSortingChanged(SortingState.java:67)
at net.sf.jabref.gui.MainTable.setupComparatorChooser(Unknown Source)

Users with the same issue

3 times, 1 year ago
4 times, 2 weeks ago
4803 times, 2 weeks ago
3 times, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.