Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.0
    • Fix Version/s: 5.0.0
    • Component/s: Core
    • Labels:
    • Sprint:
      OpenIG Sprint 95 (bugfixing 2)

      Description

      With Tomcat 8.5.6 configured with SSL, and then accessing a route in IG deployed in this Tomcat with the CaptureDecorated enabled on this route and configured to capture the context, I got (not every time) that kind of error due to infinite loop :

              at org.codehaus.groovy.reflection.ClassInfo.getClassInfo(ClassInfo.java:119)
              at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:261)
              at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:877)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.getMetaPropertyValues(DefaultGroovyMethods.java:365)
              at org.codehaus.groovy.runtime.DefaultGroovyMethods.getProperties(DefaultGroovyMethods.java:384)
              at groovy.json.JsonOutput.getObjectProperties(JsonOutput.java:327)
              at groovy.json.JsonOutput.writeObject(JsonOutput.java:320)
              at groovy.json.JsonOutput.writeMap(JsonOutput.java:458)
              at groovy.json.JsonOutput.writeObject(JsonOutput.java:321)
      

      or

      17:59:07:438 | ERROR | https-jsse-nio-8445-exec-5 | o.f.h.s.HttpFrameworkServlet | Throwable caught
      java.lang.StackOverflowError: null
              at java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:366)
              at java.util.LinkedHashMap$LinkedHashIterator.<init>(LinkedHashMap.java:366)
              at java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412)
              at java.util.LinkedHashMap$EntryIterator.<init>(LinkedHashMap.java:412)
              at java.util.LinkedHashMap.newEntryIterator(LinkedHashMap.java:419)
              at java.util.HashMap$EntrySet.iterator(HashMap.java:1078)
              at groovy.json.JsonOutput.writeMap(JsonOutput.java:446)
              at groovy.json.JsonOutput.writeObject(JsonOutput.java:321)

      After investigations, it seems it is due to the object attached to the key javax.servlet.request.ssl_session_mgr (the mapped object is an instance of the class org.apache.tomcat.util.net.jsse.JSSESupport ).

        Attachments

          Activity

            People

            • Assignee:
              laurent.vaills Laurent Vaills
              Reporter:
              laurent.vaills Laurent Vaills
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: