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 2011/01/23 21:56:44 UTC
[jira] Resolved: (JENA-32) DatasetGraphBase.deleteAny(null, ,,)
cause NPE
[ https://issues.apache.org/jira/browse/JENA-32?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-32.
-------------------------------
Resolution: Fixed
> DatasetGraphBase.deleteAny(null, ,,) cause NPE
> ----------------------------------------------
>
> Key: JENA-32
> URL: https://issues.apache.org/jira/browse/JENA-32
> Project: Jena
> Issue Type: Bug
> Components: ARQ
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
>
> See http://mail-archives.apache.org/mod_mbox/incubator-jena-users/201101.mbox/%3C4D3AEA32.9010406@mysema.com%3E
> Node.ANY is also broken.
> DatasetGraph is a DatasetGraphCollection
> dataSource.asDatasetGraph().add(new Quad(Quad.defaultGraphIRI, subject, predicate, object));
> dataSource.asDatasetGraph().deleteAny(Node.ANY, subject, null, null);
> DatasetGraphBase.deleteAny ==>
> find(g, s, p, o) ;
> => g = null for the default graph (aside ?? should be Quad.defaultGraphIRI)
> =>delete attempts to get graph null.
> 1/ delete(quad) in DatasetGraphCollection => fetchGraph with a null
> 2/ Think about the find/4 => null vs URI for dft graph.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.