freemarker.core.NonBooleanException

[... Exception message was already printed; see it above ...]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web5

  • via freemarker by perfnorm
    , 1 year ago
    [... Exception message was already printed; see it above ...]
  • [... Exception message was already printed; see it above ...]
  • via Coderanch by rajiv shrestha, 7 months ago
    Error on line 101, column 6 in template/jquery/head.ftl Expecting a boolean (true/false) expression here Expression parameters.debug?default(false) does not evaluate to true/false it is an instance of freemarker.ext.beans.StringModel
  • Stack trace

    • freemarker.core.NonBooleanException: [... Exception message was already printed; see it above ...] at freemarker.core.Expression.modelToBoolean(Expression.java:153) at freemarker.core.Expression.evalToBoolean(Expression.java:144) at freemarker.core.ParentheticalExpression.evalToBoolean(ParentheticalExpression.java:67) at freemarker.core.NotExpression.evalToBoolean(NotExpression.java:66) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:84) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Macro$Context.runMacro(Macro.java:209) at freemarker.core.Environment.visit(Environment.java:694) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:116) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.include(Environment.java:1712) at freemarker.core.Include.accept(Include.java:172) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.MixedContent.accept(MixedContent.java:93) at freemarker.core.Environment.visit(Environment.java:265) at freemarker.core.Environment.process(Environment.java:243) at freemarker.template.Template.process(Template.java:277)

    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

    8 times, 10 months ago