freemarker.core._MiscTemplateException: When calling macro "commentBlock", required parameter "avatar" (parameter #1) was specified, but had null/missing value. ---- Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #macro commentBlock avatar displayNam... [in template "macroTextBlock.ftl" in macro "commentBlock" at line 18, column 1] - Reached through: @lib.commentBlock avatar=commentItem... [in template "mailProjectItemCommentNotifier.ftl" at line 22, column 17] ----

GitHub | mchubby | 4 months ago
  1. 0

    Possible regression in 5.4.0 - no mail notification received

    GitHub | 4 months ago | mchubby
    freemarker.core._MiscTemplateException: When calling macro "commentBlock", required parameter "avatar" (parameter #1) was specified, but had null/missing value. ---- Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #macro commentBlock avatar displayNam... [in template "macroTextBlock.ftl" in macro "commentBlock" at line 18, column 1] - Reached through: @lib.commentBlock avatar=commentItem... [in template "mailProjectItemCommentNotifier.ftl" at line 22, column 17] ----
  2. 0

    Sitemesh throws: Unhandled exception occurred whilst decorating page: java.lang.ArrayIndexOutOfBoundsException: -1

    Stack Overflow | 1 year ago | mrh
    freemarker.core._MiscTemplateException: Failed to "?eval" string with this error: ---begin-message--- Invalid reference. Details are unavilable, as this should have been handled by an FTL construct. If it wasn't, that's problably a bug in FreeMarker. ---end-message--- The failing expression: ==> action_property?eval [in template "WEB-INF/content/common/controls/radio.ftl" at line 3, column 78] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if ((action_property?eval)!"") == value [in template "WEB-INF/content/common/controls/radio.ftl" in macro "display" at line 3, column 71] - Reached through: @radio.display action_property="ccdSe... [in template "WEB-INF/content/common/ccd_search_fields.ftl" in macro "display" at line 21, column 21] - Reached through: @ccd_search_fields.display [in template "WEB-INF/content/search-ccd.ftl" at line 25, column 5] ----
  3. 0

    Java Freemarker parsing exception

    Stack Overflow | 1 year ago | Sannin
    com.sannin.exception.TechnicalException: com.sannin.template.Renderer.render(Renderer.java:78) ~[tools-0.1.jar:na]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 358#117937611

    GitHub | 1 year ago | omendrapandey
    freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]
  6. 0

    <sj:div> + struts 2.5.x not working

    GitHub | 3 months ago | sdutry
    freemarker.core._MiscTemplateException: [... Exception message was already printed; see it above ...]

    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. freemarker.core._MiscTemplateException

      When calling macro "commentBlock", required parameter "avatar" (parameter #1) was specified, but had null/missing value. ---- Tip: If the parameter value expression on the caller side is known to be legally null/missing, you may want to specify a default value for it with the "!" operator, like paramValue!defaultValue. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #macro commentBlock avatar displayNam... [in template "macroTextBlock.ftl" in macro "commentBlock" at line 18, column 1] - Reached through: @lib.commentBlock avatar=commentItem... [in template "mailProjectItemCommentNotifier.ftl" at line 22, column 17] ----

      at freemarker.core.Macro$Context.sanityCheck()
    2. FreeMarker
      Template.process
      1. freemarker.core.Macro$Context.sanityCheck(Macro.java:219)
      2. freemarker.core.Environment.invoke(Environment.java:714)
      3. freemarker.core.UnifiedCall.accept(UnifiedCall.java:83)
      4. freemarker.core.Environment.visit(Environment.java:363)
      5. freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:316)
      6. freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:272)
      7. freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:243)
      8. freemarker.core.Environment.visitIteratorBlock(Environment.java:596)
      9. freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:108)
      10. freemarker.core.IteratorBlock.accept(IteratorBlock.java:94)
      11. freemarker.core.Environment.visit(Environment.java:327)
      12. freemarker.core.Environment.visit(Environment.java:333)
      13. freemarker.core.Environment.visit(Environment.java:333)
      14. freemarker.core.Environment.process(Environment.java:306)
      15. freemarker.template.Template.process(Template.java:384)
      15 frames
    3. com.mycollab.module
      SendMailToFollowersAction$$anonfun$sendNotificationForCommentAction$1.apply
      1. com.mycollab.module.mail.service.ContentGenerator.parseFile(ContentGenerator.scala:61)
      2. com.mycollab.module.project.schedule.email.service.SendMailToFollowersAction$$anonfun$sendNotificationForCommentAction$1.apply(SendMailToFollowersAction.scala:132)
      3. com.mycollab.module.project.schedule.email.service.SendMailToFollowersAction$$anonfun$sendNotificationForCommentAction$1.apply(SendMailToFollowersAction.scala:123)
      3 frames
    4. Scala
      Set$Set1.foreach
      1. scala.collection.immutable.Set$Set1.foreach(Set.scala:94)
      1 frame
    5. com.mycollab.module
      SendMailToFollowersAction.sendNotificationForCommentAction
      1. com.mycollab.module.project.schedule.email.service.SendMailToFollowersAction.sendNotificationForCommentAction(SendMailToFollowersAction.scala:123)
      1 frame
    6. com.mycollab.schedule
      ProjectSendingRelayEmailNotificationJob$$anonfun$executeJob$1.apply
      1. com.mycollab.schedule.jobs.ProjectSendingRelayEmailNotificationJob$$anonfun$executeJob$1.apply(ProjectSendingRelayEmailNotificationJob.scala:58)
      2. com.mycollab.schedule.jobs.ProjectSendingRelayEmailNotificationJob$$anonfun$executeJob$1.apply(ProjectSendingRelayEmailNotificationJob.scala:49)
      2 frames
    7. Scala
      List.foreach
      1. scala.collection.immutable.List.foreach(List.scala:381)
      1 frame
    8. com.mycollab.schedule
      GenericQuartzJobBean.executeInternal
      1. com.mycollab.schedule.jobs.ProjectSendingRelayEmailNotificationJob.executeJob(ProjectSendingRelayEmailNotificationJob.scala:49)
      2. com.mycollab.schedule.jobs.GenericQuartzJobBean.executeInternal(GenericQuartzJobBean.scala:34)
      2 frames
    9. Spring Context Support
      QuartzJobBean.execute
      1. org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:75)
      1 frame
    10. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      2 frames