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/11 13:10:00 UTC

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

     [ https://issues.apache.org/jira/browse/JENA-1857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne reassigned JENA-1857:
-----------------------------------

    Assignee: Andy Seaborne

> 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
>            Assignee: Andy Seaborne
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)