org.jtwig.exception.ParseException: Wrong if syntax Explanation: Input position (line 1, pos 7): {% if recipient.attr != "" %}{{ recipient.attr }}{% else %}no or empty attribute{% endif %} ^

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by stefanmeissner
, 1 year ago
Wrong if syntax Explanation: Input position (line 1, pos 7): {% if recipient.attr != "" %}{{ recipient.attr }}{% else %}no or empty attribute{% endif %} ^
via GitHub by thomas-p-wilson
, 1 year ago
Wrong if syntax Explanation: Input position (line 1, pos 7): {% if recipient.attr != "" %}{{ recipient.attr }}{% else %}no or empty attribute{% endif %} ^
org.jtwig.exception.ParseException: Wrong if syntax Explanation: Input position (line 1, pos 7): {% if recipient.attr != "" %}{{ recipient.attr }}{% else %}no or empty attribute{% endif %} ^
at org.jtwig.extension.core.tokenparsers.IfStatementParser$$parboiled.rule(Unknown Source)
at org.jtwig.parser.parboiled.JtwigContentParser$$parboiled.tokenParsers(Unknown Source)
at org.jtwig.parser.parboiled.JtwigContentParser$$parboiled.content(Unknown Source)
at org.jtwig.parser.parboiled.JtwigContentParser$$parboiled.start(Unknown Source)
at org.jtwig.Environment.parse(Environment.java:93)

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.

Know the solutions? Share your knowledge to help other developers to debug faster.