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

Atlassian JIRA | Martin Meinhold | 3 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

    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

    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