Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-221

Document getObjectOfLatestVersion NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 1.0.0
    • None
    • chemistry-old
    • None

    Description

      When calling the getObjectOfLatestVersion(boolean major) method of the Document interface a null pointer is thrown. This is because the OperationContext is being set to null. I'm attaching a patch that I think fixes this, as it is modeled after the other methods in this class.

      Attachments

        1. NPE_fix.diff
          3 kB
          Aaron Korver

        Activity

          People

            fmui Florian Müller
            akorver Aaron Korver
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: