google / bamboo-soy

An intellij plugin supporting Closure Template language (Soy)
Apache License 2.0
48 stars 17 forks source link

Assertion failed: Too many element types registered. Out of (short) range. #68

Closed thso closed 7 years ago

thso commented 7 years ago

Running on test monster project with 20k Soy files.

Assertion failed: Too many element types registered. Out of (short) range.
java.lang.Throwable
    at com.intellij.openapi.diagnostic.Logger.assertTrue(Logger.java:168)
    at com.intellij.psi.tree.IElementType.<init>(IElementType.java:107)
    at com.intellij.psi.tree.IElementType.<init>(IElementType.java:90)
    at com.intellij.psi.tree.ILazyParseableElementType.<init>(ILazyParseableElementType.java:43)
    at com.intellij.psi.tree.IFileElementType.<init>(IFileElementType.java:34)
    at com.intellij.psi.templateLanguages.TemplateDataElementType.<init>(TemplateDataElementType.java:60)
    at com.google.bamboo.soy.file.SoyFileViewProvider.createFile(SoyFileViewProvider.java:118)
    at com.intellij.psi.MultiplePsiFilesPerDocumentFileViewProvider.getPsiInner(MultiplePsiFilesPerDocumentFileViewProvider.java:92)
    at com.intellij.psi.SingleRootFileViewProvider.getPsi(SingleRootFileViewProvider.java:157)
    at com.intellij.psi.stubs.StubTreeBuilder.getStubbedRoots(StubTreeBuilder.java:130)
    at com.intellij.psi.impl.source.PsiFileImpl.getStubTree(PsiFileImpl.java:690)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:72)
    at com.intellij.psi.stubs.StubProcessingHelperBase.processStubsInFile(StubProcessingHelperBase.java:52)
    at com.intellij.psi.stubs.StubIndexImpl$2.process(StubIndexImpl.java:324)