om.github.jknack.handlebars.HandlebarsException: /resources/app/templates/forms/bindable-controls/bindable-single-select.hbs:4:11: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String /resources/app/templates/forms/bindable-controls/bindable-single-select.hbs:4:11

GitHub | dudabone | 8 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

    Each helper throws "java.lang.ClassCastException" when Map key is not a string

    GitHub | 8 months ago | dudabone
    om.github.jknack.handlebars.HandlebarsException: /resources/app/templates/forms/bindable-controls/bindable-single-select.hbs:4:11: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String /resources/app/templates/forms/bindable-controls/bindable-single-select.hbs:4:11

    Root Cause Analysis

    1. om.github.jknack.handlebars.HandlebarsException

      /resources/app/templates/forms/bindable-controls/bindable-single-select.hbs:4:11: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.String /resources/app/templates/forms/bindable-controls/bindable-single-select.hbs:4:11

      at com.github.jknack.handlebars.helper.EachHelper.apply()
    2. com.github.jknack
      BaseTemplate.apply
      1. com.github.jknack.handlebars.helper.EachHelper.apply(EachHelper.java:89)
      2. com.github.jknack.handlebars.internal.Block.merge(Block.java:211)
      3. com.github.jknack.handlebars.internal.BaseTemplate.apply(BaseTemplate.java:128)
      4. com.github.jknack.handlebars.internal.TemplateList.merge(TemplateList.java:94)
      5. com.github.jknack.handlebars.internal.BaseTemplate.apply(BaseTemplate.java:128)
      5 frames