freemarker.template.TemplateModelException: get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl

Atlassian JIRA | Martin Meinhold | 3 years ago
  1. 0

    Found a lot exceptions in JBAC's log this morning: {noformat} 2013-10-03 19:31:33,116 INFO [http-bio-8085-exec-116] [AccessLogFilter] sginter GET http://jira-bamboo.internal.atlassian.com/ajax/viewElasticSnippet.action 1671579kb 2013-10-03 19:31:33,388 INFO [http-bio-8085-exec-116] [InstanceCache] query for a non-existing resource [i-0a520171] 2013-10-03 19:31:33,388 ERROR [http-bio-8085-exec-116] [runtime] get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl The problematic instruction: ---------- ==> assignment: attachedVolumes=instance.attachedVolumes [on line 137, column 13 in admin/elastic/commonElasticFunctions.ftl] in user-directive ela.listElasticInstances [on line 41, column 5 in admin/elastic/elasticSnippet.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl at freemarker.ext.beans.BeanModel.get(BeanModel.java:210) ... stack trace .... Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1797.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:805) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:251) at freemarker.ext.beans.BeanModel.get(BeanModel.java:176) ... 268 more Caused by: Ec2CacheMissException: Status Code: 400, AWS Service: AmazonEC2, AWS Request ID: none, AWS Error Code: InvalidInstanceID.NotFound, AWS Error Message: The resource with ID 'i-0a520171' does not exist {noformat} If this is a valid error case, please handle it appropriately. Thanks

    Atlassian JIRA | 3 years ago | Martin Meinhold
    freemarker.template.TemplateModelException: get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl
  2. 0

    Found a lot exceptions in JBAC's log this morning: {noformat} 2013-10-03 19:31:33,116 INFO [http-bio-8085-exec-116] [AccessLogFilter] sginter GET http://jira-bamboo.internal.atlassian.com/ajax/viewElasticSnippet.action 1671579kb 2013-10-03 19:31:33,388 INFO [http-bio-8085-exec-116] [InstanceCache] query for a non-existing resource [i-0a520171] 2013-10-03 19:31:33,388 ERROR [http-bio-8085-exec-116] [runtime] get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl The problematic instruction: ---------- ==> assignment: attachedVolumes=instance.attachedVolumes [on line 137, column 13 in admin/elastic/commonElasticFunctions.ftl] in user-directive ela.listElasticInstances [on line 41, column 5 in admin/elastic/elasticSnippet.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl at freemarker.ext.beans.BeanModel.get(BeanModel.java:210) ... stack trace .... Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor1797.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:805) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:251) at freemarker.ext.beans.BeanModel.get(BeanModel.java:176) ... 268 more Caused by: Ec2CacheMissException: Status Code: 400, AWS Service: AmazonEC2, AWS Request ID: none, AWS Error Code: InvalidInstanceID.NotFound, AWS Error Message: The resource with ID 'i-0a520171' does not exist {noformat} If this is a valid error case, please handle it appropriately. Thanks

    Atlassian JIRA | 3 years ago | Martin Meinhold
    freemarker.template.TemplateModelException: get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl
  3. 0

    This error is also visible on magnolia website. Please look at http://www.magnolia-cms.com/home/our-company/news/press-releases/old-press-releases/magnolia-4-0-released.html Maybe the affected nested document level is a noticable information for you. The error occurs at 6th document level, so does mine. Is there any need to access the mentioned "extra" object? My personal error stack trace is the following: FreeMarker template error! get(extras) failed on instance of info.magnolia.module.templatingkit.templates.STKTemplateModel The problematic instruction: ---------- ==> list model.extras.column[columnIndex] as extra [on line 17, column 5 in templating-kit/templates/global/extrasArea.ftl] in user-directive extrasColumn [on line 13, column 5 in templating-kit/templates/global/extrasArea.ftl] in include def.extrasArea.template [on line 52, column 25 in templating-kit/templates/main.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(extras) failed on instance of info.magnolia.module.templatingkit.templates.STKTemplateModel at freemarker.ext.beans.BeanModel.get(BeanModel.java:223) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) [...] Caused by: info.magnolia.cms.security.AccessDeniedException: User not allowed to (Add, Set, Read) path [/level1/level2/level3/level4/level5/level6/extras] at info.magnolia.cms.core.Access.isGranted(Access.java:64) at info.magnolia.cms.core.DefaultContent.<init>(DefaultContent.java:156) at info.magnolia.cms.core.DefaultContent.createContent(DefaultContent.java:194) at info.magnolia.cms.util.ContentWrapper.createContent(ContentWrapper.java:188) at info.magnolia.cms.core.AbstractContent.createContent(AbstractContent.java:75) at info.magnolia.cms.util.ContentUtil.getOrCreateContent(ContentUtil.java:195) at info.magnolia.module.templatingkit.templates.ExtrasAreaModel$1.exec(ExtrasAreaModel.java:71) at info.magnolia.module.templatingkit.templates.ExtrasAreaModel$1.exec(ExtrasAreaModel.java:70) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:396) at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:371) at info.magnolia.module.templatingkit.templates.ExtrasAreaModel.<init>(ExtrasAreaModel.java:69) at info.magnolia.module.templatingkit.templates.STKTemplateModel.getExtras(STKTemplateModel.java:148) ... 129 more

    JIRA | 7 years ago | Jules S.
    freemarker.template.TemplateModelException: get(extras) failed on instance of info.magnolia.module.templatingkit.templates.STKTemplateModel
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When trying to do bulk action of svn credentials change, the following NPE error is encountered: {noformat} 2013-01-17 17:03:35,951 INFO [qtp21680077-890] [AccessLogFilter] admin POST http://localhost:8085/bamboo/admin/choosePlansForBulkAction.action 120589kb 2013-01-17 17:04:11,164 ERROR [qtp21680077-890] [runtime] get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository The problematic instruction: ---------- ==> user-directive ww.select [on line 5, column 1 in build/edit/editSvnCredentialsSnippet.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository at freemarker.ext.beans.BeanModel.get(BeanModel.java:210) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) (...) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:805) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:251) at freemarker.ext.beans.BeanModel.get(BeanModel.java:176) ... 306 more Caused by: java.lang.NullPointerException at com.atlassian.bamboo.repository.svn.SvnRepository.getAuthenticationTypes(SvnRepository.java:1760) ... 313 more {noformat}

    Atlassian JIRA | 4 years ago | Piotr Stefan Stefaniak [Atlassian]
    freemarker.template.TemplateModelException: get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository
  6. 0

    When trying to do bulk action of svn credentials change, the following NPE error is encountered: {noformat} 2013-01-17 17:03:35,951 INFO [qtp21680077-890] [AccessLogFilter] admin POST http://localhost:8085/bamboo/admin/choosePlansForBulkAction.action 120589kb 2013-01-17 17:04:11,164 ERROR [qtp21680077-890] [runtime] get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository The problematic instruction: ---------- ==> user-directive ww.select [on line 5, column 1 in build/edit/editSvnCredentialsSnippet.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository at freemarker.ext.beans.BeanModel.get(BeanModel.java:210) at freemarker.core.Dot._getAsTemplateModel(Dot.java:76) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) (...) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:805) at freemarker.ext.beans.BeanModel.invokeThroughDescriptor(BeanModel.java:251) at freemarker.ext.beans.BeanModel.get(BeanModel.java:176) ... 306 more Caused by: java.lang.NullPointerException at com.atlassian.bamboo.repository.svn.SvnRepository.getAuthenticationTypes(SvnRepository.java:1760) ... 313 more {noformat}

    Atlassian JIRA | 4 years ago | Piotr Stefan Stefaniak [Atlassian]
    freemarker.template.TemplateModelException: get(authenticationTypes) failed on instance of com.atlassian.bamboo.repository.svn.SvnRepository

    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.template.TemplateModelException

      get(attachedVolumes) failed on instance of com.atlassian.bamboo.agent.elastic.server.RemoteElasticInstanceImpl

      at freemarker.ext.beans.BeanModel.get()
    2. FreeMarker
      BeanModel.get
      1. freemarker.ext.beans.BeanModel.get(BeanModel.java:210)
      1 frame