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 | 2 months ago
  1. 0

    GitHub comment 502#254653736

    GitHub | 2 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.
  2. 0

    eval with rest-admin user role is failing

    GitHub | 2 years ago | sravanr
    com.marklogic.client.FailedRequestException: Local message: failed to apply resource at eval: Internal Server Error. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.
  3. 0

    Java eval does not take an external variable of node() kind

    GitHub | 2 years ago | sravanr
    com.marklogic.client.FailedRequestException: Local message: failed to apply resource at eval: Internal Server Error. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Not able to run stress test with existing Java/REST API wiki page procedures

    GitHub | 2 months ago | georgeajit
    com.marklogic.client.FailedRequestException: Local message: transaction open failed: Not Found. Server Message: Server (not a REST instance?) did not respond with an expected REST Error message.
  6. 0

    Running a query host batcher job on query with options throws REST-UNSUPPORTEDPARAM

    GitHub | 3 months ago | georgeajit
    com.marklogic.datamovement.QueryHostException: com.marklogic.client.FailedRequestException: Local message: failed to read resource at internal/uris: Bad Request. Server Message: REST-UNSUPPORTEDPARAM: (rest:UNSUPPORTEDPARAM) Endpoint does not support query parameter: options

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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