freemarker.core.InvalidReferenceException: Expression preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.ftl.

Atlassian JIRA | Krystian Nowak | 8 years ago
  1. 0

    relates to [http://developer.atlassian.com/jira/browse/BPBC-32] In Bamboo 2.2.2 pre-post submenu is not visible on Builder tab when creating new build plan due to NPE in logs: {noformat} 2009-05-26 06:00:13,592 ERROR [btpool0-9] [CompoundRootAccessor] Caught an Ognl exception while getting property preBuildActionPluginHtmlList ognl.OgnlException: preBuildActionPluginHtmlList [java.lang.NullPointerException] at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:935) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:102) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at ognl.ASTProperty.getValueBody(ASTProperty.java:92) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:310) at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:192) 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:1061) at freemarker.core.Environment.getVariable(Environment.java:1047) at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.visit(Environment.java:297) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:153) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143) (...) /-- Encapsulated exception ------------\ java.lang.NullPointerException at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:160) at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:767) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:24) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:419) at com.sysbliss.bamboo.plugins.prepostcmd.action.PreBuildCommandAgentAction.populateContextForEdit(PreBuildCommandAgentAction.java:56) at com.atlassian.bamboo.v2.build.BaseConfigurablePlugin.getEditHtml(BaseConfigurablePlugin.java:87) at sun.reflect.GeneratedMethodAccessor467.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (...) \--------------------------------------/ 2009-05-26 06:00:13,603 ERROR [btpool0-9] [CompoundRootAccessor] Caught an Ognl exception while getting property preBuildActionPluginHtmlList ognl.OgnlException: preBuildActionPluginHtmlList [java.lang.NullPointerException] at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:935) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:102) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at ognl.ASTProperty.getValueBody(ASTProperty.java:92) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:310) (...) \--------------------------------------/ 2009-05-26 06:00:13,610 ERROR [btpool0-9] [runtime] Expression preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.ftl. The problematic instruction: ---------- ==> list preBuildActionPluginHtmlList as pluginHtml [on line 16, column 5 in build/add/addBuildBuilder.ftl] in user-directive ww.form [on line 4, column 1 in build/add/addBuildBuilder.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:100) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.visit(Environment.java:297) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) (...) {noformat}

    Atlassian JIRA | 8 years ago | Krystian Nowak
    freemarker.core.InvalidReferenceException: Expression preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.ftl.
  2. 0

    relates to [http://developer.atlassian.com/jira/browse/BPBC-32] In Bamboo 2.2.2 pre-post submenu is not visible on Builder tab when creating new build plan due to NPE in logs: {noformat} 2009-05-26 06:00:13,592 ERROR [btpool0-9] [CompoundRootAccessor] Caught an Ognl exception while getting property preBuildActionPluginHtmlList ognl.OgnlException: preBuildActionPluginHtmlList [java.lang.NullPointerException] at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:935) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:102) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at ognl.ASTProperty.getValueBody(ASTProperty.java:92) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:310) at com.opensymphony.xwork.util.OgnlUtil.getValue(OgnlUtil.java:192) 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:1061) at freemarker.core.Environment.getVariable(Environment.java:1047) at freemarker.core.Identifier._getAsTemplateModel(Identifier.java:70) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:94) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.visit(Environment.java:297) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) at com.opensymphony.webwork.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:153) at com.opensymphony.webwork.dispatcher.WebWorkResultSupport.execute(WebWorkResultSupport.java:143) (...) /-- Encapsulated exception ------------\ java.lang.NullPointerException at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:160) at edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:767) at com.atlassian.bamboo.build.DefaultBuildDefinitionManager.getBuildDefinition(DefaultBuildDefinitionManager.java:24) at com.atlassian.bamboo.build.DefaultBuild.getBuildDefinition(DefaultBuild.java:419) at com.sysbliss.bamboo.plugins.prepostcmd.action.PreBuildCommandAgentAction.populateContextForEdit(PreBuildCommandAgentAction.java:56) at com.atlassian.bamboo.v2.build.BaseConfigurablePlugin.getEditHtml(BaseConfigurablePlugin.java:87) at sun.reflect.GeneratedMethodAccessor467.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) (...) \--------------------------------------/ 2009-05-26 06:00:13,603 ERROR [btpool0-9] [CompoundRootAccessor] Caught an Ognl exception while getting property preBuildActionPluginHtmlList ognl.OgnlException: preBuildActionPluginHtmlList [java.lang.NullPointerException] at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:935) at ognl.ObjectPropertyAccessor.getPossibleProperty(ObjectPropertyAccessor.java:53) at ognl.ObjectPropertyAccessor.getProperty(ObjectPropertyAccessor.java:121) at com.opensymphony.xwork.util.OgnlValueStack$ObjectAccessor.getProperty(OgnlValueStack.java:57) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at com.opensymphony.xwork.util.CompoundRootAccessor.getProperty(CompoundRootAccessor.java:102) at ognl.OgnlRuntime.getProperty(OgnlRuntime.java:1643) at ognl.ASTProperty.getValueBody(ASTProperty.java:92) at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:170) at ognl.SimpleNode.getValue(SimpleNode.java:210) at ognl.Ognl.getValue(Ognl.java:333) at ognl.Ognl.getValue(Ognl.java:310) (...) \--------------------------------------/ 2009-05-26 06:00:13,610 ERROR [btpool0-9] [runtime] Expression preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.ftl. The problematic instruction: ---------- ==> list preBuildActionPluginHtmlList as pluginHtml [on line 16, column 5 in build/add/addBuildBuilder.ftl] in user-directive ww.form [on line 4, column 1 in build/add/addBuildBuilder.ftl] ---------- Java backtrace for programmers: ---------- freemarker.core.InvalidReferenceException: Expression preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.ftl. at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124) at freemarker.core.IteratorBlock.accept(IteratorBlock.java:100) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.visit(Environment.java:297) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:130) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:208) at freemarker.core.Environment.process(Environment.java:188) at freemarker.template.Template.process(Template.java:237) (...) {noformat}

    Atlassian JIRA | 8 years ago | Krystian Nowak
    freemarker.core.InvalidReferenceException: Expression preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.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 preBuildActionPluginHtmlList is undefined on line 16, column 12 in build/add/addBuildBuilder.ftl.

    at freemarker.core.TemplateObject.assertNonNull()
  2. FreeMarker
    Template.process
    1. freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
    2. freemarker.core.IteratorBlock.accept(IteratorBlock.java:100)
    3. freemarker.core.Environment.visit(Environment.java:208)
    4. freemarker.core.MixedContent.accept(MixedContent.java:92)
    5. freemarker.core.Environment.visit(Environment.java:208)
    6. freemarker.core.Environment.visit(Environment.java:297)
    7. freemarker.core.UnifiedCall.accept(UnifiedCall.java:130)
    8. freemarker.core.Environment.visit(Environment.java:208)
    9. freemarker.core.MixedContent.accept(MixedContent.java:92)
    10. freemarker.core.Environment.visit(Environment.java:208)
    11. freemarker.core.Environment.process(Environment.java:188)
    12. freemarker.template.Template.process(Template.java:237)
    12 frames