freemarker.core.InvalidReferenceException: Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl.

Atlassian JIRA | Mark Lassau [Atlassian] | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    I go to https://bamboo.extranet.atlassian.com/browse/CWD-BRANCHMAIN/config and click on the "Builder" tab and I see a stacktrace in the page: {noformat} Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl. The problematic instruction: ---------- ==> if samplerassertions.size() > 0 [on line 1, column 1 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:111) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.process(Environment.java:190) at freemarker.template.Template.process(Template.java:237) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:295) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:235) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:304) at com.atlassian.bamboo.v2.build.BaseConfigurablePlugin.getViewHtml(BaseConfigurablePlugin.java:77) at sun.reflect.GeneratedMethodAccessor746.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy279.getViewHtml(Unknown Source) at com.atlassian.bamboo.ww2.actions.build.admin.ViewBuildConfiguration.getBuildProcessorPluginHtmlList(ViewBuildConfiguration.java:132) at sun.reflect.GeneratedMethodAccessor2489.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:768) at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1213) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:144) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) ... {noformat}

    Atlassian JIRA | 7 years ago | Mark Lassau [Atlassian]
    freemarker.core.InvalidReferenceException: Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl.
  2. 0

    I go to https://bamboo.extranet.atlassian.com/browse/CWD-BRANCHMAIN/config and click on the "Builder" tab and I see a stacktrace in the page: {noformat} Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl. The problematic instruction: ---------- ==> if samplerassertions.size() > 0 [on line 1, column 1 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134) at freemarker.core.Dot._getAsTemplateModel(Dot.java:78) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:111) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:210) at freemarker.core.Environment.process(Environment.java:190) at freemarker.template.Template.process(Template.java:237) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:295) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:235) at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:304) at com.atlassian.bamboo.v2.build.BaseConfigurablePlugin.getViewHtml(BaseConfigurablePlugin.java:77) at sun.reflect.GeneratedMethodAccessor746.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) at $Proxy279.getViewHtml(Unknown Source) at com.atlassian.bamboo.ww2.actions.build.admin.ViewBuildConfiguration.getBuildProcessorPluginHtmlList(ViewBuildConfiguration.java:132) at sun.reflect.GeneratedMethodAccessor2489.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:768) at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1213) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:144) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) ... {noformat}

    Atlassian JIRA | 7 years ago | Mark Lassau [Atlassian]
    freemarker.core.InvalidReferenceException: Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl.
  3. 0

    Access RequestParameters inside Camel Freemarker ftl

    Stack Overflow | 3 years ago | amate
    freemarker.core.InvalidReferenceException: Expression RequestParameters is undefined on line 216, column 40 in ftl/META-INF/spring/route-context.xml.ftl.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FreeMarker Template Error

    oreports | 9 years ago | jenwheel
    freemarker.core.InvalidReferenceException: Expression error is undefined on line 4, column 50 in template/simple/actionerror.ftl.
  6. 0

    VCF to HTML conversion is throwing exception with partial conversion

    GitHub | 2 years ago | GoogleCodeExporter
    freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> org [in template "hcard-template.html" at line 407, column 107] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (print stack trace for 1 more): ==> ${org} [in template "hcard-template.html" at line 407, column 105]
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.InvalidReferenceException

    Expression samplerassertions is undefined on line 1, column 6 in template/plugins/buildProcessor/jmeterAggregatorProcessorView.ftl.

    at freemarker.core.TemplateObject.assertNonNull()
  2. FreeMarker
    Template.process
    1. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
    2. freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
    3. freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
    4. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    5. freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:86)
    6. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
    7. freemarker.core.ComparisonExpression.isTrue(ComparisonExpression.java:111)
    8. freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
    9. freemarker.core.Environment.visit(Environment.java:210)
    10. freemarker.core.Environment.process(Environment.java:190)
    11. freemarker.template.Template.process(Template.java:237)
    11 frames
  3. com.atlassian.bamboo
    BaseConfigurablePlugin.getViewHtml
    1. com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:295)
    2. com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:235)
    3. com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:304)
    4. com.atlassian.bamboo.v2.build.BaseConfigurablePlugin.getViewHtml(BaseConfigurablePlugin.java:77)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor746.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  5. Spring AOP
    JdkDynamicAopProxy.invoke
    1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)
    2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198)
    2 frames
  6. Unknown
    $Proxy279.getViewHtml
    1. $Proxy279.getViewHtml(Unknown Source)
    1 frame
  7. com.atlassian.bamboo
    ViewBuildConfiguration.getBuildProcessorPluginHtmlList
    1. com.atlassian.bamboo.ww2.actions.build.admin.ViewBuildConfiguration.getBuildProcessorPluginHtmlList(ViewBuildConfiguration.java:132)
    1 frame
  8. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor2489.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:597)
    3 frames
  9. OGNL - Object Graph Navigation Library
    ObjectPropertyAccessor.getProperty
    1. ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:768)
    2. ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1213)
    3. ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:60)
    4. ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:144)
    4 frames
  10. XWork Tiger Extensions
    OgnlValueStack$ObjectAccessor.getProperty
    1. com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57)
    1 frame