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 2020/03/10 13:37:00 UTC

[jira] [Created] (JENA-1857) DatasetGraphInMemory.listGraphNodes causes exception outside a transaction

Andy Seaborne created JENA-1857:
-----------------------------------

             Summary: DatasetGraphInMemory.listGraphNodes causes exception outside a transaction
                 Key: JENA-1857
                 URL: https://issues.apache.org/jira/browse/JENA-1857
             Project: Apache Jena
          Issue Type: Task
          Components: TIM
    Affects Versions: Jena 3.14.0
            Reporter: Andy Seaborne


Test case: 
{code:java}
    public static void main(String ... a) {
        DatasetGraph dsg = DatasetGraphFactory.createTxnMem();
        Quad q = SSE.parseQuad("(:g :s :p :o)");
        dsg.add(q);
        try {
            System.out.println(dsg.size());
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)