Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6645

BeanMetaDataICF - ClassCastException and NPE when deploying WAR

XMLWordPrintable

      During WAR deployment in EmbJopr tests, server's log is full of CCE's and NPE's:

      2009-03-20 01:17:16,534 DEBUG [org.jboss.deployers.plugins.managed.BeanMetaDataICF] (ResourceContainer.invoker.daemon-2) Failed to get property value for bean: org.jboss.security.plugins.SecurityConfig, property: mbeanServer
      java.lang.ClassCastException: org.jboss.metatype.api.values.ArrayValueSupport
      at org.jboss.metatype.api.types.ArrayMetaType.isValue(ArrayMetaType.java:360)
      at org.jboss.metatype.api.values.CompositeValueSupport.set(CompositeValueSupport.java:164)
      at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.createCompositeValue(DefaultMetaValueFactory.java:497)
      at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.internalCreate(DefaultMetaValueFactory.java:1099)
      at org.jboss.metatype.plugins.values.DefaultMetaValueFactory.create(DefaultMetaValueFactory.java:552)
      at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getNonManagedObjectValue(AbstractInstanceClassFactory.java:339)
      at org.jboss.managed.plugins.factory.AbstractInstanceClassFactory.getValue(AbstractInstanceClassFactory.java:260)
      at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getValue(BeanMetaDataICF.java:179)
      at org.jboss.deployers.plugins.managed.BeanMetaDataICF.getValue(BeanMetaDataICF.java:49)
      ...

      2009-03-20 01:17:16,535 DEBUG [org.jboss.deployers.plugins.managed.BeanMetaDataICF] (ResourceContainer.invoker.daemon-2) Failed to get property value for bean: org.jboss.security.plugins.SecurityConfig, property: defaultLoginConfig
      java.lang.NullPointerException
      at org.jboss.system.ServiceMBeanSupport.getDeploymentInfo(ServiceMBeanSupport.java:176)
      at sun.reflect.GeneratedMethodAccessor768.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
      at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
      at org.jboss.beans.info.plugins.DefaultPropertyInfo.get(DefaultPropertyInfo.java:133)
      at org.jboss.beans.info.plugins.BeanInfoUtil.getNestedTarget(BeanInfoUtil.java:78)
      ...

      At least, they make log messy when looking for causes of other problems.

      Detailed log contents in the attachment.

              smcgowan@redhat.com Shelly McGowan (Inactive)
              ozizka_jira Ondrej Zizka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: