com.github.jknack.handlebars.HandlebarsException: inline@1be01261:1:75: found: '<EOF>', expected: '{{/' {{#unless test}}{{{{raw-helper}}}}{{testing}}{{{{/raw-helper}}}}{{/unless}} ^

GitHub | lagrz | 5 months ago
  1. 0

    raw-helper inside conditional results in Exception

    GitHub | 5 months ago | lagrz
    com.github.jknack.handlebars.HandlebarsException: inline@1be01261:1:75: found: '<EOF>', expected: '{{/' {{#unless test}}{{{{raw-helper}}}}{{testing}}{{{{/raw-helper}}}}{{/unless}} ^
  2. 0

    Dynamic Partial (lookup) with a "default" parameter doesn't work

    GitHub | 4 months ago | gatim
    com.github.jknack.handlebars.HandlebarsException: /template/common/aTemplate.hbs:4:78: found: '}}', expected: '=' {{> (lookup myObject 'aVariable') myObject.otherObject}} ^
  3. 0

    Serious problem with array index accessing

    GitHub | 4 years ago | muras
    com.github.jknack.handlebars.HandlebarsException: test.html:4:1: found: '{{/', expected: '<EOF>' {{/if}} ^
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HbsErrorReporter

    GitHub | 1 year ago | gitNas
    com.github.jknack.handlebars.HandlebarsException: inline@54609f21:1:60: found: '{{', expected: '<EOF>' {{Rh4nDqGfAkSwnvt1BoUDUQ}}  {{2aRpN6hJKk-9EGWgLZNAzw}} {{JvaH_W34vkW2ahccaU_7gA}}, ^
  6. 0

    Exception parsing partial name

    GitHub | 11 months ago | taypo
    com.github.jknack.handlebars.HandlebarsException: /index.hbs:25:8: found: '"loop"', expected: 'no viable alternative at input '"loop"'' {{> "loop"}} ^

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.github.jknack.handlebars.HandlebarsException

      inline@1be01261:1:75: found: '<EOF>', expected: '{{/' {{#unless test}}{{{{raw-helper}}}}{{testing}}{{{{/raw-helper}}}}{{/unless}} ^

      at com.github.jknack.handlebars.internal.HbsErrorReporter.syntaxError()
    2. com.github.jknack
      HbsErrorReporter.syntaxError
      1. com.github.jknack.handlebars.internal.HbsErrorReporter.syntaxError(HbsErrorReporter.java:93)
      1 frame
    3. ANTLR 4 Runtime
      Parser.notifyErrorListeners
      1. org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
      2. org.antlr.v4.runtime.Parser.notifyErrorListeners(Parser.java:566)
      2 frames
    4. com.github.jknack
      HbsErrorStrategy.reportInputMismatch
      1. com.github.jknack.handlebars.internal.HbsErrorStrategy.reportInputMismatch(HbsErrorStrategy.java:186)
      1 frame
    5. ANTLR 4 Runtime
      DefaultErrorStrategy.reportError
      1. org.antlr.v4.runtime.DefaultErrorStrategy.reportError(DefaultErrorStrategy.java:148)
      1 frame
    6. com.github.jknack
      HighConcurrencyTemplateCache$1.call
      1. com.github.jknack.handlebars.internal.HbsParser.block(HbsParser.java:705)
      2. com.github.jknack.handlebars.internal.HbsParser.statement(HbsParser.java:338)
      3. com.github.jknack.handlebars.internal.HbsParser.body(HbsParser.java:222)
      4. com.github.jknack.handlebars.internal.HbsParser.template(HbsParser.java:165)
      5. com.github.jknack.handlebars.internal.HbsParserFactory$1.parse(HbsParserFactory.java:84)
      6. com.github.jknack.handlebars.cache.HighConcurrencyTemplateCache$1.call(HighConcurrencyTemplateCache.java:168)
      7. com.github.jknack.handlebars.cache.HighConcurrencyTemplateCache$1.call(HighConcurrencyTemplateCache.java:165)
      7 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      1 frame
    8. com.github.jknack
      Handlebars.compileInline
      1. com.github.jknack.handlebars.cache.HighConcurrencyTemplateCache.putIfAbsent(HighConcurrencyTemplateCache.java:185)
      2. com.github.jknack.handlebars.cache.HighConcurrencyTemplateCache.cacheGet(HighConcurrencyTemplateCache.java:126)
      3. com.github.jknack.handlebars.cache.HighConcurrencyTemplateCache.get(HighConcurrencyTemplateCache.java:96)
      4. com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:414)
      5. com.github.jknack.handlebars.Handlebars.compileInline(Handlebars.java:384)
      6. com.github.jknack.handlebars.Handlebars.compileInline(Handlebars.java:368)
      6 frames