java.lang.ArrayIndexOutOfBoundsException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by Dean Guyton,
  • 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)
    via by Dean Guyton,
    • 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)
    No Bugmate found.