Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1759

NPE in URLDeploymentScanner

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • JBossAS-3.2.7 Final, JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1, JBossAS-4.0.2RC1
    • Deployers
    • None

    Description

      The URLDeploymentScanner throws NullPointerExceptions if it is not configured correctly.
      e.g. no URLComparator or Filter attribute

      Since this xml config is an adminstrative interface,
      we cannot expect administrators to understand what this means.

      The implementation should either:
      1) Provide default configurations for these mandatory attributes
      2) Check the configuration in createService() and throw human readable deployment exceptions
      if mandatory configuration is missing.

      Attachments

        Issue Links

          Activity

            People

              dandread1@redhat.com Dimitrios Andreadis
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: