java.lang.StringIndexOutOfBoundsException: String index out of range: -1

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

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:

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

  • Using CriteriaBuilder with Kundera
    via GitHub by Sarpedion
  • GitHub comment 622#164778918
    via GitHub by ebuildy
  • GitHub comment 29#175763722
    via GitHub by dkuppitz
    • java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring( at com.impetus.kundera.query.KunderaQueryParser.buildResultColumns( at com.impetus.kundera.query.KunderaQueryParser.access$300( at com.impetus.kundera.query.KunderaQueryParser$Compiler.compileResult( at com.impetus.kundera.query.KunderaQueryParser$Compiler.compileSelectOrDelete( at com.impetus.kundera.query.KunderaQueryParser$Compiler.compile( at com.impetus.kundera.query.KunderaQueryParser$Compiler.access$100( at com.impetus.kundera.query.KunderaQueryParser.parse( at com.impetus.kundera.query.QueryResolver.getQueryImplementation( at com.impetus.kundera.persistence.PersistenceDelegator.getQueryInstance( at com.impetus.kundera.persistence.PersistenceDelegator.createQuery( at com.impetus.kundera.persistence.EntityManagerImpl.createQuery( at com.impetus.kundera.persistence.EntityManagerImpl.createQuery(

    Users with the same issue

    zsamboki1 times, last one,
    osvzs7 times, last one,
    richard772 times, last one,
    kjhdofjosvs2 times, last one,
    archenroot17 times, last one,
    92 more bugmates