java.lang.NullPointerException: Cannot invoke method execute() on null object nz.net.ultraq.thymeleaf.models.TemplateModelFinder.findFragment(TemplateModelFinder.groovy:74) ~[thymeleaf-layout-dialect-2.0.0.jar:na]

GitHub | AlexKovalevich | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Null pointer in layout:insert/include if no selector (:: element) is specified

    GitHub | 9 months ago | AlexKovalevich
    java.lang.NullPointerException: Cannot invoke method execute() on null object nz.net.ultraq.thymeleaf.models.TemplateModelFinder.findFragment(TemplateModelFinder.groovy:74) ~[thymeleaf-layout-dialect-2.0.0.jar:na]

    Root Cause Analysis

    1. java.lang.NullPointerException

      Cannot invoke method execute() on null object nz.net.ultraq.thymeleaf.models.TemplateModelFinder.findFragment(TemplateModelFinder.groovy:74) ~[thymeleaf-layout-dialect-2.0.0.jar:na]

      at nz.net.ultraq.thymeleaf.models.TemplateModelFinder$findFragment$1.call()
    2. nz.net.ultraq
      IncludeProcessor.doProcess
      1. nz.net.ultraq.thymeleaf.models.TemplateModelFinder$findFragment$1.call(Unknown Source)[na:na]
      2. nz.net.ultraq.thymeleaf.includes.IncludeProcessor.doProcess(IncludeProcessor.groovy:84)[thymeleaf-layout-dialect-2.0.0.jar:na]
      2 frames