[
https://jira.jboss.org/jira/browse/EJBTHREE-1629?page=com.atlassian.jira....
]
jaikiran pai updated EJBTHREE-1629:
-----------------------------------
Attachment: EJBTHREE-1629-testcase.patch
Created a failing testcase. Attached is the testcase.
Steps to run the testcase:
[jpai@jpai] cd EJB3_TRUNK/testsuite
[jpai@jpai testsuite] mvn compiler:testCompile
[jpai@jpai testsuite] ant -f build-test.xml ejbthree1629
Start JBoss-5.0 GA server and wait for it to start. Set JBOSS_HOME to point to JBossAS-5.0
GA. Once the server is up, run
[jpai@jpai testsuite] ant -f build-test.xml one-test
-Dtest=org.jboss.ejb3.test.ejbthree1629.unit.PrimitiveHandlingTestCase
Ejb3DescriptorHandler does not handle complete set of primitives
----------------------------------------------------------------
Key: EJBTHREE-1629
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1629
Project: EJB 3.0
Issue Type: Bug
Affects Versions: 1.0.0-Beta10
Environment: JBossAS-5.0 GA
Reporter: jaikiran pai
Assignee: jaikiran pai
Attachments: EJBTHREE-1629-testcase.patch
Ejb3DescriptorHandler throws:
Caused by: java.lang.RuntimeException: Unable to create annotation for method/field
partialRollbackG
amePayment for EJB GamePaymentProcessDelegateBean
at
org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2214)
at
org.jboss.ejb3.Ejb3DescriptorHandler.addAnnotations(Ejb3DescriptorHandler.java:2227)
at
org.jboss.ejb3.Ejb3DescriptorHandler.addTransactionAnnotations(Ejb3DescriptorHandler.java
:1176)
at
org.jboss.ejb3.Ejb3DescriptorHandler.addDescriptorAnnotations(Ejb3DescriptorHandler.java:
915)
at
org.jboss.ejb3.Ejb3DescriptorHandler.getStatefulContainer(Ejb3DescriptorHandler.java:469)
at
org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:209)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:668)
at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:628)
at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:610)
at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:573)
at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:488)
at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189)
... 23 more
Caused by: java.lang.ClassNotFoundException: double from
BaseClassLoader@1c749fc{VFSClassLoaderPolic
y@ca6d70{name=vfszip:/C:/development/tools/jboss-5.0.0.GA/server/default/deploy/eloto.ear
domain=Cl
when the bean contains this method:
public void partialRollbackGamePayment(GamePaymentRecord rec, double rollbackSum);
The double primitive (and float) are not handled in Ejb3DescriptorHandler.
Please see referenced forum thread for details.
--
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