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

Atlassian JIRA | Krystian Nowak | 8 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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

    Access RequestParameters inside Camel Freemarker ftl

    Stack Overflow | 3 years ago | amate
    freemarker.core.InvalidReferenceException: Expression RequestParameters is undefined on line 216, column 40 in ftl/META-INF/spring/route-context.xml.ftl.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FreeMarker Template Error

    oreports | 9 years ago | jenwheel
    freemarker.core.InvalidReferenceException: Expression error is undefined on line 4, column 50 in template/simple/actionerror.ftl.
  6. 0

    VCF to HTML conversion is throwing exception with partial conversion

    GitHub | 2 years ago | GoogleCodeExporter
    freemarker.core.InvalidReferenceException: The following has evaluated to null or missing: ==> org [in template "hcard-template.html" at line 407, column 107] Tip: If the failing expression is known to be legally null/missing, either specify a default value with myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)?? The failing instruction (print stack trace for 1 more): ==> ${org} [in template "hcard-template.html" at line 407, column 105]

  1. asdasd 485 times, last 6 months ago
  2. dafman 1 times, last 8 months ago
  3. abrazeneb 3 times, last 8 months ago
  4. Adarro 2 times, last 9 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