Hi. I've seen a few posts on this forum regarding errors in obtaining EJB3 stubs by a standalone client. While I haven't had any problems doing JNDI lookups from within the container, when I attempt via a standalone client I get the following exception:
java.lang.NullPointerException | at org.jboss.ejb3.service.ServiceLocalProxy.invoke(ServiceLocalProxy.java:75) | at $Proxy0.getRequiredContextProperty(Unknown Source) | at com.ninem.rx.core.servicelocator.ServiceLocator.initializeNinemServicesContext(ServiceLocator.java:105) | at com.ninem.rx.core.servicelocator.ServiceLocator.<init>(ServiceLocator.java:86) | at com.ninem.rx.core.servicelocator.ServiceLocator.getInstance(ServiceLocator.java:96) | at com.ninem.rx.api.encryption.EncryptionDelegate.encrypt(EncryptionDelegate.java:53) | at com.ninem.rx.api.encryption.EncryptionDelegateTests.testRoundtripEncryption(EncryptionDelegateTests.java:33) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) | I'm using JBoss 4.0.4-GA w/ EJB3 profile as obtained today from the JNLP Installer. My client has every lib in $JBOSS_HOME/client, the EJB3 Deployer, and the AOP Deployer in the classpath. Thanks in advance to anyone with insight. S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3957860#3957860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3957860 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user