java.lang.RuntimeException: Failed to execute JcrCallback.

JFrog JIRA | Frederic Simon | 9 years 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

    008-06-16 12:24:23,788 [INFO ] (HttpRepo.java:138) - java.net: Retrieving 'http://download.java.net/maven/2/.index/nexus-maven-repository-index.properties'... 2008-06-16 12:24:37,461 [ERROR] (JobRunShell.java:211) - Job DEFAULT.indexerJobDetail threw an unhandled Exception: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: javax.jcr.nodetype.ConstraintViolationException: /repositories/repo1-cache/.index/nexus-maven-repository-index.zip[2]/jcr:content: mandatory property {http://www.jcp.org/jcr/1.0}lastModified does not exist at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:538) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1205) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more 2008-06-16 12:24:37,465 [ERROR] (QuartzScheduler.java:2156) - Job (DEFAULT.indexerJobDetail threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.RuntimeException: Failed to execute JcrCallback.] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 1 more Caused by: javax.jcr.nodetype.ConstraintViolationException: /repositories/repo1-cache/.index/nexus-maven-repository-index.zip[2]/jcr:content: mandatory property {http://www.jcp.org/jcr/1.0}lastModified does not exist at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:538) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1205) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more 2008-06-16 12:25:16,503 [INFO ] (HttpRepo.java:138) - repo1: Retrieving 'http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip'... 2008-06-16 12:25:16,550 [INFO ] (HttpRepo.java:138) - rep

    JFrog JIRA | 9 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to execute JcrCallback.
  2. 0

    008-06-16 12:24:23,788 [INFO ] (HttpRepo.java:138) - java.net: Retrieving 'http://download.java.net/maven/2/.index/nexus-maven-repository-index.properties'... 2008-06-16 12:24:37,461 [ERROR] (JobRunShell.java:211) - Job DEFAULT.indexerJobDetail threw an unhandled Exception: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: javax.jcr.nodetype.ConstraintViolationException: /repositories/repo1-cache/.index/nexus-maven-repository-index.zip[2]/jcr:content: mandatory property {http://www.jcp.org/jcr/1.0}lastModified does not exist at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:538) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1205) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more 2008-06-16 12:24:37,465 [ERROR] (QuartzScheduler.java:2156) - Job (DEFAULT.indexerJobDetail threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.RuntimeException: Failed to execute JcrCallback.] at org.quartz.core.JobRunShell.run(JobRunShell.java:213) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:243) at org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) ... 1 more Caused by: javax.jcr.nodetype.ConstraintViolationException: /repositories/repo1-cache/.index/nexus-maven-repository-index.zip[2]/jcr:content: mandatory property {http://www.jcp.org/jcr/1.0}lastModified does not exist at org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:538) at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1205) at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897) at org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122) at org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236) ... 3 more 2008-06-16 12:25:16,503 [INFO ] (HttpRepo.java:138) - repo1: Retrieving 'http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip'... 2008-06-16 12:25:16,550 [INFO ] (HttpRepo.java:138) - rep

    JFrog JIRA | 9 years ago | Frederic Simon
    java.lang.RuntimeException: Failed to execute JcrCallback.

    Root Cause Analysis

    1. javax.jcr.nodetype.ConstraintViolationException

      /repositories/repo1-cache/.index/nexus-maven-repository-index.zip[2]/jcr:content: mandatory property {http://www.jcp.org/jcr/1.0}lastModified does not exist

      at org.apache.jackrabbit.core.ItemImpl.validateTransientItems()
    2. Jackrabbit Core
      SessionImpl.save
      1. org.apache.jackrabbit.core.ItemImpl.validateTransientItems(ItemImpl.java:538)
      2. org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1205)
      3. org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:897)
      3 frames
    3. org.artifactory.jcr
      JackrabbitJcrWrapper.doInSession
      1. org.artifactory.jcr.JcrSessionWrapper.save(JcrSessionWrapper.java:122)
      2. org.artifactory.jcr.JackrabbitJcrWrapper.doInSession(JackrabbitJcrWrapper.java:236)
      2 frames
    4. org.artifactory.scheduling
      ArtifactoryJob.execute
      1. org.artifactory.scheduling.ArtifactoryJob.execute(ArtifactoryJob.java:47)
      1 frame
    5. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
      2 frames