<div dir="ltr"><div><div>Hi Pavol,<br><br></div>Thanks to your suggestion, we were able to pinpoint the problem. <br>There was an experimental AssignmentType extension that we forgot was there. There, we defined a attribute "parentAssignment", also of AssignmentType.<br>ContainerWrapperFactory entered an infinite loop, even though the value of the attribute is null. But that never happened in 3.6.<br></div><div>Excluding the extension fixed the problem.<br></div><div><br>2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE (com.evolveum.midpoint.web.<wbr>component.prism.<wbr>ContainerWrapperFactory): Creating wrapper for PPD:{.../common/common-3}<wbr>description {xsd:}string[0,1],RAM<br>2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE (com.evolveum.midpoint.web.<wbr>component.prism.<wbr>ContainerWrapperFactory): Creating wrapper for PCD:{.../common/common-3}<wbr>extension {<a href="http://example.com/xml/ns/mySchema%7DAssignmentExtensionType%5B0,1%5D,dyn,RAM,runtime" target="_blank">http://example.com/xml/ns/<wbr>mySchema}<wbr>AssignmentExtensionType[0,1],<wbr>dyn,RAM,runtime</a><br>2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE (com.evolveum.midpoint.web.<wbr>component.prism.<wbr>ContainerWrapperFactory): Creating wrapper for PCD:{<a href="http://example.com/xml/ns/mySchema%7DparentAssignment" target="_blank">http://example.com/xml/<wbr>ns/mySchema}parentAssignment</a> {.../common/common-3}<wbr>AssignmentType[0,1],RAM,<wbr>runtime<br>2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE (com.evolveum.midpoint.web.<wbr>component.prism.<wbr>ContainerWrapperFactory): Creating wrapper for PPD:{.../common/common-3}<wbr>description {xsd:}string[0,1],RAM<br>2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE (com.evolveum.midpoint.web.<wbr>component.prism.<wbr>ContainerWrapperFactory): Creating wrapper for PCD:{.../common/common-3}<wbr>extension {<a href="http://example.com/xml/ns/mySchema%7DAssignmentExtensionType%5B0,1%5D,dyn,RAM,runtime" target="_blank">http://example.com/xml/ns/<wbr>mySchema}<wbr>AssignmentExtensionType[0,1],<wbr>dyn,RAM,runtime</a><br>2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE (com.evolveum.midpoint.web.<wbr>component.prism.<wbr>ContainerWrapperFactory): Creating wrapper for PCD:{<a href="http://example.com/xml/ns/mySchema%7DparentAssignment" target="_blank">http://example.com/xml/<wbr>ns/mySchema}parentAssignment</a> {.../common/common-3}<wbr>AssignmentType[0,1],RAM,<wbr>runtime<br>2018-02-07 14:18:45,914 [] [http-nio-8080-exec-5] ERROR (com.evolveum.midpoint.web.<wbr>util.<wbr>MidPointProfilingServletFilter<wbr>): Encountered exception: javax.servlet.<wbr>ServletException: Filter execution threw an exception<br>javax.servlet.<wbr>ServletException: Filter execution threw an exception<br>        at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>internalDoFilter(<wbr>ApplicationFilterChain.java:<wbr>200)<br>        at org.apache.catalina.core.<wbr>ApplicationFilterChain.<wbr>doFilter(<wbr>ApplicationFilterChain.java:<wbr>166)<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-07 8:54 GMT-02:00 Pavol Mederly <span dir="ltr"><<a href="mailto:mederly@evolveum.com" target="_blank">mederly@evolveum.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hello Alcides Carlos,</p>
    <p>I am not sure. 32m should be really enough. Having looked at the
      source code and your stack trace, it seems that the problem is in
      ContainerWrapperFactory class. I do not know if there is a real
      call cycle, or just not enough stack space. You could enable TRACE
      logging for <b>com.evolveum.midpoint.web.comp<wbr>onent.prism.ContainerWrapperFa<wbr>ctory</b>
      and post here the log. It should contain a lot of entries like</p>
    <p>Creating wrapper for ...</p>
    <p>just before the stack overflow exception. Maybe that would
      provide people here with a hint.<br>
    </p>
    <pre class="m_-3403518862912727743m_-8178783108762223169moz-signature" cols="72">Pavol Mederly
Software developer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre><div><div class="m_-3403518862912727743h5">
    <div class="m_-3403518862912727743m_-8178783108762223169moz-cite-prefix">On 06.02.2018 19:50, Alcides Carlos de
      Moraes Neto wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="m_-3403518862912727743h5">
      <div dir="ltr">BTW, we're running from Docker, over openjdk:8-jre<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2018-02-06 16:29 GMT-02:00 Alcides
          Carlos de Moraes Neto <span dir="ltr"><<a href="mailto:alcides.neto@gmail.com" target="_blank">alcides.neto@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div>
                <div>
                  <div>Hello list,<br>
                    <br>
                  </div>
                  We have just upgraded our development server from 3.6
                  to 3.7.<br>
                </div>
                <div>We're running the standalone deployment, not
                  Tomcat.<br>
                </div>
                We're getting StackOverflowErrors when trying to detail
                Users and Roles, using the administrator account. Right
                now the system is unusable. Any hints?<br>
                <br>
              </div>
              <div>-Xss32m does not resolve the issue, it just takes
                longer to happen.<br>
              </div>
              <div><br>
              </div>
              Stack trace:<br>
              <br>
              <a href="https://pastebin.com/zBaSrkCM" target="_blank">https://pastebin.com/zBaSrkCM</a><br>
              <br>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="m_-3403518862912727743m_-8178783108762223169mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
midPoint mailing list
<a class="m_-3403518862912727743m_-8178783108762223169moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a class="m_-3403518862912727743m_-8178783108762223169moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mail<wbr>man/listinfo/midpoint</a><br>
<br></blockquote></div><br></div></div>