-
Bug
-
Resolution: Done
-
Blocker
-
7.1.0.DR15
-
None
remote.connections=default remote.connection.default.host=127.0.0.1 remote.connection.default.port=8080
EJB client using this jboss-ejb-client.properties should be able to invoke beans using LOCAL auth, but instead, a NPE is thrown:
Exception in thread "main" java.lang.ExceptionInInitializerError at org.wildfly.security.auth.client.AuthenticationContext.lambda$static$0(AuthenticationContext.java:49) at org.wildfly.common.context.ContextManager.getPrivileged(ContextManager.java:282) at org.wildfly.security.auth.client.AuthenticationContext.captureCurrent(AuthenticationContext.java:81) at org.jboss.remoting3.Endpoint.getConnection(Endpoint.java:125) at org.jboss.ejb.client.legacy.RemotingLegacyConfiguration.getConfiguredEndpoint(RemotingLegacyConfiguration.java:80) at org.jboss.remoting3.ConfigurationEndpointSupplier.lambda$static$0(ConfigurationEndpointSupplier.java:61) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.remoting3.ConfigurationEndpointSupplier.<clinit>(ConfigurationEndpointSupplier.java:48) at org.wildfly.common.context.ContextManager.setGlobalDefaultSupplierIfNotSet(ContextManager.java:113) at org.jboss.remoting3.Endpoint.lambda$static$0(Endpoint.java:65) at java.security.AccessController.doPrivileged(Native Method) at org.jboss.remoting3.Endpoint.<clinit>(Endpoint.java:63) at org.jboss.ejb.protocol.remote.RemotingEJBDiscoveryProvider.<init>(RemotingEJBDiscoveryProvider.java:53) at org.jboss.ejb.protocol.remote.RemotingEJBDiscoveryProvider.<clinit>(RemotingEJBDiscoveryProvider.java:50) at org.jboss.ejb.protocol.remote.RemoteEJBDiscoveryConfigurator.configure(RemoteEJBDiscoveryConfigurator.java:31) at org.wildfly.discovery.DiscoveryXmlParser.getConfiguredProvider(DiscoveryXmlParser.java:73) at org.wildfly.discovery.ConfiguredProvider.<clinit>(ConfiguredProvider.java:48) at org.wildfly.discovery.Discovery.lambda$static$0(Discovery.java:52) at org.wildfly.common.context.ContextManager.getPrivileged(ContextManager.java:282) at org.jboss.ejb.client.EJBClientContext.getDiscovery(EJBClientContext.java:444) at org.jboss.ejb.client.EJBClientContext.discover(EJBClientContext.java:440) at org.jboss.ejb.client.EJBClientContext.discoverAffinityNone(EJBClientContext.java:711) at org.jboss.ejb.client.EJBClientContext.performLocatedAction(EJBClientContext.java:698) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:146) at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:96) at com.sun.proxy.$Proxy0.hello(Unknown Source) at client.Client.main(Client.java:21) Caused by: org.wildfly.security.auth.client.InvalidAuthenticationConfigurationException: java.lang.NullPointerException at org.wildfly.security.auth.client.DefaultAuthenticationContextProvider.lambda$static$0(DefaultAuthenticationContextProvider.java:40) at java.security.AccessController.doPrivileged(Native Method) at org.wildfly.security.auth.client.DefaultAuthenticationContextProvider.<clinit>(DefaultAuthenticationContextProvider.java:36) ... 27 more Caused by: java.lang.NullPointerException at org.jboss.ejb.client.legacy.ElytronLegacyConfiguration.configureCommon(ElytronLegacyConfiguration.java:114) at org.jboss.ejb.client.legacy.ElytronLegacyConfiguration.getConfiguredAuthenticationContext(ElytronLegacyConfiguration.java:79) at org.wildfly.security.auth.client.ElytronXmlParser.lambda$parseLegacyConfiguration$0(ElytronXmlParser.java:213) at org.wildfly.security.auth.client.DefaultAuthenticationContextProvider.lambda$static$0(DefaultAuthenticationContextProvider.java:38) ... 29 more
- is blocked by
-
JBEAP-10101 Upgrade ejb client to 4.0.0.Beta23 from 4.0.0.Beta22
- Closed
- is caused by
-
EJBCLIENT-204 Ensure nodeConfigurations field of JBossEJBProperties.Builder is initialized correctly
- Resolved