You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2018/11/16 11:01:00 UTC
[jira] [Commented] (OAK-7906) StackOverFlowError
SessionStatsTest.testInitStackTraceEnabledAfterOpeningManySessions with
jdk-12
[ https://issues.apache.org/jira/browse/OAK-7906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689289#comment-16689289 ]
Julian Reschke commented on OAK-7906:
-------------------------------------
sample stack:
{noformat}
[ERROR] testTransientRemoveUUIDSameTree(org.apache.jackrabbit.oak.jcr.xml.ImportTest) Time elapsed: 0.27 s <<< ERROR!
java.lang.StackOverflowError
at java.base/java.net.URLStreamHandler.parseURL(URLStreamHandler.java:312)
at java.base/sun.net.www.protocol.file.Handler.parseURL(Handler.java:67)
at java.base/java.net.URL.<init>(URL.java:656)
at java.base/java.net.URL.<init>(URL.java:523)
at java.base/jdk.internal.loader.URLClassPath$FileLoader.getResource(URLClassPath.java:1176)
at java.base/jdk.internal.loader.URLClassPath$FileLoader.findResource(URLClassPath.java:1165)
at java.base/jdk.internal.loader.URLClassPath$1.next(URLClassPath.java:341)
at java.base/jdk.internal.loader.URLClassPath$1.hasMoreElements(URLClassPath.java:351)
at java.base/jdk.internal.loader.BuiltinClassLoader$1.hasNext(BuiltinClassLoader.java:357)
at java.base/jdk.internal.loader.BuiltinClassLoader$1.hasMoreElements(BuiltinClassLoader.java:365)
at java.base/java.lang.CompoundEnumeration.next(ClassLoader.java:3022)
at java.base/java.lang.CompoundEnumeration.hasMoreElements(ClassLoader.java:3031)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.nextProviderClass(ServiceLoader.java:1203)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNextService(ServiceLoader.java:1221)
at java.base/java.util.ServiceLoader$LazyClassPathLookupIterator.hasNext(ServiceLoader.java:1265)
at java.base/java.util.ServiceLoader$2.hasNext(ServiceLoader.java:1300)
at java.base/java.util.ServiceLoader$3.hasNext(ServiceLoader.java:1385)
at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:691)
at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)
at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:688)
at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663)
at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:574)
at org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:163)
at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule$1.run(AbstractLoginModule.java:397)
at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule$1.run(AbstractLoginModule.java:394)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:688)
at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule.getRoot(AbstractLoginModule.java:394)
at org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl.getUserAuthentication(LoginModuleImpl.java:246)
at org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl.login(LoginModuleImpl.java:125)
at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:726)
at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)
at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:688)
at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663)
at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:574)
at org.apache.jackrabbit.oak.core.ContentRepositoryImpl.login(ContentRepositoryImpl.java:163)
at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule$1.run(AbstractLoginModule.java:397)
at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule$1.run(AbstractLoginModule.java:394)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:688)
at java.base/javax.security.auth.Subject.doAs(Subject.java:423)
at org.apache.jackrabbit.oak.spi.security.authentication.AbstractLoginModule.getRoot(AbstractLoginModule.java:394)
at org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl.getUserAuthentication(LoginModuleImpl.java:246)
at org.apache.jackrabbit.oak.security.authentication.user.LoginModuleImpl.login(LoginModuleImpl.java:125)
{noformat}
> StackOverFlowError SessionStatsTest.testInitStackTraceEnabledAfterOpeningManySessions with jdk-12
> -------------------------------------------------------------------------------------------------
>
> Key: OAK-7906
> URL: https://issues.apache.org/jira/browse/OAK-7906
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Affects Versions: 1.9.11
> Reporter: Julian Reschke
> Priority: Major
> Labels: Java12
>
> Happens with version 20 (2018/11/15).
> It appears that the StackOverflowError happens when obtaining many sessions.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)