Spring-boot v1.4.1
Java v1.8
Thymeleaf v2.1.5.
The following line of code in my view:
<td th:each = "sprint : ${sprints}" th:text = "${sprint.releaseDate} ? ${#temporals.format(sprint.releaseDate, 'MMM/dd/yyyy')}"></td>
which has syntax I am basing off of the S.O. question SpringBoot Thymeleaf Ordinal Numbers,
produces the error:
org.springframework.expression.spel.SpelEvaluationException: EL1011E:(pos 11): Method call: Attempted to call method format(java.time.LocalDate,java.lang.String) on null context object
However, if I run this line of code without the Thymeleaf formatting it works and renders a table of LocalDate objects in default format ("2016-05-25").
Question: Why am I getting a 'null context object' error and what does that mean? And how can I edit to get the formatting I want?