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

GitHub | gatim | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

    raw-helper inside conditional results in Exception

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

      /template/common/aTemplate.hbs:4:78: found: '}}', expected: '=' {{> (lookup myObject 'aVariable') myObject.otherObject}} ^

      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
      Handlebars.compile
      1. com.github.jknack.handlebars.internal.HbsParser.hash(HbsParser.java:2096)
      2. com.github.jknack.handlebars.internal.HbsParser.pexpr(HbsParser.java:1764)
      3. com.github.jknack.handlebars.internal.HbsParser.partial(HbsParser.java:1563)
      4. com.github.jknack.handlebars.internal.HbsParser.statement(HbsParser.java:373)
      5. com.github.jknack.handlebars.internal.HbsParser.body(HbsParser.java:222)
      6. com.github.jknack.handlebars.internal.HbsParser.template(HbsParser.java:165)
      7. com.github.jknack.handlebars.internal.HbsParserFactory$1.parse(HbsParserFactory.java:84)
      8. com.github.jknack.handlebars.cache.NullTemplateCache.get(NullTemplateCache.java:54)
      9. com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:414)
      10. com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:357)
      11. com.github.jknack.handlebars.Handlebars.compile(Handlebars.java:343)
      11 frames
    7. be.smals.hfcse
      TemplateTest.testT
      1. be.smals.hfcse.emsr.kmehrvalidation.core.TemplateTest.testT(TemplateTest.java:76)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
      5. org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
      6. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
      8. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
      9. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
      10. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
      11. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
      12. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
      13. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
      13 frames
    10. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    11. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames