MMBase

reuse of sub context results in stack-overflow exceptions

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8.6
  • Fix Version/s: 1.8.7
  • Component/s: Taglib
  • Description:
    Hide
      <mm:context id="a" scope="request">
            <mm:import id="c">C</mm:import>
            <mm:context id="b" />
          </mm:context>

          <mm:context referid="a" scope="request">
            <mm:context referid="b" />
            <mm:write referid="c" />
          </mm:context>


    results:
    ava.lang.StackOverflowError
    org.mmbase.bridge.jsp.taglib.util.BasicBacking$1.iterator(BasicBacking.java:116)
    java.util.AbstractMap.containsKey(AbstractMap.java:123)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:258)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)
    org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)

    Show
      <mm:context id="a" scope="request">         <mm:import id="c">C</mm:import>         <mm:context id="b" />       </mm:context>       <mm:context referid="a" scope="request">         <mm:context referid="b" />         <mm:write referid="c" />       </mm:context> results: ava.lang.StackOverflowError org.mmbase.bridge.jsp.taglib.util.BasicBacking$1.iterator(BasicBacking.java:116) java.util.AbstractMap.containsKey(AbstractMap.java:123) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:258) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260) org.mmbase.bridge.jsp.taglib.util.ContextContainer.simpleContainsKey(ContextContainer.java:260)

Activity

People

Dates

  • Created:
    2008-10-07 11:34
    Updated:
    2008-10-07 12:40
    Resolved:
    2008-10-07 12:40