Utility.loadClassOfType() results in Null Pointer Exceptions in some cases.

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.3.1
    • Affects Version/s: 1.3.1
    • Component/s: other-libs
    • None
    • rc1
    • sparc
    • solaris_2.5
    • Not verified

        The call to Util.loadClassOfType() is currently
         resultClass = loadClassOfType(stubName, codebase,
                       narrowFrom.getClass().getClassLoader(), narrowTo,
                       narrowTo.getClass().getClassLoader());

              Should be changed to
          resultClass = loadClassOfType(stubName, codebase,
                       narrowFrom.getClass().getClassLoader(), narrowTo,
                       narrowTo.getClassLoader());

        Because narrowTo.getClass().getClassLoader() results in Null in some cases.
         

              Assignee:
              Hemanth Puttaswamy (Inactive)
              Reporter:
              Hemanth Puttaswamy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: