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
  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

    FreeMarker Template Error

    oreports | 8 years ago | jenwheel
    freemarker.core.InvalidReferenceException: Expression error is undefined on line 4, column 50 in template/simple/actionerror.ftl.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    HipChat Plugin Error with Rundeck 2.1.1

    GitHub | 3 years ago | hbakkum
    com.hbakkum.rundeck.plugins.hipchat.HipChatNotificationPluginException: Error merging HipChat notification message template: [Expression executionData.context is undefined on line 13, column 17 in hipchat-message.ftl.].
  6. 0

    Testing with android and saucelabs fails

    GitHub | 2 years ago | mrlove
    freemarker.core.InvalidReferenceException: Expression node.layoutReport.screenshot is undefined on line 35, column 67 in report-main.

  1. asdasd 485 times, last 2 months ago
  2. dafman 1 times, last 3 months ago
  3. abrazeneb 3 times, last 4 months ago
  4. Adarro 2 times, last 4 months ago
11 unregistered visitors
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