glassfish
  1. glassfish
  2. GLASSFISH-18877

java.lang.NullPointerException at com.sun.enterprise.deployment.ConnectorDescriptor.getConnectionDefinitionByCFType(ConnectorDescriptor.java:647)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Duplicate
    • Affects Version/s: 3.1.2_b23
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      Win7 Pro SP1 64 Bit JDK 1.6.0_26

      Description

      After uninstalling GFv3.1.1 and then installing GFv3.1.2 I am no more able to deploy my EAR. "asadmin deploy" of GFv3.1.2 tells me this:

      Caused by: java.lang.NullPointerException
      at com.sun.enterprise.deployment.ConnectorDescriptor.getConnectionDefinitionByCFType(ConnectorDescriptor.java:647)
      at com.sun.enterprise.deployment.ConnectorDescriptor.getConnectionDefinitionByCFType(ConnectorDescriptor.java:634)
      at com.sun.enterprise.deployment.util.DOLUtils.isRAConnectionFactory(DOLUtils.java:170)
      at com.sun.enterprise.deployment.util.DOLUtils.isRAConnectionFactory(DOLUtils.java:145)
      at com.sun.enterprise.deployment.annotation.handlers.ResourceHandler.getDescriptors(ResourceHandler.java:315)
      at com.sun.enterprise.deployment.annotation.handlers.ResourceHandler.processResource(ResourceHandler.java:229)
      at com.sun.enterprise.deployment.annotation.handlers.ResourceHandler.processAnnotation(ResourceHandler.java:148)
      at com.sun.enterprise.deployment.annotation.handlers.AbstractResourceHandler.processAnnotation(AbstractResourceHandler.java:142)
      at org.glassfish.apf.impl.AnnotationProcessorImpl.process(AnnotationProcessorImpl.java:344)
      ... 48 more

      As the same EAR works very well on GFv.3.1.1 on the same machine, I doubt that it is related to the EAR.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Hong Zhang
              Reporter:
              mkarg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: