You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Claude Warren (JIRA)" <ji...@apache.org> on 2012/12/02 18:33:58 UTC
[jira] [Created] (JENA-360) RDFListImpl.copy fails when list is
empty.
Claude Warren created JENA-360:
----------------------------------
Summary: 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
[jira] [Updated] (JENA-360) RDFListImpl.copy fails when list is
empty.
Posted by "Claude Warren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Warren updated JENA-360:
-------------------------------
Attachment: JENA-360.patch
Patch includes fix and test case.
> 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
> 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
[jira] [Commented] (JENA-360) RDFListImpl.copy fails when list is
empty.
Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (JENA-360) RDFListImpl.copy fails when list is
empty.
Posted by "Claude Warren (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509127#comment-13509127 ]
Claude Warren commented on JENA-360:
------------------------------------
Patch submitted.
--
I like: Like Like - The likeliest place on the web
Identity: https://www.identify.nu/user.php?claude@xenei.com
LinkedIn: http://www.linkedin.com/in/claudewarren
> 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
> 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
[jira] [Resolved] (JENA-360) RDFListImpl.copy fails when list is
empty.
Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JENA-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-360.
--------------------------------
Resolution: Fixed
Fix Version/s: Jena 2.10.0
Assignee: Andy Seaborne
Patch applied - thank you.
> 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
[jira] [Closed] (JENA-360) RDFListImpl.copy fails when list is
empty.
Posted by "Andy Seaborne (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (JENA-360) RDFListImpl.copy fails when list is
empty.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ 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