[jboss-jira] [JBoss JIRA] Closed: (JBAS-6645) BeanMetaDataICF - ClassCastException and NPE when deploying WAR
Shelly McGowan (JIRA)
jira-events at lists.jboss.org
Wed Mar 25 11:22:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shelly McGowan closed JBAS-6645.
--------------------------------
Resolution: Duplicate Issue
Duplicate of JBAS-6524
> BeanMetaDataICF - ClassCastException and NPE when deploying WAR
> ---------------------------------------------------------------
>
> Key: JBAS-6645
> URL: https://jira.jboss.org/jira/browse/JBAS-6645
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: ProfileService
> Environment: JBoss AS 5.1.0 CR1
> Reporter: Ondrej Žižka
> Assignee: Shelly McGowan
> Attachments: ClassCastException.txt
>
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list