java.lang.StringIndexOutOfBoundsException

String index out of range: -35

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"


rprp

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


rafaelrafael

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

Solutions on the web2406

Stack trace

  • java.lang.StringIndexOutOfBoundsException: String index out of range: -35 at java.lang.String.substring(String.java:1958) at net.sourceforge.shelled.core.parser.ShellScriptSourceParser.parse(ShellScriptSourceParser.java:73) at net.sourceforge.shelled.core.parser.ShellScriptSourceParser.parse(ShellScriptSourceParser.java:254) at org.eclipse.dltk.core.SourceParserUtil.parse(SourceParserUtil.java:137) at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:197) at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:183) at org.eclipse.dltk.core.SourceParserUtil.getModuleDeclaration(SourceParserUtil.java:174) at org.eclipse.dltk.core.AbstractSourceElementParser.parse(AbstractSourceElementParser.java:42) at net.sourceforge.shelled.core.parser.ShelledSourceElementParser.parseSourceModule(ShelledSourceElementParser.java:30) at org.eclipse.dltk.internal.core.AbstractSourceModule.buildStructure(AbstractSourceModule.java:526) at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:193) at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184) at org.eclipse.dltk.internal.core.BecomeWorkingCopyOperation.executeOperation(BecomeWorkingCopyOperation.java:45) at org.eclipse.dltk.internal.core.ModelOperation.run(ModelOperation.java:698) at org.eclipse.dltk.internal.core.ModelOperation.runOperation(ModelOperation.java:764) at org.eclipse.dltk.internal.core.SourceModule.becomeWorkingCopy(SourceModule.java:68) at org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider.createFileInfo(SourceModuleDocumentProvider.java:1274) at org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:478) at org.eclipse.dltk.internal.ui.editor.SourceModuleDocumentProvider.connect(SourceModuleDocumentProvider.java:1515) at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4213) at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1451) at org.eclipse.dltk.internal.ui.editor.ScriptEditor.internalDoSetInput(ScriptEditor.java:827) at org.eclipse.dltk.internal.ui.editor.ScriptEditor.doSetInput(ScriptEditor.java:1323) at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3200) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)

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

PilleoPilleo
2 times, last one
oddodd
Once,
SacchiSacchi
Once,
HandemelindoHandemelindo
Once,
CasperCasper
8 times, last one
94 more bugmates