[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-933) NPE when deploying web service beans

Heiko Braun (JIRA) jira-events at lists.jboss.org
Fri Mar 30 06:47:26 EDT 2007


NPE when deploying web service beans
------------------------------------

                 Key: EJBTHREE-933
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-933
             Project: EJB 3.0
          Issue Type: Bug
            Reporter: Heiko Braun


The exception:

java.lang.NullPointerException
        at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.getInterfaces(StatelessRemoteProxyFactory.java:74)
        at org.jboss.ejb3.stateless.BaseStatelessProxyFactory.init(BaseStatelessProxyFactory.java:172)
        at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.init(StatelessRemoteProxyFactory.java:100)
        at org.jboss.ejb3.stateless.BaseStatelessProxyFactory.start(BaseStatelessProxyFactory.java:221)
        at org.jboss.ejb3.stateless.StatelessRemoteProxyFactory.start(StatelessRemoteProxyFactory.java:107)
        at org.jboss.ejb3.ProxyDeployer.start(ProxyDeployer.java:83)
        at org.jboss.ejb3.SessionContainer.start(SessionContainer.java:124)
        at org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:94)

The bean that get's deployed:

package com.sun.ts.tests.webservices12.ejb.annotations.WSEjbPortFieldInjectionTest;

import javax.ejb.Stateless;
import javax.jws.WebService;

@WebService(
    portName="Hello", 
    serviceName="HelloService", 
    targetNamespace="http://Hello.org",
    wsdlLocation="META-INF/wsdl/HelloService.wsdl",
    endpointInterface="com.sun.ts.tests.webservices12.ejb.annotations.WSEjbPortFieldInjectionTest.Hello")
@Stateless(name="WSEjbPortFieldInjectionTest")
public class HelloBean {

   public String hello(String str)
   {
      return "WebSvcTest-Hello " + str;
   }

   public String bye(String str)
   {
      return "WebSvcTest-Bye and take care " + str;
   }
}

The spec:

Session bean's business interface(s), if the session bean provides an EJB 3.0 local or remote
client view.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list