freemarker.template.TemplateModelException: Could not find an instance of freemarker.ext.servlet.ServletContextHashModel in the data model under either the name \_\_FreeMarkerServlet.Application\_\_ or Application

freemarker | nobody | 1 decade ago
  1. 0

    JSP taglib problem (FreeMarker/WebWork)

    freemarker | 1 decade ago | nobody
    freemarker.template.TemplateModelException: Could not find an instance of freemarker.ext.servlet.ServletContextHashModel in the data model under either the name \_\_FreeMarkerServlet.Application\_\_ or Application
  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

    Error implementing Jasypt with Hibernate 3 and Struts 2

    Stack Overflow | 6 years ago | codea
    freemarker.template.TemplateModelException: Method public java.lang.String org.apache.commons.lang.exception.NestableRuntimeException.getMessage(int) threw an exception when invoked on org.jasypt.exceptions.EncryptionInitializationException: No string encryptor registered for hibernate with name "strongHibernateEncryptor"
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Liferay stuck at 100% cpu upon restarting

    Stack Overflow | 1 year ago | dipanda
    freemarker.template.TemplateModelException: Method public java.lang.String com.liferay.portlet.assetpublisher.util.AssetPublisherHelperImpl.getAssetViewURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest,com.liferay.portal.kernel.portlet.LiferayPortletResponse,com.liferay.portlet.asset.model.AssetEntry) threw an exception when invoked on com.liferay.portlet.assetpublisher.util.AssetPublisherHelperImpl@3fca83b9
  6. 0

    Service Builder exception using mapping table - Forums | Liferay

    liferay.com | 6 months ago
    freemarker.template.TemplateModelException: Method public java.util.List com.liferay.portal.tools.servicebuilder.ServiceBuilder.getMappingEntities(java.lang.String) throws java.io.IOException threw an exception when invoked on com.liferay.portal.tools.servicebuilder.ServiceBuilder@60a77a79

    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

      Could not find an instance of freemarker.ext.servlet.ServletContextHashModel in the data model under either the name \_\_FreeMarkerServlet.Application\_\_ or Application

      at freemarker.ext.jsp.FreeMarkerPageContext.<init>()
    2. FreeMarker
      FreeMarkerPageContext1.create
      1. freemarker.ext.jsp.FreeMarkerPageContext.<init>(FreeMarkerPageContext.java:123)
      2. freemarker.ext.jsp.FreeMarkerPageContext1.<init>(FreeMarkerPageContext1.java:12)
      3. freemarker.ext.jsp.FreeMarkerPageContext1.create(FreeMarkerPageContext1.java:16)
      3 frames