com.marklogic.client.FailedRequestException: Local message: failed to read resource at /ext/libraries/test-lib.sjs: Internal Server Error. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by sanjuthomas
, 1 year ago
Local message: failed to read resource at /ext/libraries/test-lib.sjs: Internal Server Error. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.
via GitHub by sammefford
, 9 months ago
Local message: failed to read resource at graphs: Unauthorized. Server Message: Unauthorized
via GitHub by srinathgit
, 2 years ago
Local message: failed to apply resource at graphs: Internal Server Error. Server Message: XDMP-DOCBADCHAR: xdmp:turtle($body, $options) -- Unexpected character found: '_' (0x005f) at :6:26 . See the MarkLogic server error log for further detail.
via GitHub by georgeajit
, 4 months ago
Local message: failed to apply resource at graphs: Internal Server Error. Server Message: XDMP-DOCBADCHAR: xdmp:nquad($body, $options) -- Unexpected character found: '�' (0xfffd) at :1:0 . See the MarkLogic server error log for further detail.
via GitHub by srinathgit
, 1 year ago
Local message: failed to apply resource at documents: Bad Request. Server Message: XDMP-DOCROOTTEXT: xdmp:get-request-part-body("xml") -- Invalid root text "{a:{b1:{c:"jsonValue1"}, b2:["b2 val1", "b2 val2"]}}" at line 1
via GitHub by srinathgit
, 2 years ago
Local message: failed to apply resource at graphs: Internal Server Error. Server Message: XDMP-DOCBADCHAR: xdmp:turtle($body, $options) -- Unexpected character found: '_' (0x005f) at :6:26 . See the MarkLogic server error log for further detail.
com.marklogic.client.FailedRequestException: Local message: failed to read resource at /ext/libraries/test-lib.sjs: Internal Server Error. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.
at com.marklogic.client.impl.JerseyServices.checkStatus(JerseyServices.java:4647)
at com.marklogic.client.impl.JerseyServices.getResource(JerseyServices.java:3215)
at com.marklogic.client.impl.ExtensionLibrariesManagerImpl.read(ExtensionLibrariesManagerImpl.java:92)
at org.sanju.ml.deployer.TestLibraryDeployer.shoulDeployLibraries(TestLibraryDeployer.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.