java.lang.ArrayIndexOutOfBoundsException: 16384

SpringSource Issue Tracker | Dean Guyton | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    On random occasions after applying code changes in the editor, the GGTS IDE behaves with one of the following: 1) The IDE doesn't recognize that the change applied has corrected the error and the error continues to be displayed after saving. A manual restart of the IDE corrects this. 2) GGTS becomes completely unresponsive, forcing a manual restart to correct the issue. Errors in the log loop through this exception: java.lang.ArrayIndexOutOfBoundsException: 16384 at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.doScan(GSPTokenizer.java:1542) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:2998) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1157) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1078) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:3810) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1157) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1078) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:3418) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.getNextToken(GSPTokenizer.java:1634) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getNextRegion(XMLSourceParser.java:189) at org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser.parseNodes(JSPSourceParser.java:237) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getDocumentRegions(XMLSourceParser.java:173) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser._core_reparse_text(StructuredDocumentReParser.java:355) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.core_reparse(StructuredDocumentReParser.java:752) at org.eclipse.jst.jsp.core.internal.parser.JSPReParser.reparse(JSPReParser.java:153) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1333) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(BasicStructuredDocument.java:2713) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1923) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:2935) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.setDocumentContent(ResourceTextFileBuffer.java:575) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.initializeFileBufferContent(ResourceTextFileBuffer.java:286) at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.create(ResourceFileBuffer.java:245) at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:112) at org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager.java:676) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._doCommonGetModel(ModelManagerImpl.java:545) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:509) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:482) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1428) at org.grails.ide.eclipse.editor.gsp.search.SearchInGSPs.getModel(SearchInGSPs.java:177) at org.grails.ide.eclipse.editor.gsp.search.SearchInGSPs.performSearch(SearchInGSPs.java:96) at org.grails.ide.eclipse.editor.gsp.search.GSPQueryParticipant.search(GSPQueryParticipant.java:43) at org.eclipse.jdt.internal.ui.search.JavaSearchQuery$2.run(JavaSearchQuery.java:164) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.ui.search.JavaSearchQuery.run(JavaSearchQuery.java:170) at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:91) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 2 years ago | Dean Guyton
    java.lang.ArrayIndexOutOfBoundsException: 16384
  2. 0

    On random occasions after applying code changes in the editor, the GGTS IDE behaves with one of the following: 1) The IDE doesn't recognize that the change applied has corrected the error and the error continues to be displayed after saving. A manual restart of the IDE corrects this. 2) GGTS becomes completely unresponsive, forcing a manual restart to correct the issue. Errors in the log loop through this exception: java.lang.ArrayIndexOutOfBoundsException: 16384 at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.doScan(GSPTokenizer.java:1542) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:2998) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1157) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1078) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:3810) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1157) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1078) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:3418) at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.getNextToken(GSPTokenizer.java:1634) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getNextRegion(XMLSourceParser.java:189) at org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser.parseNodes(JSPSourceParser.java:237) at org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getDocumentRegions(XMLSourceParser.java:173) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser._core_reparse_text(StructuredDocumentReParser.java:355) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.core_reparse(StructuredDocumentReParser.java:752) at org.eclipse.jst.jsp.core.internal.parser.JSPReParser.reparse(JSPReParser.java:153) at org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1333) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(BasicStructuredDocument.java:2713) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1923) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423) at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:2935) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.setDocumentContent(ResourceTextFileBuffer.java:575) at org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.initializeFileBufferContent(ResourceTextFileBuffer.java:286) at org.eclipse.core.internal.filebuffers.ResourceFileBuffer.create(ResourceFileBuffer.java:245) at org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:112) at org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager.java:676) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._doCommonGetModel(ModelManagerImpl.java:545) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:509) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:482) at org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1428) at org.grails.ide.eclipse.editor.gsp.search.SearchInGSPs.getModel(SearchInGSPs.java:177) at org.grails.ide.eclipse.editor.gsp.search.SearchInGSPs.performSearch(SearchInGSPs.java:96) at org.grails.ide.eclipse.editor.gsp.search.GSPQueryParticipant.search(GSPQueryParticipant.java:43) at org.eclipse.jdt.internal.ui.search.JavaSearchQuery$2.run(JavaSearchQuery.java:164) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.jdt.internal.ui.search.JavaSearchQuery.run(JavaSearchQuery.java:170) at org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:91) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    SpringSource Issue Tracker | 2 years ago | Dean Guyton
    java.lang.ArrayIndexOutOfBoundsException: 16384
  3. 0

    [1.5] Internal Compiler Error: ArrayIndexOutOfBoundsException

    Eclipse Bugzilla | 1 decade ago | wood-eclipse
    java.lang.ArrayIndexOutOfBoundsException: 22 at org.eclipse.jdt.internal.compiler.lookup.LookupEnvironment.getTypeFromTypeSignature(LookupEnvironment.java:665) at ... ... at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:204)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ArrayIndexOutOfBoundsException when displaying collections

    Eclipse Bugzilla | 1 decade ago | eclipse
    java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.jdt.internal.debug.eval.ast.engine.BinaryBasedSourceGenerator.buildMethodDeclaration(BinaryBasedSourceGenerator.java:400) at org.eclipse.jdt.internal.debug.eval.ast.engine.BinaryBasedSourceGenerator.buildTypeDeclaration(BinaryBasedSourceGenerator.java:317) at org.eclipse.jdt.internal.debug.eval.ast.engine.BinaryBasedSourceGenerator.buildTypeDeclaration(BinaryBasedSourceGenerator.java:137) at org.eclipse.jdt.internal.debug.eval.ast.engine.BinaryBasedSourceGenerator.buildSource(BinaryBasedSourceGenerator.java:66) at org.eclipse.jdt.internal.debug.eval.ast.engine.EvaluationSourceGenerator.getInstanceSourceMapper(EvaluationSourceGenerator.java:190) at org.eclipse.jdt.internal.debug.eval.ast.engine.EvaluationSourceGenerator.getSource(EvaluationSourceGenerator.java:247) at org.eclipse.jdt.internal.debug.eval.ast.engine.ASTEvaluationEngine.getCompiledExpression(ASTEvaluationEngine.java:224) at org.eclipse.jdt.internal.debug.core.logicalstructures.JavaLogicalStructure$EvaluationBlock.evaluate(JavaLogicalStructure.java:115) at org.eclipse.jdt.internal.debug.core.logicalstructures.JavaLogicalStructure.getLogicalStructure(JavaLogicalStructure.java:284) at org.eclipse.debug.internal.ui.elements.adapters.DeferredVariable.getLogicalValue(DeferredVariable.java:134) at org.eclipse.debug.internal.ui.elements.adapters.DeferredVariable.getValueChildren(DeferredVariable.java:69) at org.eclipse.debug.internal.ui.elements.adapters.DeferredVariable.getChildren(DeferredVariable.java:43) at org.eclipse.debug.ui.DeferredDebugElementWorkbenchAdapter.fetchDeferredChildren(DeferredDebugElementWorkbenchAdapter.java:58) at org.eclipse.debug.internal.ui.views.RemoteTreeContentManager$4.run(RemoteTreeContentManager.java:261)

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      16384

      at org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.doScan()
    2. org.grails.ide
      GSPTokenizer.getNextToken
      1. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.doScan(GSPTokenizer.java:1542)
      2. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:2998)
      3. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1157)
      4. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1078)
      5. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:3810)
      6. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1157)
      7. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.assembleEmbeddedContainer(GSPTokenizer.java:1078)
      8. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.primGetNextToken(GSPTokenizer.java:3418)
      9. org.grails.ide.eclipse.editor.gsp.parser.GSPTokenizer.getNextToken(GSPTokenizer.java:1634)
      9 frames
    3. Structured Source XML Model
      XMLSourceParser.getNextRegion
      1. org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getNextRegion(XMLSourceParser.java:189)
      1 frame
    4. org.eclipse.jst
      JSPSourceParser.parseNodes
      1. org.eclipse.jst.jsp.core.internal.parser.JSPSourceParser.parseNodes(JSPSourceParser.java:237)
      1 frame
    5. Structured Source XML Model
      XMLSourceParser.getDocumentRegions
      1. org.eclipse.wst.xml.core.internal.parser.XMLSourceParser.getDocumentRegions(XMLSourceParser.java:173)
      1 frame
    6. Structured Text Model
      StructuredDocumentReParser.core_reparse
      1. org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser._core_reparse_text(StructuredDocumentReParser.java:355)
      2. org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.core_reparse(StructuredDocumentReParser.java:752)
      2 frames
    7. org.eclipse.jst
      JSPReParser.reparse
      1. org.eclipse.jst.jsp.core.internal.parser.JSPReParser.reparse(JSPReParser.java:153)
      1 frame
    8. Structured Text Model
      BasicStructuredDocument.set
      1. org.eclipse.wst.sse.core.internal.text.StructuredDocumentReParser.reparse(StructuredDocumentReParser.java:1333)
      2. org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.updateModel(BasicStructuredDocument.java:2713)
      3. org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1923)
      4. org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)
      5. org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.set(BasicStructuredDocument.java:2935)
      5 frames
    9. File Buffers
      TextFileBufferManager.connect
      1. org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.setDocumentContent(ResourceTextFileBuffer.java:575)
      2. org.eclipse.core.internal.filebuffers.ResourceTextFileBuffer.initializeFileBufferContent(ResourceTextFileBuffer.java:286)
      3. org.eclipse.core.internal.filebuffers.ResourceFileBuffer.create(ResourceFileBuffer.java:245)
      4. org.eclipse.core.internal.filebuffers.TextFileBufferManager.connect(TextFileBufferManager.java:112)
      4 frames
    10. Structured Text Model
      ModelManagerImpl.getModelForRead
      1. org.eclipse.wst.sse.core.internal.FileBufferModelManager.getModel(FileBufferModelManager.java:676)
      2. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._doCommonGetModel(ModelManagerImpl.java:545)
      3. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:509)
      4. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl._commonGetModel(ModelManagerImpl.java:482)
      5. org.eclipse.wst.sse.core.internal.model.ModelManagerImpl.getModelForRead(ModelManagerImpl.java:1428)
      5 frames
    11. org.grails.ide
      GSPQueryParticipant.search
      1. org.grails.ide.eclipse.editor.gsp.search.SearchInGSPs.getModel(SearchInGSPs.java:177)
      2. org.grails.ide.eclipse.editor.gsp.search.SearchInGSPs.performSearch(SearchInGSPs.java:96)
      3. org.grails.ide.eclipse.editor.gsp.search.GSPQueryParticipant.search(GSPQueryParticipant.java:43)
      3 frames
    12. Java Development Tools UI
      JavaSearchQuery$2.run
      1. org.eclipse.jdt.internal.ui.search.JavaSearchQuery$2.run(JavaSearchQuery.java:164)
      1 frame
    13. Eclipse Core
      SafeRunner.run
      1. org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      1 frame
    14. Java Development Tools UI
      JavaSearchQuery.run
      1. org.eclipse.jdt.internal.ui.search.JavaSearchQuery.run(JavaSearchQuery.java:170)
      1 frame
    15. Search Support
      InternalSearchUI$InternalSearchJob.run
      1. org.eclipse.search2.internal.ui.InternalSearchUI$InternalSearchJob.run(InternalSearchUI.java:91)
      1 frame
    16. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      1 frame