[jboss-jira] [JBoss JIRA] Created: (JBMETA-2) ClassCastException: org.jboss.metadata.ejb.spec.EntityBeanMetaData

Scott M Stark (JIRA) jira-events at lists.jboss.org
Sat Jan 12 01:28:19 EST 2008


ClassCastException: org.jboss.metadata.ejb.spec.EntityBeanMetaData
------------------------------------------------------------------

                 Key: JBMETA-2
                 URL: http://jira.jboss.com/jira/browse/JBMETA-2
             Project: JBoss Metadata
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: org.jboss.test.metadata.ejb.EjbJar21UnitTestCase.testMultipleMerge()
            Reporter: Scott M Stark
         Assigned To: Scott M Stark
             Fix For: 1.0.0.Beta5


A merge of an ejb2.1 descriptor with a 4.0 jboss descriptor with 2 session and 1 entity beans is failing with:

java.lang.ClassCastException: org.jboss.metadata.ejb.spec.EntityBeanMetaData
	at org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData.merge(JBossSessionBeanMetaData.java:820)
	at org.jboss.metadata.ejb.jboss.JBossEnterpriseBeansMetaData.merge(JBossEnterpriseBeansMetaData.java:153)
	at org.jboss.metadata.ejb.jboss.JBossMetaData.merge(JBossMetaData.java:722)
	at org.jboss.test.metadata.ejb.EjbJar21UnitTestCase.testMultipleMerge(EjbJar21UnitTestCase.java:131)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list