Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-360

RDFListImpl.copy fails when list is empty.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Jena 2.7.4
    • Fix Version/s: Jena 2.10.0
    • Component/s: Jena
    • Labels:
      None

      Description

      ModelFactory.createDefaultModel().createList().copy()
      will throw a NullPointerException because the list variable in the RDFListImp.copy( iterator ) is not set when there are no elements in the iterator.

        Attachments

        1. JENA-360.patch
          3 kB
          Claude Warren

          Activity

            People

            • Assignee:
              andy Andy Seaborne
              Reporter:
              claude Claude Warren
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: