[
https://issues.apache.org/jira/browse/JENA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13508369#comment-13508369
]
Andy Seaborne commented on JENA-360:
------------------------------------
Do you have a patch for this?
> RDFListImpl.copy fails when list is empty.
> ------------------------------------------
>
> Key: JENA-360
> URL: https://issues.apache.org/jira/browse/JENA-360
> Project: Apache Jena
> Issue Type: Bug
> Components: Jena
> Affects Versions: Jena 2.7.4
> Reporter: Claude Warren
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira