[ 
https://issues.apache.org/jira/browse/JENA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509139#comment-13509139
 ] 

Hudson commented on JENA-360:
-----------------------------

Integrated in Jena__Development_Test #312 (See 
[https://builds.apache.org/job/Jena__Development_Test/312/])
    JENA-360
Fix for copy of an empty list. (Revision 1416696)

     Result = SUCCESS
andy : 
Files : 
* 
/jena/branches/jena-core-simplified/src/main/java/com/hp/hpl/jena/rdf/model/impl/RDFListImpl.java
* 
/jena/branches/jena-core-simplified/src/test/java/com/hp/hpl/jena/rdf/model/test/TestList.java
* 
/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/rdf/model/impl/RDFListImpl.java
* 
/jena/trunk/jena-core/src/test/java/com/hp/hpl/jena/rdf/model/test/TestList.java

                
> 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

Reply via email to