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.

GitHub | sanjuthomas | 5 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 502#254653736

    GitHub | 5 months ago | sanjuthomas
    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.

    Root Cause Analysis

    1. 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()
    2. com.marklogic.client
      ExtensionLibrariesManagerImpl.read
      1. com.marklogic.client.impl.JerseyServices.checkStatus(JerseyServices.java:4647)
      2. com.marklogic.client.impl.JerseyServices.getResource(JerseyServices.java:3215)
      3. com.marklogic.client.impl.ExtensionLibrariesManagerImpl.read(ExtensionLibrariesManagerImpl.java:92)
      3 frames
    3. org.sanju.ml
      TestLibraryDeployer.shoulDeployLibraries
      1. org.sanju.ml.deployer.TestLibraryDeployer.shoulDeployLibraries(TestLibraryDeployer.java:39)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    5. JUnit
      ParentRunner.run
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      5. org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
      6. org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
      7. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
      8. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
      9. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      10. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      11. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      12. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      13. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      14. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      14 frames
    6. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
      1 frame
    7. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      5 frames