{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic/java-client-api/issues/277","labels_url":"https://api.github.com/repos/marklogic/java-client-api/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/java-client-api/issues/277/comments","events_url":"https://api.github.com/repos/marklogic/java-client-api/issues/277/events","html_url":"https://github.com/marklogic/java-client-api/issues/277","id":62749219,"number":277,"title":" GraphSPARQLExampleTest fails - XDMP-TRPLIDXNOTFOUND","user":{"login":"georgeajit","id":8634482,"avatar_url":"https://avatars.githubusercontent.com/u/8634482?v=3","gravatar_id":"","url":"https://api.github.com/users/georgeajit","html_url":"https://github.com/georgeajit","followers_url":"https://api.github.com/users/georgeajit/followers","following_url":"https://api.github.com/users/georgeajit/following{/other_user}","gists_url":"https://api.github.com/users/georgeajit/gists{/gist_id}","starred_url":"https://api.github.com/users/georgeajit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgeajit/subscriptions","organizations_url":"https://api.github.com/users/georgeajit/orgs","repos_url":"https://api.github.com/users/georgeajit/repos","events_url":"https://api.github.com/users/georgeajit/events{/privacy}","received_events_url":"https://api.github.com/users/georgeajit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/marklogic/java-client-api/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/marklogic/java-client-api/labels/major","name":"major","color":"fbca04"},{"url":"https://api.github.com/repos/marklogic/java-client-api/labels/new","name":"new","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"sammefford","id":298950,"avatar_url":"https://avatars.githubusercontent.com/u/298950?v=3","gravatar_id":"","url":"https://api.github.com/users/sammefford","html_url":"https://github.com/sammefford","followers_url":"https://api.github.com/users/sammefford/followers","following_url":"https://api.github.com/users/sammefford/following{/other_user}","gists_url":"https://api.github.com/users/sammefford/gists{/gist_id}","starred_url":"https://api.github.com/users/sammefford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammefford/subscriptions","organizations_url":"https://api.github.com/users/sammefford/orgs","repos_url":"https://api.github.com/users/sammefford/repos","events_url":"https://api.github.com/users/sammefford/events{/privacy}","received_events_url":"https://api.github.com/users/sammefford/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/marklogic/java-client-api/milestones/10","html_url":"https://github.com/marklogic/java-client-api/milestones/java-client-api-3.0.2","labels_url":"https://api.github.com/repos/marklogic/java-client-api/milestones/10/labels","id":995881,"number":10,"title":"java-client-api-3.0.2","description":"","creator":{"login":"grechaw","id":382672,"avatar_url":"https://avatars.githubusercontent.com/u/382672?v=3","gravatar_id":"","url":"https://api.github.com/users/grechaw","html_url":"https://github.com/grechaw","followers_url":"https://api.github.com/users/grechaw/followers","following_url":"https://api.github.com/users/grechaw/following{/other_user}","gists_url":"https://api.github.com/users/grechaw/gists{/gist_id}","starred_url":"https://api.github.com/users/grechaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grechaw/subscriptions","organizations_url":"https://api.github.com/users/grechaw/orgs","repos_url":"https://api.github.com/users/grechaw/repos","events_url":"https://api.github.com/users/grechaw/events{/privacy}","received_events_url":"https://api.github.com/users/grechaw/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":7,"state":"open","created_at":"2015-02-25T21:02:34Z","updated_at":"2015-03-18T17:32:04Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-03-18T17:32:04Z","updated_at":"2015-03-18T21:56:04Z","closed_at":null,"body":"Attached is the standard output and stack trace:\r\nStandard output:\r\n05:59:43.419 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000\r\n05:59:43.419 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-admin\r\n05:59:43.445 [Finalizer] INFO  c.m.client.impl.DatabaseClientImpl - Releasing connection\r\n05:59:43.446 [Finalizer] INFO  c.m.client.impl.DatabaseClientImpl - Releasing connection\r\n05:59:43.446 [Finalizer] INFO  c.m.client.impl.DatabaseClientImpl - Releasing connection\r\n05:59:43.446 [Finalizer] INFO  c.m.client.impl.DatabaseClientImpl - Releasing connection\r\ninstalling extensions\r\n05:59:43.459 [main] INFO  c.m.c.impl.ResourceExtensionsImpl - Writing resource services source for graph\r\n05:59:43.459 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/resources/graph\r\n05:59:44.746 [main] INFO  c.m.c.impl.ResourceExtensionsImpl - Writing resource services source for sparql\r\n05:59:44.746 [main] DEBUG c.m.client.impl.JerseyServices - Putting config/resources/sparql\r\ninstalled extensions\r\n05:59:45.754 [main] INFO  c.m.client.impl.DatabaseClientImpl - Releasing connection\r\n05:59:45.754 [main] DEBUG c.m.client.impl.JerseyServices - Releasing connection\r\n05:59:45.754 [main] DEBUG c.m.client.DatabaseClientFactory - Creating new database client for server at localhost:8000\r\n05:59:45.755 [main] DEBUG c.m.client.impl.JerseyServices - Connecting to localhost at 8000 as rest-writer\r\ninserting graph\r\n05:59:45.796 [main] DEBUG c.m.client.impl.JerseyServices - Posting resources/graph\r\ninserted graph\r\nrunning query\r\n05:59:47.132 [main] DEBUG c.m.client.impl.JerseyServices - Posting resources/sparql\r\n\r\n\r\n\r\n\r\n\r\n\r\nStack Trace:\r\n\r\nLocal message: failed to apply resource at resources/sparql: Bad Request. Server Message: SEM-SYNTAXERROR (err:FOER0000): XDMP-TRPLIDXNOTFOUND1.0-mlTriple index not enabledXDMP-TRPLIDXNOTFOUND: sem:sparql($query, (), $options) -- Triple index not enabledfalsesem:sparql($query, (), $options)/MarkLogic/rest-api/models/semantics-model.xqy619semmod:sparql(map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>), document{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}})paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>)bodydocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}query\"prefix foaf: <http://xmlns.com/foaf/0.1/>&#10;&#10;select distin...\"options()1.0-ml/MarkLogic/rest-api/models/semantics-model.xqy4610semmod:sparql-query(map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"accept\"><map:value xsi:type=\"xs:string\">applicat...</map:map>), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>), document{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}})headersmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"accept\"><map:value xsi:type=\"xs:string\">applicat...</map:map>)paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>)bodydocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}content-type()isUpdatefn:false()1.0-ml/marklogic.rest.resource/sparql/assets/resource.xqy5820xdmp:function(fn:QName(\"http://marklogic.com/rest-api/resource/sparql\",\"post\"), \"/marklogic.rest.resource/sparql/assets/resource.xqy\")(map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>), document{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}})contextmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>)paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>)inputdocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}format\"nquad\"default-graph-uri()nameed-graph-uri()headersmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"accept\"><map:value xsi:type=\"xs:string\">applicat...</map:map>)mime()1.0-ml/MarkLogic/rest-api/lib/extensions-util.xqy85324extut:call-service(\"sparql\", \"POST\", xdmp:function(fn:QName(\"http://marklogic.com/rest-api/resource/sparql\",\"post\"), \"/marklogic.rest.resource/sparql/assets/resource.xqy\"), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>), document{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}})extension-name\"sparql\"method\"POST\"servicexdmp:function(fn:QName(\"http://marklogic.com/rest-api/resource/sparql\",\"post\"), \"/marklogic.rest.resource/sparql/assets/resource.xqy\")contextmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>)service-paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>)inputdocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}1.0-ml/MarkLogic/rest-api/lib/extensions-util.xqy76614extut:invoke-service(\"sparql\", \"POST\", \"query\", xdmp:function(fn:QName(\"http://marklogic.com/rest-api/resource/sparql\",\"post\"), \"/marklogic.rest.resource/sparql/assets/resource.xqy\"), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>), document{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}, fn:false())extension-name\"sparql\"method\"POST\"default-txn-mode\"query\"servicexdmp:function(fn:QName(\"http://marklogic.com/rest-api/resource/sparql\",\"post\"), \"/marklogic.rest.resource/sparql/assets/resource.xqy\")contextmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>)service-paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>)inputdocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}in-txnfn:false()txn-curr\"query\"annotation()txn-mode\"query\"1.0-ml/MarkLogic/rest-api/models/resource-model-query.xqy2548rsrcmodqry:resource-post(\"sparql\", map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>), document{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}, fn:false(), local:rsrcmod-callback#6)resource-name\"sparql\"contextmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"output-types\"><map:value xsi:type=\"xs:string\">ap...</map:map>)resource-paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"format\"><map:value xsi:type=\"xs:string\">nquad</m...</map:map>)inputdocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}in-txnfn:false()responderlocal:rsrcmod-callback#6servicexdmp:function(fn:QName(\"http://marklogic.com/rest-api/resource/sparql\",\"post\"), \"/marklogic.rest.resource/sparql/assets/resource.xqy\")1.0-ml/MarkLogic/rest-api/models/resource-model-query.xqy2194rsrcmodqry:exec-post(map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"content-type\"><map:value xsi:type=\"xs:string\">te...</map:map>), map:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"rs:format\"><map:value xsi:type=\"xs:string\">nquad...</map:map>), document{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}, local:rsrcmod-callback#6)headersmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"content-type\"><map:value xsi:type=\"xs:string\">te...</map:map>)endpoint-paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"rs:format\"><map:value xsi:type=\"xs:string\">nquad...</map:map>)inputdocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}responderlocal:rsrcmod-callback#61.0-ml/MarkLogic/rest-api/endpoints/resource-service-query.xqy658paramsmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"rs:format\"><map:value xsi:type=\"xs:string\">nquad...</map:map>)headersmap:map(<map:map xmlns:xs=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:map=\"http://marklogic.com/xdmp/map\"><map:entry key=\"content-type\"><map:value xsi:type=\"xs:string\">te...</map:map>)method\"POST\"bodydocument{text{\"prefix foaf: &lt;http://xmlns.com/foaf/0.1/&gt;&#10;&#10;select ...\"}}1.0-ml"},"comment":{"url":"https://api.github.com/repos/marklogic/java-client-api/issues/comments/83198622","html_url":"https://github.com/marklogic/java-client-api/issues/277#issuecomment-83198622","issue_url":"https://api.github.com/repos/marklogic/java-client-api/issues/277","id":83198622,"user":{"login":"sammefford","id":298950,"avatar_url":"https://avatars.githubusercontent.com/u/298950?v=3","gravatar_id":"","url":"https://api.github.com/users/sammefford","html_url":"https://github.com/sammefford","followers_url":"https://api.github.com/users/sammefford/followers","following_url":"https://api.github.com/users/sammefford/following{/other_user}","gists_url":"https://api.github.com/users/sammefford/gists{/gist_id}","starred_url":"https://api.github.com/users/sammefford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammefford/subscriptions","organizations_url":"https://api.github.com/users/sammefford/orgs","repos_url":"https://api.github.com/users/sammefford/repos","events_url":"https://api.github.com/users/sammefford/events{/privacy}","received_events_url":"https://api.github.com/users/sammefford/received_events","type":"User","site_admin":false},"created_at":"2015-03-18T21:56:04Z","updated_at":"2015-03-18T21:56:04Z","body":"great idea.  That's what I ended up doing."}}