java.lang.StackOverflowError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When executing Spring-Javascript calls, I'm receiving a StackOverflowError: java.lang.StackOverflowError at java.util.HashMap.put(HashMap.java:372) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:126) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) [...] This is my tiles definition: <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" "http://tiles.apache.org/dtds/tiles-config_2_0.dtd"> <tiles-definitions> <definition name="abstractDefinition"> <put-attribute name="notnull" value="notnull" /> <put-attribute name="bodyOnLoad" value="" /> </definition> <!-- The minimized layout for users which aren't logged in --> <definition name="simplePageLayout" extends="abstractDefinition" template="/WEB-INF/jsp/views/simplePageLayout.jsp"> <put-attribute name="viewId" type="string" value="not defined!!"/> <put-attribute name="header" value="/WEB-INF/jsp/fragments/header.jsp"/> <put-attribute name="content" value=""/> <put-attribute name="footer" value="/WEB-INF/jsp/fragments/footer.jsp"/> <put-list-attribute name="cssDefinitions"> <add-attribute type="string" value="/stylesheets/design.css"/> </put-list-attribute> <put-list-attribute name="javascripts"> <add-attribute type="string" value="/resources/spring/Spring.js"/> <add-attribute type="string" value="/resources/spring/Spring-Dojo.js"/> <add-attribute type="string" value="/js/jquery.js"/> <add-attribute type="string" value="/js/custom.js"/> </put-list-attribute> </definition> <!-- The default page layout which is extended for each view --> <definition name="defaultPageLayout" extends="abstractDefinition" template="/WEB-INF/jsp/views/defaultPageLayout.jsp"> <put-attribute name="viewId" type="string" value="not defined!!"/> <put-attribute name="header" value="/WEB-INF/jsp/fragments/header.jsp"/> <put-attribute name="leftColumn" value="leftColumn"/> <put-attribute name="breadcrumb" value=""/> <put-attribute name="content" value=""/> <put-attribute name="rightColumn" value="rightColumn" /> <put-attribute name="footer" value="/WEB-INF/jsp/fragments/footer.jsp"/> <put-list-attribute name="cssDefinitions"> <add-attribute type="string" value="/resources/dijit/themes/dijit.css"/> <add-attribute type="string" value="/stylesheets/design.css"/> </put-list-attribute> <put-list-attribute name="javascripts"> <add-attribute type="string" value="/resources/spring/Spring.js"/> <add-attribute type="string" value="/resources/spring/Spring-Dojo.js"/> <add-attribute type="string" value="/js/jquery.js"/> <add-attribute type="string" value="/js/custom.js"/> </put-list-attribute> </definition> <!-- Fragments --> <definition name="leftColumn" extends="abstractDefinition" template="/WEB-INF/jsp/fragments/leftColumn.jsp"> </definition> <definition name="rightColumn" extends="abstractDefinition" template="/WEB-INF/jsp/fragments/rightColumn.jsp"> <put-attribute name="welcome" value="/WEB-INF/jsp/fragments/welcome.jsp"/> <put-attribute name="jobData" value="/WEB-INF/jsp/fragments/jobData.jsp"/> <put-attribute name="userActions" value="/WEB-INF/jsp/fragments/userActions.jsp"/> <put-attribute name="shoppingCart" value="/WEB-INF/jsp/fragments/shoppingCart.jsp"/> </definition> <!-- Views --> <definition name="securityTest" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="securityTest"/> <put-attribute name="title" type="string" value="AXI - Login" /> <put-attribute name="content" value="/WEB-INF/jsp/views/securityTest.jsp" /> </definition> <definition name="login" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="login"/> <!-- put-attribute name="bodyOnLoad" value="onload='autologinFunction()'" / --> <put-attribute name="title" type="string" value="AXI - Login" /> <put-attribute name="content" value="/WEB-INF/jsp/views/login.jsp" /> </definition> <definition name="accountSelection" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="accountSelection"/> <!-- put-attribute name="bodyOnLoad" value="onload='autologinFunction()'" / --> <put-attribute name="title" type="string" value="AXI - Select your account" /> <put-attribute name="content" value="/WEB-INF/jsp/views/accountSelection.jsp" /> </definition> <definition name="logout" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="logout"/> <put-attribute name="title" type="string" value="AXI - Logout" /> <put-attribute name="content" value="/WEB-INF/jsp/views/logout.jsp" /> </definition> <definition name="home" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="home"/> <put-attribute name="title" type="string" value="AXI Home." /> <put-attribute name="content" value="/WEB-INF/jsp/views/home.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="productOverview" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="productOverview"/> <put-attribute name="title" type="string" value="This is productOverview" /> <put-attribute name="content" value="/WEB-INF/jsp/views/productOverview.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="serviceOverview" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="serviceOverview"/> <put-attribute name="title" type="string" value="This is productOverview" /> <put-attribute name="content" value="/WEB-INF/jsp/views/serviceOverview.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="cart" extends="defaultPageLayout"> <put-attribute name="title" type="string" value="This is the shopping cart"/> <put-attribute name="content" value="/WEB-INF/jsp/views/cart.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="searchResult" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="searchResult"/> <put-attribute name="title" type="string" value="Suchergebnis" /> <put-attribute name="content" value="/WEB-INF/jsp/views/searchResult.jsp" /> <put-attribute name="breadcrumb" value="" /> </definition> </tiles-definitions> Can you reproduce this error?
    via by Christian Stangier,
  • When executing Spring-Javascript calls, I'm receiving a StackOverflowError: java.lang.StackOverflowError at java.util.HashMap.put(HashMap.java:372) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:126) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) [...] This is my tiles definition: <!DOCTYPE tiles-definitions PUBLIC "-//Apache Software Foundation//DTD Tiles Configuration 2.0//EN" "http://tiles.apache.org/dtds/tiles-config_2_0.dtd"> <tiles-definitions> <definition name="abstractDefinition"> <put-attribute name="notnull" value="notnull" /> <put-attribute name="bodyOnLoad" value="" /> </definition> <!-- The minimized layout for users which aren't logged in --> <definition name="simplePageLayout" extends="abstractDefinition" template="/WEB-INF/jsp/views/simplePageLayout.jsp"> <put-attribute name="viewId" type="string" value="not defined!!"/> <put-attribute name="header" value="/WEB-INF/jsp/fragments/header.jsp"/> <put-attribute name="content" value=""/> <put-attribute name="footer" value="/WEB-INF/jsp/fragments/footer.jsp"/> <put-list-attribute name="cssDefinitions"> <add-attribute type="string" value="/stylesheets/design.css"/> </put-list-attribute> <put-list-attribute name="javascripts"> <add-attribute type="string" value="/resources/spring/Spring.js"/> <add-attribute type="string" value="/resources/spring/Spring-Dojo.js"/> <add-attribute type="string" value="/js/jquery.js"/> <add-attribute type="string" value="/js/custom.js"/> </put-list-attribute> </definition> <!-- The default page layout which is extended for each view --> <definition name="defaultPageLayout" extends="abstractDefinition" template="/WEB-INF/jsp/views/defaultPageLayout.jsp"> <put-attribute name="viewId" type="string" value="not defined!!"/> <put-attribute name="header" value="/WEB-INF/jsp/fragments/header.jsp"/> <put-attribute name="leftColumn" value="leftColumn"/> <put-attribute name="breadcrumb" value=""/> <put-attribute name="content" value=""/> <put-attribute name="rightColumn" value="rightColumn" /> <put-attribute name="footer" value="/WEB-INF/jsp/fragments/footer.jsp"/> <put-list-attribute name="cssDefinitions"> <add-attribute type="string" value="/resources/dijit/themes/dijit.css"/> <add-attribute type="string" value="/stylesheets/design.css"/> </put-list-attribute> <put-list-attribute name="javascripts"> <add-attribute type="string" value="/resources/spring/Spring.js"/> <add-attribute type="string" value="/resources/spring/Spring-Dojo.js"/> <add-attribute type="string" value="/js/jquery.js"/> <add-attribute type="string" value="/js/custom.js"/> </put-list-attribute> </definition> <!-- Fragments --> <definition name="leftColumn" extends="abstractDefinition" template="/WEB-INF/jsp/fragments/leftColumn.jsp"> </definition> <definition name="rightColumn" extends="abstractDefinition" template="/WEB-INF/jsp/fragments/rightColumn.jsp"> <put-attribute name="welcome" value="/WEB-INF/jsp/fragments/welcome.jsp"/> <put-attribute name="jobData" value="/WEB-INF/jsp/fragments/jobData.jsp"/> <put-attribute name="userActions" value="/WEB-INF/jsp/fragments/userActions.jsp"/> <put-attribute name="shoppingCart" value="/WEB-INF/jsp/fragments/shoppingCart.jsp"/> </definition> <!-- Views --> <definition name="securityTest" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="securityTest"/> <put-attribute name="title" type="string" value="AXI - Login" /> <put-attribute name="content" value="/WEB-INF/jsp/views/securityTest.jsp" /> </definition> <definition name="login" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="login"/> <!-- put-attribute name="bodyOnLoad" value="onload='autologinFunction()'" / --> <put-attribute name="title" type="string" value="AXI - Login" /> <put-attribute name="content" value="/WEB-INF/jsp/views/login.jsp" /> </definition> <definition name="accountSelection" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="accountSelection"/> <!-- put-attribute name="bodyOnLoad" value="onload='autologinFunction()'" / --> <put-attribute name="title" type="string" value="AXI - Select your account" /> <put-attribute name="content" value="/WEB-INF/jsp/views/accountSelection.jsp" /> </definition> <definition name="logout" extends="simplePageLayout"> <put-attribute name="viewId" type="string" value="logout"/> <put-attribute name="title" type="string" value="AXI - Logout" /> <put-attribute name="content" value="/WEB-INF/jsp/views/logout.jsp" /> </definition> <definition name="home" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="home"/> <put-attribute name="title" type="string" value="AXI Home." /> <put-attribute name="content" value="/WEB-INF/jsp/views/home.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="productOverview" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="productOverview"/> <put-attribute name="title" type="string" value="This is productOverview" /> <put-attribute name="content" value="/WEB-INF/jsp/views/productOverview.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="serviceOverview" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="serviceOverview"/> <put-attribute name="title" type="string" value="This is productOverview" /> <put-attribute name="content" value="/WEB-INF/jsp/views/serviceOverview.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="cart" extends="defaultPageLayout"> <put-attribute name="title" type="string" value="This is the shopping cart"/> <put-attribute name="content" value="/WEB-INF/jsp/views/cart.jsp" /> <put-attribute name="breadcrumb" value="/WEB-INF/jsp/fragments/breadcrumb.jsp"/> </definition> <definition name="searchResult" extends="defaultPageLayout"> <put-attribute name="viewId" type="string" value="searchResult"/> <put-attribute name="title" type="string" value="Suchergebnis" /> <put-attribute name="content" value="/WEB-INF/jsp/views/searchResult.jsp" /> <put-attribute name="breadcrumb" value="" /> </definition> </tiles-definitions> Can you reproduce this error?
    via by Christian Stangier,
  • GitHub comment 42#53285124
    via GitHub by aivanyuk
    ,
  • GitHub comment 9#70072200
    via GitHub by wanghaisheng
    ,
  • GitHub comment 135#167906788
    via GitHub by ifullgaz
    ,
  • Morphium query construction
    via Stack Overflow by Nilesh
    ,
  • GitHub comment 6003#186690655
    via GitHub by jvasileff
    ,
    • java.lang.StackOverflowError at java.util.HashMap.put(HashMap.java:372) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:126) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128) at org.springframework.js.ajax.tiles2.AjaxTilesView.flattenAttributeMap(AjaxTilesView.java:128)

    Users with the same issue

    musketyr
    musketyr2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,