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

Ejb3DescriptorHandler does not handle complete set of primitives

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.2
    • 1.0.0-Beta10
    • None
    • None

      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.

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

                Created:
                Updated:
                Resolved: