com.marklogic.client.FailedRequestException: Local message: failed to apply resource at resources/flow: Internal Server Error. Server Message: XDMP-AS: (err:XPTY0004) $func($identifier, $content, $headers, $options) -- Invalid coercion: xs:untypedAtomic("http://datahub/David_Perez_17077388349996699028http://www.w3.org...") as sem:triple . See the MarkLogic server error log for further detail.

GitHub | damonfeldman | 2 months ago
  1. 0

    When one item fails in a harmonize batch run, other items in the chunk do not get processed

    GitHub | 2 months ago | damonfeldman
    com.marklogic.client.FailedRequestException: Local message: failed to apply resource at resources/flow: Internal Server Error. Server Message: XDMP-AS: (err:XPTY0004) $func($identifier, $content, $headers, $options) -- Invalid coercion: xs:untypedAtomic("http://datahub/David_Perez_17077388349996699028http://www.w3.org...") as sem:triple . See the MarkLogic server error log for further detail.
  2. 0

    JAVA BULK WRITE: Writing bulk text documents in to the server is thorwing 'Internal Server Error'

    GitHub | 2 years ago | sammefford
    com.marklogic.client.FailedRequestException: Local message: failed to apply resource at documents: Internal Server Error. Server Message: XDMP-AS: (err:XPTY0004) $mimetype as xs:string -- Invalid coercion: () as xs:string. See the MarkLogic server error log for further detail.
  3. 0

    Bug deploying rest services - maybe missing <hub:plugins> config ?

    GitHub | 8 months ago | damonfeldman
    com.marklogic.client.FailedRequestException: Local message: failed to read resource at resources/validate: Internal Server Error. Server Message: XDMP-AS: (err:XPTY0004) $uri as xs:string -- Invalid coercion: () as xs:string . See the MarkLogic server error log for further detail.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 65#137526275

    GitHub | 1 year ago | srinathgit
    com.marklogic.client.FailedRequestException: 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.
  6. 0

    GitHub comment 67#128749994

    GitHub | 1 year ago | srinathgit
    com.marklogic.client.FailedRequestException: Local message: failed to apply resource at graphs: Internal Server Error. Server Message: XDMP-DOCBADCHAR: xdmp:nquad($body, $options) -- Unexpected character found: '' (0xfeff) at :1:0 . See the MarkLogic server error log for further detail.

    1 unregistered visitors
    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 apply resource at resources/flow: Internal Server Error. Server Message: XDMP-AS: (err:XPTY0004) $func($identifier, $content, $headers, $options) -- Invalid coercion: xs:untypedAtomic("http://datahub/David_Perez_17077388349996699028http://www.w3.org...") as sem:triple . See the MarkLogic server error log for further detail.

      at com.marklogic.client.impl.JerseyServices.checkStatus()
    2. com.marklogic.client
      ResourceServicesImpl.post
      1. com.marklogic.client.impl.JerseyServices.checkStatus(JerseyServices.java:4626)
      2. com.marklogic.client.impl.JerseyServices.postIteratedResourceImpl(JerseyServices.java:4074)
      3. com.marklogic.client.impl.JerseyServices.postIteratedResource(JerseyServices.java:4004)
      4. com.marklogic.client.impl.ResourceServicesImpl.post(ResourceServicesImpl.java:100)
      4 frames
    3. com.marklogic.spring
      FlowWriter.write
      1. com.marklogic.spring.batch.hub.FlowWriter.write(FlowWriter.java:41)
      1 frame
    4. Spring Batch Core
      TaskletStep$ChunkTransactionCallback.doInTransaction
      1. org.springframework.batch.core.step.item.SimpleChunkProcessor.writeItems(SimpleChunkProcessor.java:175)
      2. org.springframework.batch.core.step.item.SimpleChunkProcessor.doWrite(SimpleChunkProcessor.java:151)
      3. org.springframework.batch.core.step.item.SimpleChunkProcessor.write(SimpleChunkProcessor.java:274)
      4. org.springframework.batch.core.step.item.SimpleChunkProcessor.process(SimpleChunkProcessor.java:199)
      5. org.springframework.batch.core.step.item.ChunkOrientedTasklet.execute(ChunkOrientedTasklet.java:75)
      6. org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:406)
      7. org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:330)
      7 frames
    5. Spring Tx
      TransactionTemplate.execute
      1. org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
      1 frame
    6. Spring Batch Core
      StepContextRepeatCallback.doInIteration
      1. org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:271)
      2. org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:81)
      2 frames
    7. Spring Batch Infrastructure
      RepeatTemplate.iterate
      1. org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:374)
      2. org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
      3. org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)
      3 frames
    8. Spring Batch Core
      AbstractStep.execute
      1. org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:257)
      2. org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:200)
      2 frames
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    10. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      4. org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
      5. org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
      6. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      7. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      7 frames
    11. com.sun.proxy
      $Proxy93.execute
      1. com.sun.proxy.$Proxy93.execute(Unknown Source)
      1 frame
    12. Spring Batch Core
      SimpleJobLauncher$1.run
      1. org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148)
      2. org.springframework.batch.core.job.AbstractJob.handleStep(AbstractJob.java:392)
      3. org.springframework.batch.core.job.SimpleJob.doExecute(SimpleJob.java:135)
      4. org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:306)
      5. org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:135)
      5 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame