freemarker.core.InvalidReferenceException: Expression agent is undefined on line 1043, column 81 in lib/components.ftl.

Atlassian JIRA | Mark Chaimungkalanont | 7 years ago
  1. 0

    2009-12-09 13:32:24,015 ERROR [14423579@qtp-6659511-56] [runtime] Expression build is undefined on line 48, column 40 in fragments/plan/latestStatus.ftl. The problematic instruction: ---------- ==> ${build.currentStatus} [on line 48, column 38 in fragments/plan/latestStatus.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression build is undefined on line 48, column 40 in fragments/plan/latestStatus.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.Expression.getStringValue(Expression.java:93) ... 2009-12-09 13:32:24,017 ERROR [14423579@qtp-6659511-56] [CompoundRootAccessor] Caught an Ognl exception while getting property statusChanged ognl.OgnlException: statusChanged [java.lang.NullPointerException] at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1215) 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) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:334) ... /-- Encapsulated exception ------------\ java.lang.NullPointerException at com.atlassian.bamboo.build.ShowLatestBuildStatus.isStatusChanged(ShowLatestBuildStatus.java:15) at sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) 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) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:334) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934) at ognl.ASTProperty.getValueBody(ASTProperty.java:109) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:202) at ognl.SimpleNode.getValue(SimpleNode.java:246) at ognl.Ognl.getValue(Ognl.java:494) at ognl.Ognl.getValue(Ognl.java:458) at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:285) at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:224) at com.opensymphony.webwork.views.freemarker.ScopesHashModel.get(ScopesHashModel.java:51) at freemarker.core.Environment.getGlobalVariable(Environment.java:1062) at freemarker.core.Environment.getVariable(Environment.java:1048) at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.BuiltIn$existsBI._getAsTemplateModel(BuiltIn.java:646) at freemarker.core.BuiltIn$existsBI.isTrue(BuiltIn.java:657) at freemarker.core.AndExpression.isTrue(AndExpression.java:68) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.process(Environment.java:189) at freemarker.template.Template.process(Template.java:237) at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:214) ... 2009-12-09 13:10:02,915 INFO [15858328@qtp-6659511-107] [AccessLogFilter] mark http://brydie.sydney.atlassian.com:8087/bamboo/admin/user/viewUsers.action 353110kb2009-12-09 13:10:18,012 INFO [5656759@qtp-6659511-116] [AccessLogFilter] pete http://brydie.sydney.atlassian.com:8087/bamboo/admin/systemErrors.action 390255kb2009-12-09 13:10:18,033 ERROR [5656759@qtp-6659511-116] [runtime] Expression agent is undefined on line 1043, column 81 in lib/components.ftl. The problematic instruction: ---------- ==> user-directive ww.url [on line 1043, column 26 in lib/components.ftl] in user-directive cp.showSystemError [on line 28, column 13 in admin/systemErrors.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression agent is undefined on line 1043, column 81 in lib/components.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) ... 2009-12-09 13:10:18,036 ERROR [5656759@qtp-6659511-116] [runtime] Latest status page should handle plans that don't exist Expression agent is undefined on line 1043, column 96 in lib/components.ftl. The problematic instruction: ---------- ==> ${agent.name?html} [on line 1043, column 94 in lib/components.ftl] in user-directive cp.showSystemError [on line 28, column 13 in admin/systemErrors.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression agent is undefined on line 1043, column 96 in lib/components.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) ...

    Atlassian JIRA | 7 years ago | Mark Chaimungkalanont
    freemarker.core.InvalidReferenceException: Expression agent is undefined on line 1043, column 81 in lib/components.ftl.
  2. 0

    2009-12-09 13:32:24,015 ERROR [14423579@qtp-6659511-56] [runtime] Expression build is undefined on line 48, column 40 in fragments/plan/latestStatus.ftl. The problematic instruction: ---------- ==> ${build.currentStatus} [on line 48, column 38 in fragments/plan/latestStatus.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression build is undefined on line 48, column 40 in fragments/plan/latestStatus.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.Expression.getStringValue(Expression.java:93) ... 2009-12-09 13:32:24,017 ERROR [14423579@qtp-6659511-56] [CompoundRootAccessor] Caught an Ognl exception while getting property statusChanged ognl.OgnlException: statusChanged [java.lang.NullPointerException] at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1215) 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) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:334) ... /-- Encapsulated exception ------------\ java.lang.NullPointerException at com.atlassian.bamboo.build.ShowLatestBuildStatus.isStatusChanged(ShowLatestBuildStatus.java:15) at sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) 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) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:334) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934) at ognl.ASTProperty.getValueBody(ASTProperty.java:109) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:202) at ognl.SimpleNode.getValue(SimpleNode.java:246) at ognl.Ognl.getValue(Ognl.java:494) at ognl.Ognl.getValue(Ognl.java:458) at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:285) at com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:224) at com.opensymphony.webwork.views.freemarker.ScopesHashModel.get(ScopesHashModel.java:51) at freemarker.core.Environment.getGlobalVariable(Environment.java:1062) at freemarker.core.Environment.getVariable(Environment.java:1048) at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.BuiltIn$existsBI._getAsTemplateModel(BuiltIn.java:646) at freemarker.core.BuiltIn$existsBI.isTrue(BuiltIn.java:657) at freemarker.core.AndExpression.isTrue(AndExpression.java:68) at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:209) at freemarker.core.Environment.process(Environment.java:189) at freemarker.template.Template.process(Template.java:237) at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:214) ... 2009-12-09 13:10:02,915 INFO [15858328@qtp-6659511-107] [AccessLogFilter] mark http://brydie.sydney.atlassian.com:8087/bamboo/admin/user/viewUsers.action 353110kb2009-12-09 13:10:18,012 INFO [5656759@qtp-6659511-116] [AccessLogFilter] pete http://brydie.sydney.atlassian.com:8087/bamboo/admin/systemErrors.action 390255kb2009-12-09 13:10:18,033 ERROR [5656759@qtp-6659511-116] [runtime] Expression agent is undefined on line 1043, column 81 in lib/components.ftl. The problematic instruction: ---------- ==> user-directive ww.url [on line 1043, column 26 in lib/components.ftl] in user-directive cp.showSystemError [on line 28, column 13 in admin/systemErrors.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression agent is undefined on line 1043, column 81 in lib/components.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) ... 2009-12-09 13:10:18,036 ERROR [5656759@qtp-6659511-116] [runtime] Latest status page should handle plans that don't exist Expression agent is undefined on line 1043, column 96 in lib/components.ftl. The problematic instruction: ---------- ==> ${agent.name?html} [on line 1043, column 94 in lib/components.ftl] in user-directive cp.showSystemError [on line 28, column 13 in admin/systemErrors.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression agent is undefined on line 1043, column 96 in lib/components.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) ...

    Atlassian JIRA | 7 years ago | Mark Chaimungkalanont
    freemarker.core.InvalidReferenceException: Expression agent is undefined on line 1043, column 81 in lib/components.ftl.
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When cloning a plan with the automatic dependency management turned on, the configuration is not cloned correctly. Its still got the id of the job in the old chain, rather than the id of the job in the new chain. 2010-10-11 12:25:53,556 ERROR [316196497@qtp-1176734279-13] [runtime] Expression dependencyProviderJob is undefined on line 6, column 22 in chain/view/viewAutomaticDependencyManagement.ftl. Expression dependencyProviderJob is undefined on line 6, column 22 in chain/view/viewAutomaticDependencyManagement.ftl. The problematic instruction: ---------- ==> ${dependencyProviderJob.name} [on line 6, column 20 in chain/view/viewAutomaticDependencyManagement.ftl] in user-directive ww.param [on line 6, column 9 in chain/view/viewAutomaticDependencyManagement.ftl] in user-directive ww.text [on line 4, column 5 in chain/view/viewAutomaticDependencyManagement.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression dependencyProviderJob is undefined on line 6, column 22 in chain/view/viewAutomaticDependencyManagement.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)

    Atlassian JIRA | 6 years ago | Brydie McCoy [Atlassian]
    freemarker.core.InvalidReferenceException: Expression dependencyProviderJob is undefined on line 6, column 22 in chain/view/viewAutomaticDependencyManagement.ftl.
  6. 0

    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 agent is undefined on line 1043, column 81 in lib/components.ftl.

      at freemarker.core.TemplateObject.assertNonNull()
    2. FreeMarker
      Dot._getAsTemplateModel
      1. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
      2. freemarker.core.TemplateObject.invalidTypeException(TemplateObject.java:134)
      3. freemarker.core.Dot._getAsTemplateModel(Dot.java:78)
      3 frames