-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
7.1.2.GA
-
None
StackOverflow when doing jndi lookup:
jndiProperties.put(Context.INITIAL_CONTEXT_FACTORY, "org.wildfly.naming.client.WildFlyInitialContextFactory"); jndiProperties.put(Context.PROVIDER_URL, "remote+http://localhost:8080"); final Context context = new InitialContext(jndiProperties);
Exception in thread "main" java.lang.StackOverflowError at java.lang.StringBuffer.append(StringBuffer.java:270) at java.net.URI.appendAuthority(URI.java:1835) at java.net.URI.appendSchemeSpecificPart(URI.java:1909) at java.net.URI.toString(URI.java:1941) at java.net.URI.<init>(URI.java:669) at org.jboss.remoting3.EndpointImpl.doGetConnection(EndpointImpl.java:466) at org.jboss.remoting3.EndpointImpl.getConnectedIdentity(EndpointImpl.java:433) at org.jboss.remoting3.UncloseableEndpoint.getConnectedIdentity(UncloseableEndpoint.java:51) at org.wildfly.naming.client.remote.RemoteNamingProvider.getFuturePeerIdentityPrivileged(RemoteNamingProvider.java:151) at org.wildfly.naming.client.remote.RemoteNamingProvider.lambda$getFuturePeerIdentity$0(RemoteNamingProvider.java:138) at java.security.AccessController.doPrivileged(Native Method) at org.wildfly.naming.client.remote.RemoteNamingProvider.getFuturePeerIdentity(RemoteNamingProvider.java:138) at org.wildfly.naming.client.remote.RemoteNamingProvider.getPeerIdentity(RemoteNamingProvider.java:126) at org.wildfly.naming.client.remote.RemoteNamingProvider.getPeerIdentityForNaming(RemoteNamingProvider.java:106) at org.wildfly.naming.client.remote.RemoteNamingProvider.getPeerIdentityForNaming(RemoteNamingProvider.java:53)
workaround: https://github.com/dmlloyd/wildfly-naming-client/commit/decompose
- is cloned by
-
JBEAP-14829 [GSS](7.1.z) Decompose all absolute names to avoid infinite recursion
- Closed