I have a line in freemarker that does:
<#assign response_nextTicket = http.client.request(url).header("Authorization", token).header("Content-type", "application/json").json().get() />
This is the line that is failing. If the url contains "+" and ":" in their decoded form,
https://xxx?page=2&query=type:ticket+organization:123
This is the error I get:
FreeMarker template error
Method "public final lithium.coreapi.webui.template.models.HttpClientResponseTemplateModel lithium.coreapi.webui.template.models.HttpClientRequestTemplateModel.get() throws freemarker.template.TemplateModelException" threw an exception when invoked on lithium.coreapi.webui.template.models.HttpClientRequestTemplateModel object "lithium.coreapi.webui.template.models.HttpClientRequestTemplateModel@15cd265b". See cause exception. The failing instruction (FTL stack trace): ---------- ==> #assign response_nextTicket = http.cl...
at the bottom, I noticed a null pointer error:
Caused by: freemarker.template.TemplateModelException: No error description was specified for this error; low-level message: java.lang.NullPointerException: null The failing instruction (print stack trace for 15 more): ==> #assign response_nextTicket = http.cl...
Any further thoughts on this?