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

org.apache.jena.atlas.AtlasException: SortedDataBag is closed, no operations can be performed on it

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Fuseki 2.3.0
    • Fuseki 2.3.1
    • Fuseki
    • None

    Description

      This issue occurred with 2.3 (1.1 worked with the same dataset just fine).

      [2015-09-13 01:09:50] Fuseki     INFO  [2181] Query = PREFIX wiki: <http://example.org/id/> PREFIX
      rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-sche
      ma#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX swivt: <http://semantic-mediawiki.org/swiv
      t/1.0#> PREFIX property: <http://example.org/id/Property-3A> PREFIX xsd: <http://www.w3.org/2001/XM
      LSchema#> SELECT * WHERE { <http://example.org/id/Berlin/2> swivt:wikiPageSortKey ?s  OPTIONAL { <h
      ttp://example.org/id/Berlin/2> swivt:redirectsTo ?r } } LIMIT 1
      [2015-09-13 01:09:50] Fuseki     INFO  [2181] exec/select
      [2015-09-13 01:09:50] Fuseki     INFO  [2181] 200 OK (95 ms)
      [2015-09-13 01:09:50] Fuseki     INFO  [2182] POST http://192.168.1.103:3030/db/update
      [2015-09-13 01:09:50] Fuseki     INFO  [2182] POST /db :: 'update' :: [application/x-www-form-urlen
      coded charset=UTF-8] ?
      [2015-09-13 01:09:51] Fuseki     INFO  [2182] 200 OK (324 ms)
      [2015-09-13 01:09:51] Fuseki     INFO  [2183] POST http://192.168.1.103:3030/db/query
      [2015-09-13 01:09:51] Fuseki     INFO  [2183] POST /db :: 'query' :: [application/x-www-form-urlenc
      oded charset=UTF-8] ?
      [2015-09-13 01:09:51] Fuseki     INFO  [2183] Query = PREFIX wiki: <http://example.org/id/> PREFIX
      rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-sche
      ma#> PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX swivt: <http://semantic-mediawiki.org/swiv
      t/1.0#> PREFIX property: <http://example.org/id/Property-3A> PREFIX xsd: <http://www.w3.org/2001/XM
      LSchema#> SELECT DISTINCT ?result WHERE { ?result swivt:wikiPageSortKey ?resultsk . { ?result prope
      rty:Has_subobject-23aux ?v1 . ?result property:Has_area ?v2 . } UNION { ?result property:Has_wattage ?v3 . } } ORDER BY ASC(?resultsk)  OFFSET 0 LIMIT 51
      [2015-09-13 01:09:53] Fuseki     WARN  [2183] RC = 500 : SortedDataBag is closed, no operations can
       be performed on it.
      org.apache.jena.atlas.AtlasException: SortedDataBag is closed, no operations can be performed on it
      .
              at org.apache.jena.atlas.data.SortedDataBag.checkClosed(SortedDataBag.java:87)
              at org.apache.jena.atlas.data.SortedDataBag.iterator(SortedDataBag.java:195)
              at org.apache.jena.atlas.data.SortedDataBag.iterator(SortedDataBag.java:189)
              at org.apache.jena.sparql.engine.iterator.QueryIterSort$SortedBindingIterator.initializeIte
      rator(QueryIterSort.java:98)
              at org.apache.jena.atlas.iterator.IteratorDelayedInitialization.init(IteratorDelayedInitial
      ization.java:40)
              at org.apache.jena.atlas.iterator.IteratorDelayedInitialization.hasNext(IteratorDelayedInit
      ialization.java:50)
              at org.apache.jena.sparql.engine.iterator.QueryIterPlainWrapper.hasNextBinding(QueryIterPla
      inWrapper.java:53)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:
      111)
              at org.apache.jena.sparql.engine.iterator.QueryIterConvert.hasNextBinding(QueryIterConvert.
      java:58)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:
      111)
              at org.apache.jena.sparql.engine.iterator.QueryIterDistinct.getInputNextUnseen(QueryIterDis
      tinct.java:104)
              at org.apache.jena.sparql.engine.iterator.QueryIterDistinct.hasNextBinding(QueryIterDistinc
      t.java:70)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:
      111)
              at org.apache.jena.sparql.engine.iterator.QueryIterSlice.hasNextBinding(QueryIterSlice.java
      :76)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:
      111)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIterator
      Wrapper.java:39)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:
      111)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorWrapper.hasNextBinding(QueryIterator
      Wrapper.java:39)
              at org.apache.jena.sparql.engine.iterator.QueryIteratorBase.hasNext(QueryIteratorBase.java:
      111)
              at org.apache.jena.sparql.engine.ResultSetStream.hasNext(ResultSetStream.java:74)
              at org.apache.jena.sparql.engine.ResultSetCheckCondition.hasNext(ResultSetCheckCondition.ja
      va:59)
              at org.apache.jena.fuseki.servlets.SPARQL_Query.executeQuery(SPARQL_Query.java:305)
              at org.apache.jena.fuseki.servlets.SPARQL_Query.execute(SPARQL_Query.java:254)
              at org.apache.jena.fuseki.servlets.SPARQL_Query.executeWithParameter(SPARQL_Query.java:212)
      
              at org.apache.jena.fuseki.servlets.SPARQL_Query.perform(SPARQL_Query.java:108)
              at org.apache.jena.fuseki.servlets.ActionSPARQL.executeLifecycle(ActionSPARQL.java:132)
              at org.apache.jena.fuseki.servlets.SPARQL_UberServlet.executeRequest(SPARQL_UberServlet.jav
      a:330)
              at org.apache.jena.fuseki.servlets.SPARQL_UberServlet.serviceDispatch(SPARQL_UberServlet.ja
      va:294)
              at org.apache.jena.fuseki.servlets.SPARQL_UberServlet.executeAction(SPARQL_UberServlet.java
      :255)
              at org.apache.jena.fuseki.servlets.ActionSPARQL.execCommonWorker(ActionSPARQL.java:83)
              at org.apache.jena.fuseki.servlets.ActionBase.doCommon(ActionBase.java:79)
              at org.apache.jena.fuseki.servlets.FusekiFilter.doFilter(FusekiFilter.java:71)
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1632)
              at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
              at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
              at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
              at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125
      )
              at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
              at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:4
      49)
              at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
              at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
              at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
              at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
              at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.ja
      va:362)
              at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125
      )
              at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1624)
              at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
              at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:568)
              at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)
              at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1110)
              at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:479)
              at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:183)
              at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1044)
              at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
              at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
              at org.eclipse.jetty.server.Server.handle(Server.java:459)
              at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:281)
              at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:232)
              at org.eclipse.jetty.io.AbstractConnection$1.run(AbstractConnection.java:505)
              at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
              at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
              at java.lang.Thread.run(Unknown Source)
      [2015-09-13 01:09:54] Fuseki     INFO  [2183] 500 SortedDataBag is closed, no operations can be per
      formed on it. (2.973 s)
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: