afelix/bemidea-bemhtml — Issue #25: Ошибка при индексации bemhtml файлов
Author: arikon
Created: 2011-10-30 18:29:47+00:00
State: open

```
Error while indexing /Users/arikon/projects/lego-2.9/bem-bl/blocks-common/i-bem/__html/tests/bb.bemhtml
To reindex this file IDEA has to be restarted: chars.length:0, start:0, end:136
java.lang.IndexOutOfBoundsException: chars.length:0, start:0, end:136
at com.intellij.util.text.CharArrayCharSequence.(CharArrayCharSequence.java:29)
at com.intellij.util.text.CharArrayCharSequence.subSequence(CharArrayCharSequence.java:47)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yytext(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenStart(FlexAdapter.java:59)
at com.intellij.lexer.DelegateLexer.getTokenStart(DelegateLexer.java:50)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenEnd(MergingLexerAdapterBase.java:53)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:310)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

java.lang.IndexOutOfBoundsException
at java.nio.HeapCharBuffer.subSequence(HeapCharBuffer.java:555)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yytext(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:54)
at com.intellij.lexer.MergingLexerAdapterBase.locateToken(MergingLexerAdapterBase.java:65)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenType(MergingLexerAdapterBase.java:42)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:306)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

java.lang.IndexOutOfBoundsException
at java.nio.HeapCharBuffer.subSequence(HeapCharBuffer.java:555)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yytext(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:54)
at com.intellij.lexer.MergingLexerAdapter$1.merge(MergingLexerAdapter.java:31)
at com.intellij.lexer.MergingLexerAdapterBase.locateToken(MergingLexerAdapterBase.java:70)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenType(MergingLexerAdapterBase.java:42)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:306)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

java.lang.Error: bem.idea.bemhtml.lang.lexer.BemHtmlLexer: Error: pushback value was too large
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.zzScanError(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yypushback(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.nextToken(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenStart(FlexAdapter.java:59)
at com.intellij.lexer.DelegateLexer.getTokenStart(DelegateLexer.java:50)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenEnd(MergingLexerAdapterBase.java:53)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:310)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

java.lang.IndexOutOfBoundsException
at java.nio.HeapCharBuffer.subSequence(HeapCharBuffer.java:555)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yytext(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenStart(FlexAdapter.java:59)
at com.intellij.lexer.DelegateLexer.getTokenStart(DelegateLexer.java:50)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenEnd(MergingLexerAdapterBase.java:53)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:310)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

java.lang.IndexOutOfBoundsException
at java.nio.HeapCharBuffer.subSequence(HeapCharBuffer.java:555)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yytext(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:54)
at com.intellij.lexer.MergingLexerAdapterBase.locateToken(MergingLexerAdapterBase.java:65)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenType(MergingLexerAdapterBase.java:42)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:306)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
```

```
Error while indexing /Users/arikon/projects/lego-2.9/blocks-desktop/b-foot/layout/b-foot__layout.bemhtml
To reindex this file IDEA has to be restarted
java.lang.IndexOutOfBoundsException
at java.nio.HeapCharBuffer.subSequence(HeapCharBuffer.java:555)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yytext(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenStart(FlexAdapter.java:59)
at com.intellij.lexer.DelegateLexer.getTokenStart(DelegateLexer.java:50)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenEnd(MergingLexerAdapterBase.java:53)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:310)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)

java.lang.IndexOutOfBoundsException
at java.nio.HeapCharBuffer.subSequence(HeapCharBuffer.java:555)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yytext(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:54)
at com.intellij.lexer.MergingLexerAdapterBase.locateToken(MergingLexerAdapterBase.java:65)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenType(MergingLexerAdapterBase.java:42)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:306)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
```

```
Error while indexing /Users/arikon/projects/lego-2.9/blocks-desktop/b-form-radio/colorpicker/b-form-radio__colorpicker.bemhtml
To reindex this file IDEA has to be restarted: bem.idea.bemhtml.lang.lexer.BemHtmlLexer: Error: pushback value was too large
java.lang.Error: bem.idea.bemhtml.lang.lexer.BemHtmlLexer: Error: pushback value was too large
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.zzScanError(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yypushback(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.nextToken(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenStart(FlexAdapter.java:59)
at com.intellij.lexer.DelegateLexer.getTokenStart(DelegateLexer.java:50)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenEnd(MergingLexerAdapterBase.java:53)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:310)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
```

```
Error while indexing /Users/arikon/projects/lego-2.9/blocks-desktop/b-head-tabs/_preset/b-head-tabs_preset_communication.bemhtml
To reindex this file IDEA has to be restarted: bem.idea.bemhtml.lang.lexer.BemHtmlLexer: Error: pushback value was too large
java.lang.Error: bem.idea.bemhtml.lang.lexer.BemHtmlLexer: Error: pushback value was too large
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.zzScanError(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.yypushback(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.nextToken(Unknown Source)
at bem.idea.bemhtml.lang.lexer.BemHtmlLexer.advance(Unknown Source)
at com.intellij.lexer.FlexAdapter.locateToken(FlexAdapter.java:85)
at com.intellij.lexer.FlexAdapter.getTokenType(FlexAdapter.java:54)
at com.intellij.lexer.MergingLexerAdapter$1.merge(MergingLexerAdapter.java:31)
at com.intellij.lexer.MergingLexerAdapterBase.locateToken(MergingLexerAdapterBase.java:70)
at com.intellij.lexer.MergingLexerAdapterBase.getTokenType(MergingLexerAdapterBase.java:42)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.a(LexerEditorHighlighter.java:306)
at com.intellij.openapi.editor.ex.util.LexerEditorHighlighter.setText(LexerEditorHighlighter.java:287)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:320)
at com.intellij.psi.impl.cache.impl.id.IdTableBuilding$TokenSetTodoIndexer.map(IdTableBuilding.java:298)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:100)
at com.intellij.psi.impl.cache.impl.todo.TodoIndex$4.map(TodoIndex.java:94)
at com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:200)
at com.intellij.util.indexing.FileBasedIndex$20.run(FileBasedIndex.java:1402)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeNonCancelableSection(ProgressManagerImpl.java:132)
at com.intellij.util.indexing.FileBasedIndex.a(FileBasedIndex.java:1399)
at com.intellij.util.indexing.FileBasedIndex.indexFileContent(FileBasedIndex.java:1365)
at com.intellij.util.indexing.UnindexedFilesUpdater.processFile(UnindexedFilesUpdater.java:61)
at com.intellij.openapi.project.CacheUpdateSession.processFile(CacheUpdateSession.java:102)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:228)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:790)
at com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:232)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java:386)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
```