[ https://issues.apache.org/jira/browse/SLING-12431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joerg Hoh updated SLING-12431: ------------------------------ Description: {noformat} [FelixLogListener] Events.Framework.org.apache.sling.servlets.resolver FrameworkEvent ERROR (java.lang.StackOverflowError) java.lang.StackOverflowError: null at java.base/java.util.HashSet.iterator(HashSet.java:173) at java.base/java.util.AbstractSet.hashCode(AbstractSet.java:120) at java.base/java.util.Arrays.hashCode(Arrays.java:4685) at java.base/java.util.Objects.hash(Objects.java:146) at org.apache.sling.servlets.resolver.internal.bundle.BundledRenderUnitCapabilityImpl.hashCode(BundledRenderUnitCapabilityImpl.java:115) [org.apache.sling.servlets.resolver:2.11.2] at java.base/java.util.Arrays.hashCode(Arrays.java:4685) at java.base/java.util.Objects.hash(Objects.java:146) at org.apache.sling.servlets.resolver.internal.bundle.TypeProviderImpl.hashCode(TypeProviderImpl.java:53) [org.apache.sling.servlets.resolver:2.11.2] at java.base/java.util.HashMap.hash(HashMap.java:340) at java.base/java.util.HashMap.put(HashMap.java:608) at java.base/java.util.HashSet.add(HashSet.java:220) at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:678) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] [...] org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] {noformat} Unfortunately I don't have the entire call trace here, but we should have a way to prevent that StackOverflow. was: {noformat} [FelixLogListener] Events.Framework.org.apache.sling.servlets.resolver FrameworkEvent ERROR (java.lang.StackOverflowError) java.lang.StackOverflowError: null at java.base/java.util.HashSet.iterator(HashSet.java:173) at java.base/java.util.AbstractSet.hashCode(AbstractSet.java:120) at java.base/java.util.Arrays.hashCode(Arrays.java:4685) at java.base/java.util.Objects.hash(Objects.java:146) at org.apache.sling.servlets.resolver.internal.bundle.BundledRenderUnitCapabilityImpl.hashCode(BundledRenderUnitCapabilityImpl.java:115) [org.apache.sling.servlets.resolver:2.11.2] at java.base/java.util.Arrays.hashCode(Arrays.java:4685) at java.base/java.util.Objects.hash(Objects.java:146) at org.apache.sling.servlets.resolver.internal.bundle.TypeProviderImpl.hashCode(TypeProviderImpl.java:53) [org.apache.sling.servlets.resolver:2.11.2] at java.base/java.util.HashMap.hash(HashMap.java:340) at java.base/java.util.HashMap.put(HashMap.java:608) at java.base/java.util.HashSet.add(HashSet.java:220) at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:678) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] at org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) [org.apache.sling.servlets.resolver:2.11.2] [...] {noformat} Unfortunately I don't have the entire call trace here, but we should have a way to prevent that StackOverflow. > [BundledScriptTracker] StackOverflow / endless recursion > -------------------------------------------------------- > > Key: SLING-12431 > URL: https://issues.apache.org/jira/browse/SLING-12431 > Project: Sling > Issue Type: Bug > Components: Scripting > Affects Versions: Servlets Resolver 2.11.2 > Reporter: Joerg Hoh > Priority: Major > > {noformat} > [FelixLogListener] Events.Framework.org.apache.sling.servlets.resolver > FrameworkEvent ERROR (java.lang.StackOverflowError) > java.lang.StackOverflowError: null > at java.base/java.util.HashSet.iterator(HashSet.java:173) > at java.base/java.util.AbstractSet.hashCode(AbstractSet.java:120) > at java.base/java.util.Arrays.hashCode(Arrays.java:4685) > at java.base/java.util.Objects.hash(Objects.java:146) > at > org.apache.sling.servlets.resolver.internal.bundle.BundledRenderUnitCapabilityImpl.hashCode(BundledRenderUnitCapabilityImpl.java:115) > [org.apache.sling.servlets.resolver:2.11.2] > at java.base/java.util.Arrays.hashCode(Arrays.java:4685) > at java.base/java.util.Objects.hash(Objects.java:146) > at > org.apache.sling.servlets.resolver.internal.bundle.TypeProviderImpl.hashCode(TypeProviderImpl.java:53) > [org.apache.sling.servlets.resolver:2.11.2] > at java.base/java.util.HashMap.hash(HashMap.java:340) > at java.base/java.util.HashMap.put(HashMap.java:608) > at java.base/java.util.HashSet.add(HashSet.java:220) > at > org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:678) > [org.apache.sling.servlets.resolver:2.11.2] > at > org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) > [org.apache.sling.servlets.resolver:2.11.2] > at > org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) > [org.apache.sling.servlets.resolver:2.11.2] > at > org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) > [org.apache.sling.servlets.resolver:2.11.2] > [...] > org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) > [org.apache.sling.servlets.resolver:2.11.2] > at > org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) > [org.apache.sling.servlets.resolver:2.11.2] > at > org.apache.sling.servlets.resolver.internal.bundle.BundledScriptTracker.collectInheritanceChain(BundledScriptTracker.java:681) > [org.apache.sling.servlets.resolver:2.11.2] > {noformat} > Unfortunately I don't have the entire call trace here, but we should have a > way to prevent that StackOverflow. -- This message was sent by Atlassian Jira (v8.20.10#820010)