com.marklogic.client.FailedRequestException: Local message: /alert/rules write failed: Bad Request. Server Message: XDMP-ARGTYPE: (err:XPTY0004) cts:not-query(()) -- arg1 is not of type cts:query

GitHub | sastafford | 3 months ago
  1. 0

    Cannot add a rule with a Not-query

    GitHub | 3 months ago | sastafford
    com.marklogic.client.FailedRequestException: Local message: /alert/rules write failed: Bad Request. Server Message: XDMP-ARGTYPE: (err:XPTY0004) cts:not-query(()) -- arg1 is not of type cts:query
  2. 0

    StructuredSearchTest using cts:geospatial-query

    GitHub | 2 years ago | sammefford
    com.marklogic.client.FailedRequestException: Local message: search failed: Bad Request. Server Message: XDMP-UNDFUN: (err:XPST0017) Undefined function cts:geospatial-query()
  3. 0

    Pojo range query on Integer value seems to use decimal value

    GitHub | 2 years ago | kcoleman-marklogic
    com.marklogic.client.FailedRequestException: Local message: search failed: Bad Request. Server Message: XDMP-PATHRIDXNOTFOUND: cts:search(fn:collection(), cts:and-query((cts:path-range-query("sandbox.Edition2/printing", ">", 1.0, (), 1), cts:collection-query("sandbox.Edition2")), ()), ("score-logtfidf", cts:score-order("descending")), xs:double("1"), ()) -- No decimal path range index for sandbox.Edition2/printing
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sample-Stack Throwing Test Error

    GitHub | 2 years ago | lakstap
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void org.springframework.security.config.annotation.web.configuration.WebSecurityConfiguration.setFilterChainProxySecurityConfigurer(org.springframework.security.config.annotation.ObjectPostProcessor,java.util.List) throws java.lang.Exception; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationSecurity': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.marklogic.samplestack.web.security.SamplestackSecurityConfigurer com.marklogic.samplestack.security.ApplicationSecurity.configurer; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'samplestackSecurityConfigurer': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.security.web.authentication.AuthenticationSuccessHandler com.marklogic.samplestack.web.security.SamplestackSecurityConfigurer.successHandler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'samplestackAuthenticationSuccessHandler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.marklogic.samplestack.service.ContributorService com.marklogic.samplestack.web.security.SamplestackAuthenticationSuccessHandler.contributorService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'markLogicContributorService': Invocation of init method failed; nested exception is com.marklogic.client.FailedRequestException: Local message: search failed: Bad Request. Server Message: REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: Invalid query: XDMP-VALIDATEUNEXPECTED: (err:XQDY0027) validate strict { $q } -- Invalid node: Found @type but expected () at fn:doc("")/search:query/search:value-query/@type using schema "search.xsd"
  6. 0

    Transaction commit fails with XDMP-NOTXN error.

    GitHub | 2 years ago | sravanr
    com.marklogic.client.FailedRequestException: Local message: transaction commit failed: Bad Request. Server Message: XDMP-NOTXN: xdmp:xa-complete1(xs:unsignedLong("13890707015947827807"), xs:unsignedLong("8822662484678747884"), fn:true()) -- No transaction with identifier 8822662484678747884

    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: /alert/rules write failed: Bad Request. Server Message: XDMP-ARGTYPE: (err:XPTY0004) cts:not-query(()) -- arg1 is not of type cts:query

      at com.marklogic.client.impl.JerseyServices.putPostValueImpl()
    2. com.marklogic.client
      RuleManagerImpl.writeRule
      1. com.marklogic.client.impl.JerseyServices.putPostValueImpl(JerseyServices.java:3031)
      2. com.marklogic.client.impl.JerseyServices.putValue(JerseyServices.java:2881)
      3. com.marklogic.client.impl.RuleManagerImpl.writeRule(RuleManagerImpl.java:168)
      3 frames