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

EJB3 deployments lead to java.lang.IllegalStateException: Null beannMetaData

XMLWordPrintable

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

      There has been more than one instance where users have reported issues around EJB3 deployments which leads to exception like this:

      Caused by: java.lang.IllegalStateException: Null beannMetaData
      at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:315)
      at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.initialise(BeanInterceptorMetaDataBridge.java:235)
      at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.(BeanInterceptorMetaDataBridge.java:138)
      at org.jboss.ejb3.interceptors.metadata.AdditiveBeanInterceptorMetaDataBridge.(AdditiveBeanInterceptorMetaDataBridge.java:48)
      at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:194)
      at org.jboss.ejb3.EJBContainer.(EJBContainer.java:249)

      One such forum thread discussion is referenced in this JIRA. The issue appears to be around the way the deployment has been packaged. This needs more investigation and a fix (or an explanation about why this happens and the correct way to package the culprit application).

        1. freeads.ear
          9.67 MB
          kumaran srinivasan
        2. Freeads.rar
          9.54 MB
          kumaran srinivasan
        3. helloWorld2Bad.ear
          9 kB
          Brad Maxwell
        4. helloWorld2Good.ear
          9 kB
          Brad Maxwell

            jaikiran Jaikiran Pai (Inactive)
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: