freemarker.template.TemplateModelException: Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476

Atlassian JIRA | Martin Meinhold | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Found in JBAC's logs this morning {noformat} 2013-08-15 22:53:08,509 ERROR [qtp717881621-1481] [runtime] Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476 Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476 The problematic instruction: ---------- ==> assignment: agent=action.getAgent(jobSummary.buildAgentId)! [on line 34, column 21 in chain/view/viewChainResult.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476 at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:104) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.DefaultToExpression._getAsTemplateModel(DefaultToExpression.java:100) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Assignment.accept(Assignment.java:90) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.process(Environment.java:190) {noformat}

    Atlassian JIRA | 4 years ago | Martin Meinhold
    freemarker.template.TemplateModelException: Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476
  2. 0

    Found in JBAC's logs this morning {noformat} 2013-08-15 22:53:08,509 ERROR [qtp717881621-1481] [runtime] Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476 Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476 The problematic instruction: ---------- ==> assignment: agent=action.getAgent(jobSummary.buildAgentId)! [on line 34, column 21 in chain/view/viewChainResult.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476 at freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:104) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.DefaultToExpression._getAsTemplateModel(DefaultToExpression.java:100) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Assignment.accept(Assignment.java:90) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.process(Environment.java:190) {noformat}

    Atlassian JIRA | 4 years ago | Martin Meinhold
    freemarker.template.TemplateModelException: Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476

    Root Cause Analysis

    1. freemarker.template.TemplateModelException

      Method public com.atlassian.bamboo.v2.build.agent.BuildAgent com.atlassian.bamboo.ww2.actions.chains.ViewChainResult.getAgent(long) threw an exception when invoked on com.atlassian.bamboo.ww2.actions.chains.ViewChainResult@3d451476

      at freemarker.ext.beans.SimpleMethodModel.exec()
    2. FreeMarker
      Environment.process
      1. freemarker.ext.beans.SimpleMethodModel.exec(SimpleMethodModel.java:130)
      2. freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:104)
      3. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      4. freemarker.core.DefaultToExpression._getAsTemplateModel(DefaultToExpression.java:100)
      5. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      6. freemarker.core.Assignment.accept(Assignment.java:90)
      7. freemarker.core.Environment.visit(Environment.java:210)
      8. freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
      9. freemarker.core.Environment.visit(Environment.java:210)
      10. freemarker.core.MixedContent.accept(MixedContent.java:92)
      11. freemarker.core.Environment.visit(Environment.java:210)
      12. freemarker.core.IfBlock.accept(IfBlock.java:82)
      13. freemarker.core.Environment.visit(Environment.java:210)
      14. freemarker.core.MixedContent.accept(MixedContent.java:92)
      15. freemarker.core.Environment.visit(Environment.java:210)
      16. freemarker.core.IfBlock.accept(IfBlock.java:82)
      17. freemarker.core.Environment.visit(Environment.java:210)
      18. freemarker.core.MixedContent.accept(MixedContent.java:92)
      19. freemarker.core.Environment.visit(Environment.java:210)
      20. freemarker.core.Environment.process(Environment.java:190)
      20 frames