Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-12472

build not defined in the ftl context for some notifications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.3.2
    • None
    • None

    Description

      2012-11-17 18:35:16,985 INFO [qtp1293046055-119] [AccessLogFilter] user GET http://DOMAIN/ajax/viewElasticSnippet.action 97425kb
      2012-11-17 18:35:20,447 WARN [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [BuildQueueTimeoutNotificationListener] Build queue timeout (10 minutes) has been exceeded for 'PROJ-PLAN-JOB-1'.
      2012-11-17 18:35:20,486 WARN [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [ValidActionContextMarker] Detected a potentially invalid action context, returning null
      2012-11-17 18:35:20,487 WARN [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [ValidActionContextMarker] Detected a potentially invalid action context, returning null
      2012-11-17 18:35:20,490 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [runtime] Error executing macro: buildNotificationPlanOrResultLink
      required parameter: build is not specified.

      Error executing macro: buildNotificationPlanOrResultLink
      required parameter: build is not specified.
      The problematic instruction:
      ----------
      ==> macro buildNotificationPlanOrResultLink [on line 15, column 1 in notification-templates/htmlIm/notificationCommonsHtmlIm.ftl]
      in user-directive buildNotificationPlanOrResultLink [on line 2, column 64 in notification-templates/htmlIm/BuildQueueTimeoutHtmlIm.ftl]
      ----------

      Java backtrace for programmers:
      ----------
      freemarker.template.TemplateException: Error executing macro: buildNotificationPlanOrResultLink
      required parameter: build is not specified.
      at freemarker.core.Macro$Context.sanityCheck(Macro.java:222)
      at freemarker.core.Macro$Context.runMacro(Macro.java:180)
      at freemarker.core.Environment.visit(Environment.java:603)
      at freemarker.core.UnifiedCall.accept(UnifiedCall.java:118)
      at freemarker.core.Environment.visit(Environment.java:210)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:210)
      at freemarker.core.Environment.process(Environment.java:190)
      at freemarker.template.Template.process(Template.java:289)
      at freemarker.template.Template.process(Template.java:243)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:476)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:427)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:381)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderTemplateToString(BambooFreemarkerManager.java:627)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:347)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:334)
      at com.atlassian.bamboo.notification.buildqueuetimeout.BuildQueueTimeoutNotification.getHtmlImContent(BuildQueueTimeoutNotification.java:187)
      at com.atlassian.bamboo.hipchat.HipchatNotificationTransport.sendNotification(HipchatNotificationTransport.java:75)
      at com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:59)
      at com.atlassian.bamboo.notification.buildqueuetimeout.BuildQueueTimeoutNotificationListener.handleEvent(BuildQueueTimeoutNotificationListener.java:74)
      at com.atlassian.bamboo.notification.buildqueuetimeout.BuildQueueTimeoutNotificationListener.handleEvent(BuildQueueTimeoutNotificationListener.java:18)
      at com.atlassian.bamboo.notification.AbstractNotificationEventListener.handleEvent(AbstractNotificationEventListener.java:140)
      at sun.reflect.GeneratedMethodAccessor588.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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy244.handleEvent(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor588.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.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at org.springframework.orm.hibernate.HibernateInterceptor.invoke(HibernateInterceptor.java:117)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at $Proxy245.handleEvent(Unknown Source)
      at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55)
      at com.atlassian.bamboo.event.spi.EventInvokerRunnable.run(EventInvokerRunnable.java:23)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$2.run(NamedThreadFactory.java:52)
      at java.lang.Thread.run(Thread.java:662)
      2012-11-17 18:35:20,506 ERROR [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-14] [runtime] on line 4, column 10 in notification-templates/htmlIm/BuildQueueTimeoutHtmlIm.ftl showLogUrl not found.

      on line 4, column 10 in notification-templates/htmlIm/BuildQueueTimeoutHtmlIm.ftl showLogUrl not found.
      The problematic instruction:
      ----------
      ==> user-directive showLogUrl [on line 4, column 10 in notification-templates/htmlIm/BuildQueueTimeoutHtmlIm.ftl]
      ----------

      Java backtrace for programmers:
      ----------
      freemarker.core.InvalidReferenceException: on line 4, column 10 in notification-templates/htmlIm/BuildQueueTimeoutHtmlIm.ftl showLogUrl not found.
      at freemarker.core.UnifiedCall.accept(UnifiedCall.java:162)
      at freemarker.core.Environment.visit(Environment.java:210)
      at freemarker.core.MixedContent.accept(MixedContent.java:92)
      at freemarker.core.Environment.visit(Environment.java:210)
      at freemarker.core.Environment.process(Environment.java:190)
      at freemarker.template.Template.process(Template.java:289)
      at freemarker.template.Template.process(Template.java:243)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPageWithNoContext(BambooFreemarkerManager.java:476)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:427)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:381)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderTemplateToString(BambooFreemarkerManager.java:627)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.renderPage(BambooFreemarkerManager.java:347)
      at com.atlassian.bamboo.ww2.BambooFreemarkerManager.render(BambooFreemarkerManager.java:334)
      at com.atlassian.bamboo.notification.buildqueuetimeout.BuildQueueTimeoutNotification.getHtmlImContent(BuildQueueTimeoutNotification.java:187)
      at com.atlassian.bamboo.hipchat.HipchatNotificationTransport.sendNotification(HipchatNotificationTransport.java:75)
      at com.atlassian.bamboo.notification.NotificationDispatcherImpl.dispatchNotifications(NotificationDispatcherImpl.java:59)
      at com.atlassian.bamboo.notification.buildqueuetimeout.BuildQueueTimeoutNotificationListener.handleEvent(BuildQueueTimeoutNotificationListener.java:74)
      at com.atlassian.bamboo.notification.buildqueuetimeout.BuildQueueTimeoutNotificationListener.handleEvent(Build

      Attachments

        Issue Links

          Activity

            People

              mwent Marek Went (Inactive)
              mwent Marek Went (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: