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]

Solutions on the web20562

  • 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]
  • via Stack Overflow by smeeb
    , 1 year ago
    Cannot invoke method execute() on null object
  • via GitHub by chrisala
    , 1 year ago
    Cannot invoke method findResults() on null object
  • Stack trace

    • 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(Unknown Source)[na:na] at nz.net.ultraq.thymeleaf.includes.IncludeProcessor.doProcess(IncludeProcessor.groovy:84)[thymeleaf-layout-dialect-2.0.0.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.