freemarker.core.InvalidReferenceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Mark Lassau [Atlassian],
  • 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}
    via by Mark Lassau [Atlassian],
  • FreeMarker Template Error
    via oreports by jenwheel
    ,
    • 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)

    Users with the same issue

    asdasd
    485 times, last one,
    dafman
    1 times, last one,
    abrazeneb
    3 times, last one,
    Unknown visitor1 times, last one,
    Adarro
    2 times, last one,
    10 more bugmates