Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1857

DatasetGraphInMemory.listGraphNodes causes exception outside a transaction

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.14.0
    • Jena 3.15.0
    • TIM
    • None

    Description

      Test case: 

          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();
              }
          }
      

       

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m