You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2012/12/03 23:16:03 UTC
[jira] [Closed] (JENA-360) RDFListImpl.copy fails when list is
empty.
[ https://issues.apache.org/jira/browse/JENA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne closed JENA-360.
------------------------------
> 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
> Assignee: Andy Seaborne
> Fix For: Jena 2.10.0
>
> Attachments: JENA-360.patch
>
>
> 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