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

RDFListImpl.copy fails when list is empty.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 2.7.4
    • Jena 2.10.0
    • Jena
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: