bjansen / pebble-intellij

Pebble support for IntelliJ IDEA
MIT License
89 stars 8 forks source link

Code blocks inserted through autocompletion contain text placeholders #74

Closed grishka closed 3 years ago

grishka commented 3 years ago

Typing {%if and pressing Enter yields this:

{% if a %}
    {##}
{% endif %}

Same for other similar constructs like for. I assume these placeholders (a and {##}) are supposed to be those tab-able placeholder fields like they are in Java, but they are not. Typing var<tab> does work properly.

ogrammer commented 3 years ago

I've also noticed this, especially with {% extends.

bjansen commented 3 years ago

Yep they are placeholders, but I'm not sure these values are set by the plugin, they don't ring a bell at all. What version of IDEA are you using? I can't reproduce in 2020.3.2 :/

grishka commented 3 years ago

Hm.

IntelliJ IDEA 2020.3.2 (Community Edition) Build #IC-203.7148.57, built on January 26, 2021 Runtime version: 11.0.9.1+11-b1145.77 x86_64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o. macOS 10.14.6 GC: ParNew, ConcurrentMarkSweep Memory: 1981M Cores: 8 Non-Bundled Plugins: IdeaVIM, com.chriscarini.jetbrains.jetbrains-auto-power-saver, com.github.bjansen.intellij.pebble

I did try disabling IdeaVim just in case but that didn't change anything.

ogrammer commented 3 years ago

In 2020.3.2, write {% e and hit tab, the result will be {% extends 'a' %} and the caret moves to the beginning of the line.

bjansen commented 3 years ago

🤷

https://user-images.githubusercontent.com/281528/107284858-a5704300-6a5e-11eb-8fbc-3d01b25ba0c8.mov

bjansen commented 3 years ago

Could one of you attach IDE logs? (Help > Show Log in ...)

bjansen commented 3 years ago

OK I can reproduce on a non-empty file:

java.lang.StackOverflowError
    at com.intellij.openapi.vfs.newvfs.impl.FileNameCache.getVFileName(FileNameCache.java:130)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.getNameSequence(VirtualFileSystemEntry.java:143)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.appendPathOnFileSystem(VirtualFileSystemEntry.java:225)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.appendPathOnFileSystem(VirtualFileSystemEntry.java:227)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.appendPathOnFileSystem(VirtualFileSystemEntry.java:227)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.appendPathOnFileSystem(VirtualFileSystemEntry.java:227)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.appendPathOnFileSystem(VirtualFileSystemEntry.java:227)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.appendPathOnFileSystem(VirtualFileSystemEntry.java:227)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.appendPathOnFileSystem(VirtualFileSystemEntry.java:227)
    at com.intellij.openapi.vfs.newvfs.impl.VirtualFileSystemEntry.getUrl(VirtualFileSystemEntry.java:246)
    at com.intellij.application.options.codeStyle.cache.CodeStyleCachingServiceImpl.getFileKey(CodeStyleCachingServiceImpl.java:128)
    at com.intellij.application.options.codeStyle.cache.CodeStyleCachingServiceImpl.getOrCreateCachedValueProvider(CodeStyleCachingServiceImpl.java:73)
    at com.intellij.application.options.codeStyle.cache.CodeStyleCachingServiceImpl.tryGetSettings(CodeStyleCachingServiceImpl.java:53)
    at com.intellij.application.options.CodeStyle.getSettings(CodeStyle.java:94)
    at com.intellij.formatting.ExcludedFileFormattingRestriction.isFormatterAllowed(ExcludedFileFormattingRestriction.java:17)
    at com.intellij.lang.LanguageFormatting.forContext(LanguageFormatting.java:25)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:159)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
ogrammer commented 3 years ago

Strange, it happens to me in an empty file as well as non-empty.

ERROR - .psi.impl.DocumentCommitThread - null 
java.lang.NullPointerException
    at com.github.bjansen.intellij.pebble.psi.PebbleParserDefinition$createParser$1$createListener$1.exitEveryRule(PebbleParserDefinition.kt:96)
    at org.antlr.v4.runtime.tree.ParseTreeWalker.exitRule(ParseTreeWalker.java:63)
    at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:38)
    at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:36)
    at org.antlr.intellij.adaptor.parser.ANTLRParserAdaptor.parse(ANTLRParserAdaptor.java:61)
    at com.intellij.psi.tree.ILazyParseableElementType.doParseContents(ILazyParseableElementType.java:81)
    at com.intellij.psi.tree.IFileElementType.parseContents(IFileElementType.java:53)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.lambda$ensureParsed$0(LazyParseableElement.java:192)
    at com.intellij.psi.impl.DebugUtil.performPsiModification(DebugUtil.java:567)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.ensureParsed(LazyParseableElement.java:191)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:242)
    at com.intellij.psi.impl.source.tree.LazyParseableElement.getFirstChildNode(LazyParseableElement.java:42)
    at com.intellij.psi.impl.BlockSupportImpl.isReplaceWholeNode(BlockSupportImpl.java:419)
    at com.intellij.psi.impl.BlockSupportImpl.mergeTrees(BlockSupportImpl.java:366)
    at com.intellij.psi.impl.BlockSupportImpl.makeFullParse(BlockSupportImpl.java:298)
    at com.intellij.psi.impl.BlockSupportImpl.reparse(BlockSupportImpl.java:92)
    at com.intellij.psi.impl.DocumentCommitThread.doCommit(DocumentCommitThread.java:294)
    at com.intellij.psi.impl.DocumentCommitThread.commitUnderProgress(DocumentCommitThread.java:135)
    at com.intellij.psi.impl.DocumentCommitThread.lambda$commitAsynchronously$0(DocumentCommitThread.java:81)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:521)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$3(NonBlockingReadActionImpl.java:468)
    at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1137)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:76)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:152)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:113)
    at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:59)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:178)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:658)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:610)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:65)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:165)
    at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:59)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:110)
    at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:76)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:486)
    at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$transferToBgThread$1(NonBlockingReadActionImpl.java:408)
    at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:216)
    at com.intellij.util.concurrency.BoundedTaskExecutor.access$200(BoundedTaskExecutor.java:27)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.execute(BoundedTaskExecutor.java:195)
    at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:208)
    at com.intellij.util.concurrency.BoundedTaskExecutor$1.run(BoundedTaskExecutor.java:184)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
    at java.base/java.lang.Thread.run(Thread.java:834)
ERROR - llij.ide.plugins.PluginManager - null 
java.lang.StackOverflowError
    at com.intellij.psi.formatter.FormattingDocumentModelImpl.createOn(FormattingDocumentModelImpl.java:43)
    at com.intellij.lang.html.HtmlFormattingModelBuilder.createModel(HtmlFormattingModelBuilder.java:19)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:46)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)
    at com.intellij.psi.formatter.common.AbstractBlock.getSubBlocks(AbstractBlock.java:47)
    at com.intellij.formatting.templateLanguages.BlockUtil.buildChildWrappers(BlockUtil.java:25)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.getRootBlock(TemplateLanguageFormattingModelBuilder.java:49)
    at com.intellij.formatting.templateLanguages.TemplateLanguageFormattingModelBuilder.createModel(TemplateLanguageFormattingModelBuilder.java:29)
    at com.intellij.psi.formatter.common.InjectedLanguageBlockBuilder.addInjectedLanguageBlockWrapper(InjectedLanguageBlockBuilder.java:161)
    at com.intellij.psi.formatter.xml.AbstractXmlBlock.processChild(AbstractXmlBlock.java:214)
    at com.intellij.psi.formatter.xml.XmlBlock.buildChildren(XmlBlock.java:109)

The last part repeats many many times.

bjansen commented 3 years ago

The first stack trace is the same as #57, the second one is the same as in my previous comment.

bjansen commented 3 years ago

It turns out this bug is also caused by the formatter. I've reworked it to fix the backspace issue, and it looks like it also fixed the live template issue. If one of you could test this build and let me know if it works fine for you too, that would be very helpful to prepare the next release:

pebble-intellij.zip

The new formatter still has some quirks (like in some case an indent is inserted after a new line, but removed when the whole file is reformatted), but that will be fixed separately.

Also, the formatter is forcing indents in nested tags. While this is OK when we're templating an HTML file, it could become problematic for languages in which whitespace is significant (Python?).

grishka commented 3 years ago

After a really quick test, I can't reproduce any of these issues any more. The { thing also works properly now 👍

bjansen commented 3 years ago

The { thing also works properly now

That was completely unintended 😆