{"action":"closed","issue":{"url":"https://api.github.com/repos/marklogic/java-client-api/issues/273","labels_url":"https://api.github.com/repos/marklogic/java-client-api/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/java-client-api/issues/273/comments","events_url":"https://api.github.com/repos/marklogic/java-client-api/issues/273/events","html_url":"https://github.com/marklogic/java-client-api/issues/273","id":62161699,"number":273,"title":"Cookbook Example MultiStatementTransactionTest - read failed: Internal Server Error","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":"closed","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":9,"closed_issues":7,"state":"open","created_at":"2015-02-25T21:02:34Z","updated_at":"2015-03-18T17:25:05Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-03-16T17:49:59Z","updated_at":"2015-03-18T17:25:05Z","closed_at":"2015-03-18T17:25:05Z","body":"Error Message\r\n\r\nLocal message: read failed: Internal Server Error. Server Message: declare option xdmp:transaction-mode \"auto\";  -- Operation not allowed on the currently executing transaction with identifier %1 . See the MarkLogic server error log for further detail.\r\n\r\nStacktrace\r\n\r\ncom.marklogic.client.FailedRequestException: Local message: read failed: Internal Server Error. Server Message: declare option xdmp:transaction-mode \"auto\";  -- Operation not allowed on the currently executing transaction with identifier %1 . See the MarkLogic server error log for further detail.\r\n\tat com.marklogic.client.impl.JerseyServices.getDocumentImpl(JerseyServices.java:689)\r\n\tat com.marklogic.client.impl.JerseyServices.getDocument(JerseyServices.java:607)\r\n\tat com.marklogic.client.impl.DocumentManagerImpl.read(DocumentManagerImpl.java:386)\r\n\tat com.marklogic.client.impl.DocumentManagerImpl.read(DocumentManagerImpl.java:270)\r\n\tat com.marklogic.client.impl.DocumentManagerImpl.read(DocumentManagerImpl.java:243)\r\n\tat com.marklogic.client.example.cookbook.MultiStatementTransaction.run(MultiStatementTransaction.java:67)\r\n\tat com.marklogic.client.example.cookbook.MultiStatementTransaction.main(MultiStatementTransaction.java:35)\r\n\tat com.marklogic.client.test.example.cookbook.MultiStatementTransactionTest.testMain(MultiStatementTransactionTest.java:31)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)\r\n\tat org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)\r\n\tat org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)\r\n\tat org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)\r\n\tat org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)\r\n\tat org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)\r\n\tat org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)"}}