freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: java.lang.ClassCastException@1801f01

freemarker | *anonymous | 1 decade ago
  1. 0

    using java constants as attribute value

    freemarker | 1 decade ago | *anonymous
    freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: java.lang.ClassCastException@1801f01
  2. 0

    freemarker s.action

    freemarker | 7 years ago | nobody
    freemarker.template.TemplateModelException: java.lang.IllegalArgumentException: argument type mismatch
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 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

    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

      java.lang.IllegalArgumentException: java.lang.ClassCastException@1801f01

      at freemarker.ext.jsp.TagTransformModel.getWriter()
    2. FreeMarker
      FreemarkerServlet.doGet
      1. freemarker.ext.jsp.TagTransformModel.getWriter(TagTransformModel.java:164)
      2. freemarker.template.Environment.visit(Environment.java:203)
      3. freemarker.template.UnifiedCall.accept(UnifiedCall.java:112)
      4. freemarker.template.Environment.visit(Environment.java:179)
      5. freemarker.template.MixedContent.accept(MixedContent.java:91)
      6. freemarker.template.Environment.visit(Environment.java:179)
      7. freemarker.template.Environment.visit(Environment.java:216)
      8. freemarker.template.UnifiedCall.accept(UnifiedCall.java:112)
      9. freemarker.template.Environment.visit(Environment.java:179)
      10. freemarker.template.MixedContent.accept(MixedContent.java:91)
      11. freemarker.template.Environment.visit(Environment.java:179)
      12. freemarker.template.Environment.visit(Environment.java:216)
      13. freemarker.template.UnifiedCall.accept(UnifiedCall.java:112)
      14. freemarker.template.Environment.visit(Environment.java:179)
      15. freemarker.template.MixedContent.accept(MixedContent.java:91)
      16. freemarker.template.Environment.visit(Environment.java:179)
      17. freemarker.template.Environment.process(Environment.java:165)
      18. freemarker.template.Template.process(Template.java:238)
      19. freemarker.ext.servlet.FreemarkerServlet.process(FreemarkerServlet.java:413)
      20. freemarker.ext.servlet.FreemarkerServlet.doGet(FreemarkerServlet.java:359)
      20 frames
    3. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    4. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
      2. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
      3. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
      3 frames
    5. GWT dev
      JspRuntimeLibrary.include
      1. org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
      1 frame