java.lang.StringIndexOutOfBoundsException

tip

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

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

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

  • Dealing with FileReader and subString
    via Stack Overflow by Sandra
    ,
  • GitHub comment 946#236452112
    via GitHub by DaniGTA
    ,
  • StringIndexOutOfBoundsException
    via GitHub by evanchooly
    ,
  • JDBC not working in PySpark
    via Stack Overflow by user4265823
    ,
    • java.lang.StringIndexOutOfBoundsException: String index out of range: 6236 at java.lang.String.substring(String.java:1934) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.CodeSnippetInformationExtractor.getText(CodeSnippetInformationExtractor.java:42) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.TextSelectionCodeSnippetInformationExtractor.getSelectedText(TextSelectionCodeSnippetInformationExtractor.java:43) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.TextSelectionCodeSnippetInformationExtractor.extractCodeSnippetInformation(TextSelectionCodeSnippetInformationExtractor.java:37) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.CodeSnippetInformationFactory.extractCodeSnippetInformation(CodeSnippetInformationFactory.java:41) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.CodeSnippetInformationFactory.extractCodeSnippetInformation(CodeSnippetInformationFactory.java:45) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.WatchedProcessorDelegate.getCodeSnippetInformation(WatchedProcessorDelegate.java:65) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.WatchedProcessorDelegate.populateInstrumentationData(WatchedProcessorDelegate.java:39) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.WatchedRenameProcessorDelegate.getSimpleRefactoringDescriptor(WatchedRenameProcessorDelegate.java:27) at org.eclipse.jdt.internal.corext.refactoring.codingspectator.WatchedJavaRenameProcessor.getSimpleRefactoringDescriptor(WatchedJavaRenameProcessor.java:13) at org.eclipse.ltk.core.refactoring.participants.RenameRefactoring.getSimpleRefactoringDescriptor(RenameRefactoring.java:62) at org.eclipse.ltk.core.refactoring.codingspectator.Logger.createRefactoringDescriptor(Logger.java:45) at org.eclipse.ltk.core.refactoring.codingspectator.Logger.logRefactoringEvent(Logger.java:83) at org.eclipse.ltk.core.refactoring.codingspectator.Logger.logRefactoringEvent(Logger.java:78) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper.logRefactoring(RefactoringExecutionHelper.java:142) at org.eclipse.jdt.internal.ui.refactoring.RefactoringExecutionHelper$Operation.run(RefactoringExecutionHelper.java:111) at org.eclipse.jdt.internal.core.BatchOperation.executeOperation(BatchOperation.java:40) at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaModelOperation.java:806) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1970) at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:5865) at org.eclipse.jdt.internal.ui.actions.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:106) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    Users with the same issue

    Handemelindo
    1 times, last one,
    Casper
    8 times, last one,
    zsamboki
    1 times, last one,
    Pilleo
    1 times, last one,
    Unknown User
    36 times, last one,
    92 more bugmates