-
Bug
-
Resolution: Done
-
Major
-
4.0.0.CR6, 4.0.0.CR7
-
None
Calling a remote EJB from a pure Java standalone application only using InitialContext results in:
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jboss.remoting3.ConfigurationEndpointSupplier.get(ConfigurationEndpointSupplier.java:88)
at org.jboss.remoting3.ConfigurationEndpointSupplier.get(ConfigurationEndpointSupplier.java:44)
at org.wildfly.common.context.ContextManager.getPrivileged(ContextManager.java:282)
at org.jboss.remoting3.Endpoint.getCurrent(Endpoint.java:84)
at org.wildfly.naming.client.remote.RemoteNamingProviderFactory.getEndpoint(RemoteNamingProviderFactory.java:171)
at org.wildfly.naming.client.remote.RemoteNamingProviderFactory.supportsUriScheme(RemoteNamingProviderFactory.java:93)
at org.wildfly.naming.client.WildFlyRootContext.getProviderContext(WildFlyRootContext.java:781)
at org.wildfly.naming.client.WildFlyRootContext.lookup(WildFlyRootContext.java:146)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.lookupRemoteStatelessCalculator(RemoteEJBClient.java:133)
at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.invokeStatelessBean(RemoteEJBClient.java:51)
at org.jboss.as.quickstarts.ejb.remote.client.RemoteEJBClient.main(RemoteEJBClient.java:38)
Caused by: java.lang.NullPointerException
at org.jboss.ejb.client.legacy.JBossEJBProperties.fromResource(JBossEJBProperties.java:410)
at org.jboss.ejb.client.legacy.JBossEJBProperties.fromClassPath(JBossEJBProperties.java:447)
at org.jboss.ejb.client.legacy.JBossEJBProperties.fromClassPath(JBossEJBProperties.java:451)
at org.jboss.ejb.client.legacy.JBossEJBProperties.lambda$static$2(JBossEJBProperties.java:139)
at org.wildfly.common.context.ContextManager.getPrivileged(ContextManager.java:282)
at org.jboss.ejb.client.legacy.JBossEJBProperties.getCurrent(JBossEJBProperties.java:455)
at org.jboss.ejb.client.legacy.RemotingLegacyConfiguration.getConfiguredEndpoint(RemotingLegacyConfiguration.java:43)
at org.jboss.remoting3.ConfigurationEndpointSupplier$Holder.lambda$static$0(ConfigurationEndpointSupplier.java:62)
at java.security.AccessController.doPrivileged(Native Method)
at org.jboss.remoting3.ConfigurationEndpointSupplier$Holder.<clinit>(ConfigurationEndpointSupplier.java:49)
... 12 more
- blocks
-
JBEAP-12752 [GSS](7.1.z) NPE when ejb client is on Xbootclasspath
- Closed