java.lang.StringIndexOutOfBoundsException

Strin g index out of range: 31


Samebug tips2

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

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

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


Solutions on the web4532

Solution icon of oraclecommunity
via Oracle Community by 807595, 11 months ago
Strin g index out of range: 31

Solution icon of oraclecommunity
via Oracle Community by Jason ORCL, 1 year ago
Strin g index out of range: -2

Solution icon of jenkins
String index out of range: -31

Solution icon of stackoverflow
via Stack Overflow by Dancger
, 1 year ago
String index out of range: 31

Solution icon of bugzilla
via Eclipse Bugzilla by mathieu.velten, 1 year ago
String index out of range: -31

Solution icon of github
via GitHub by wbombardellis
, 1 year ago
String index out of range: 31

Solution icon of github
String index out of range: -31

Solution icon of coderanch
via Coderanch by Paul Baker, 10 months ago
String index out of range: 31

Solution icon of github
via GitHub by tehface
, 1 year ago
String index out of range: 31

Solution icon of jenkins
String index out of range: -31

Stack trace

  • java.lang.StringIndexOutOfBoundsException: Strin g index out of range: 31 at java.lang.String.substring(String.java:1477) at bar.Decode.Decoding(Decode.java:123) at bar.BarCodeDriver.main(BarCodeDriver.java:30)

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

2 times, 3 weeks ago
2 times, 3 weeks ago
Once, 1 month ago
Once, 1 month ago
Once, 1 month ago
95 more bugmates