java.lang.NullPointerException

Atlassian JIRA | Mark Chaimungkalanont | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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
    java.lang.NullPointerException
  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
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.atlassian.bamboo.build.ShowLatestBuildStatus.isStatusChanged()
    2. com.atlassian.bamboo
      ShowLatestBuildStatus.isStatusChanged
      1. com.atlassian.bamboo.build.ShowLatestBuildStatus.isStatusChanged(ShowLatestBuildStatus.java:15)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor388.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:592)
      3 frames
    4. 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
    5. XWork Tiger Extensions
      OgnlValueStack$ObjectAccessor.getProperty
      1. com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57)
      1 frame
    6. OGNL - Object Graph Navigation Library
      OgnlRuntime.getProperty
      1. ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934)
      1 frame
    7. XWork Tiger Extensions
      CompoundRootAccessor.getProperty
      1. com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:334)
      1 frame
    8. OGNL - Object Graph Navigation Library
      Ognl.getValue
      1. ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1934)
      2. ognl.ASTProperty.getValueBody(ASTProperty.java:109)
      3. ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:202)
      4. ognl.SimpleNode.getValue(SimpleNode.java:246)
      5. ognl.Ognl.getValue(Ognl.java:494)
      6. ognl.Ognl.getValue(Ognl.java:458)
      6 frames
    9. XWork Tiger Extensions
      OgnlValueStack.findValue
      1. com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:285)
      2. com.opensymphony.xwork.util.OgnlValueStack.findValue(OgnlValueStack.java:224)
      2 frames
    10. WebWork
      ScopesHashModel.get
      1. com.opensymphony.webwork.views.freemarker.ScopesHashModel.get(ScopesHashModel.java:51)
      1 frame
    11. FreeMarker
      Template.process
      1. freemarker.core.Environment.getGlobalVariable(Environment.java:1062)
      2. freemarker.core.Environment.getVariable(Environment.java:1048)
      3. freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70)
      4. freemarker.core.Expression.getAsTemplateModel(Expression.java:89)
      5. freemarker.core.BuiltIn$existsBI._getAsTemplateModel(BuiltIn.java:646)
      6. freemarker.core.BuiltIn$existsBI.isTrue(BuiltIn.java:657)
      7. freemarker.core.AndExpression.isTrue(AndExpression.java:68)
      8. freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:77)
      9. freemarker.core.Environment.visit(Environment.java:209)
      10. freemarker.core.MixedContent.accept(MixedContent.java:92)
      11. freemarker.core.Environment.visit(Environment.java:209)
      12. freemarker.core.Environment.process(Environment.java:189)
      13. freemarker.template.Template.process(Template.java:237)
      13 frames
    12. WebWork
      FreemarkerResult.doExecute
      1. com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:214)
      1 frame