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

Track where UCLs are destroyed to throw a better exception than NPE

    XMLWordPrintable

Details

    Description

      When a redeployment is done and references to a UCL class loader from the previous deployment exist, any attempt to use the UCL results in a NullPointerException because the association between the UCL and its repository have been cleared. A standard ClassNotFoundException with the trace of where the UCL was unregistered would be a better choice.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            starksm64 Scott Stark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: