Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-1011

NullPointerException deploying JSR-109 deployment that contains entity beans.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jbossws-1.0.2
    • jbossws-1.0.1
    • jbossws-native
    • None

      When deploying a JSR-109 deployment that contains CMP entity beans a NullPointerException can be thrown.

      java.lang.NullPointerException
      at org.jboss.ws.metadata.j2ee.UnifiedApplicationMetaData.getBeanByEjbName(UnifiedApplicationMetaData.java:57)
      at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:150)
      at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:85)
      at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:80)
      at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44)
      at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
      at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
      at $Proxy26.create(Unknown Source)

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: