[midPoint] StackOverflowError, upgraded to 3.7 from 3.6

Alcides Carlos de Moraes Neto alcides.neto at gmail.com
Wed Feb 7 17:04:42 CET 2018


Hi Pavol,

Thanks to your suggestion, we were able to pinpoint the problem.
There was an experimental AssignmentType extension that we forgot was
there. There, we defined a attribute "parentAssignment", also of
AssignmentType.
ContainerWrapperFactory entered an infinite loop, even though the value of
the attribute is null. But that never happened in 3.6.
Excluding the extension fixed the problem.

2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE
(com.evolveum.midpoint.web.component.prism.ContainerWrapperFactory):
Creating wrapper for PPD:{.../common/common-3}description
{xsd:}string[0,1],RAM
2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE
(com.evolveum.midpoint.web.component.prism.ContainerWrapperFactory):
Creating wrapper for PCD:{.../common/common-3}extension {
http://example.com/xml/ns/mySchema}AssignmentExtensionType[0,1],
dyn,RAM,runtime
2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE
(com.evolveum.midpoint.web.component.prism.ContainerWrapperFactory):
Creating wrapper for PCD:{http://example.com/xml/
ns/mySchema}parentAssignment {.../common/common-3}AssignmentType[0,1],RAM,
runtime
2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE
(com.evolveum.midpoint.web.component.prism.ContainerWrapperFactory):
Creating wrapper for PPD:{.../common/common-3}description
{xsd:}string[0,1],RAM
2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE
(com.evolveum.midpoint.web.component.prism.ContainerWrapperFactory):
Creating wrapper for PCD:{.../common/common-3}extension {
http://example.com/xml/ns/mySchema}AssignmentExtensionType[0,1],
dyn,RAM,runtime
2018-02-07 14:18:45,838 [] [http-nio-8080-exec-5] TRACE
(com.evolveum.midpoint.web.component.prism.ContainerWrapperFactory):
Creating wrapper for PCD:{http://example.com/xml/
ns/mySchema}parentAssignment {.../common/common-3}AssignmentType[0,1],RAM,
runtime
2018-02-07 14:18:45,914 [] [http-nio-8080-exec-5] ERROR
(com.evolveum.midpoint.web.util.MidPointProfilingServletFilter):
Encountered exception: javax.servlet.ServletException: Filter execution
threw an exception
javax.servlet.ServletException: Filter execution threw an exception
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:200)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:166)

2018-02-07 8:54 GMT-02:00 Pavol Mederly <mederly at evolveum.com>:

> Hello Alcides Carlos,
>
> 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
> *com.evolveum.midpoint.web.component.prism.ContainerWrapperFactory* and
> post here the log. It should contain a lot of entries like
>
> Creating wrapper for ...
>
> just before the stack overflow exception. Maybe that would provide people
> here with a hint.
>
> Pavol Mederly
> Software developerevolveum.com
>
> On 06.02.2018 19:50, Alcides Carlos de Moraes Neto wrote:
>
> BTW, we're running from Docker, over openjdk:8-jre
>
> 2018-02-06 16:29 GMT-02:00 Alcides Carlos de Moraes Neto <
> alcides.neto at gmail.com>:
>
>> Hello list,
>>
>> We have just upgraded our development server from 3.6 to 3.7.
>> We're running the standalone deployment, not Tomcat.
>> We're getting StackOverflowErrors when trying to detail Users and Roles,
>> using the administrator account. Right now the system is unusable. Any
>> hints?
>>
>> -Xss32m does not resolve the issue, it just takes longer to happen.
>>
>> Stack trace:
>>
>> https://pastebin.com/zBaSrkCM
>>
>>
>>
>
>
> _______________________________________________
> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180207/0be2999b/attachment.htm>


More information about the midPoint mailing list