Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1021

NPE in AppInfoBuilder.configureWebserviceSecurity()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.7.0
    • (not version related)
    • None
    • None

    Description

      We're seeing the following exception during deployment in Geronimo:

      java.lang.NullPointerException
      at org.apache.openejb.config.AppInfoBuilder.configureWebserviceSecurity(AppInfoBuilder.java:262)
      at org.apache.openejb.config.AppInfoBuilder.build(AppInfoBuilder.java:144)
      at org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:600)
      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:644)
      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:577)
      at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:502)
      at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:592)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:256)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:135)

      The application has openejb-jar.xml file and it has web services but does not have any security configured.

      Probably a simple null check will fix this.

      Attachments

        Activity

          People

            dblevins David Blevins
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: