Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-933

NPE when deploying web service beans

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      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.

              Unassigned Unassigned
              rhn-support-hbraun Heiko Braun
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: