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

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

      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.

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

              Created:
              Updated:
              Resolved: