Jahia in English > While publishing...

0 (0 Good)
0 (0 Bad)

While publishing getting Exceptions

by  While publishing getting Exceptions »  2014/06/13 12:25

Hi,

Please let me know a solution if some one had come across below Exceptions,

Exception 1:

2014-06-13 06:21:38,096: INFO  [scheduler_Worker-1] org.jahia.services.scheduler.SchedulerService: Background job PublicationJob-13fbfbaa-13f3-451a-a6a3-601c97115812 (of type PublicationJob) started @ 2014-06-13 06:21:38.096
2014-06-13 06:21:38,296: ERROR [scheduler_Worker-1] org.jahia.services.content.JCRPublicationService: Error when merging differences
javax.jcr.RepositoryException: invalid name: eerichtext/j:referenceInField_Rich_Text_2
        at org.apache.jackrabbit.core.NodeImpl.orderBefore(NodeImpl.java:1798)
        at org.jahia.services.content.JCRNodeWrapperImpl.orderBefore(JCRNodeWrapperImpl.java:2845)
        at org.jahia.services.content.ConflictResolver$ChildNodeReorderedDiff.apply(ConflictResolver.java:645)
        at org.jahia.services.content.ConflictResolver.applyDifferences(ConflictResolver.java:124)
        at org.jahia.services.content.JCRPublicationService.mergeToDestinationWorkspace(JCRPublicationService.java:592)
        at org.jahia.services.content.JCRPublicationService.publish(JCRPublicationService.java:399)
        at org.jahia.services.content.JCRPublicationService.access$200(JCRPublicationService.java:73)
        at org.jahia.services.content.JCRPublicationService$3$1.doInJCR(JCRPublicationService.java:242)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:151)
        at org.jahia.services.content.JCRTemplate.doExecute(JCRTemplate.java:289)
        at org.jahia.services.content.JCRPublicationService$3.doInJCR(JCRPublicationService.java:240)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
        at org.jahia.services.content.JCRTemplate.doExecute(JCRTemplate.java:263)
        at org.jahia.services.content.JCRPublicationService.publish(JCRPublicationService.java:238)
        at org.jahia.services.content.PublicationJob.executeJahiaJob(PublicationJob.java:77)
        at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:134)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
2014-06-13 06:21:38,302: ERROR [scheduler_Worker-1] org.jahia.services.scheduler.BackgroundJob: Error executing job PublicationJob.PublicationJob-13fbfbaa-13f3-451a-a6a3-601c97115812
javax.jcr.InvalidItemStateException: Unable to perform operation. Session has pending changes.
        at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:269)
        at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
        at org.apache.jackrabbit.core.VersionManagerImpl.getNodeState(VersionManagerImpl.java:633)
        at org.apache.jackrabbit.core.VersionManagerImpl.getNodeState(VersionManagerImpl.java:618)
        at org.apache.jackrabbit.core.VersionManagerImpl.doneMerge(VersionManagerImpl.java:478)
        at org.jahia.services.content.JCRWorkspaceWrapper$VersionManagerWrapper.doneMerge(JCRWorkspaceWrapper.java:497)
        at org.jahia.services.content.JCRPublicationService.mergeToDestinationWorkspace(JCRPublicationService.java:600)
        at org.jahia.services.content.JCRPublicationService.publish(JCRPublicationService.java:399)
        at org.jahia.services.content.JCRPublicationService.access$200(JCRPublicationService.java:73)
        at org.jahia.services.content.JCRPublicationService$3$1.doInJCR(JCRPublicationService.java:242)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:151)
        at org.jahia.services.content.JCRTemplate.doExecute(JCRTemplate.java:289)
        at org.jahia.services.content.JCRPublicationService$3.doInJCR(JCRPublicationService.java:240)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
        at org.jahia.services.content.JCRTemplate.doExecute(JCRTemplate.java:263)
        at org.jahia.services.content.JCRPublicationService.publish(JCRPublicationService.java:238)
        at org.jahia.services.content.PublicationJob.executeJahiaJob(PublicationJob.java:77)
        at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:134)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
2014-06-13 06:21:38,303: INFO  [scheduler_Worker-1] org.quartz.core.JobRunShell: Job PublicationJob.PublicationJob-13fbfbaa-13f3-451a-a6a3-601c97115812 threw a JobExecutionException:
org.quartz.JobExecutionException: javax.jcr.InvalidItemStateException: Unable to perform operation. Session has pending changes. [See nested exception: javax.jcr.InvalidItemStateException: Unable to perform operation. Session has pending changes.]
        at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:142)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: javax.jcr.InvalidItemStateException: Unable to perform operation. Session has pending changes.
        at org.apache.jackrabbit.core.ItemValidator.checkCondition(ItemValidator.java:269)
        at org.apache.jackrabbit.core.ItemValidator.checkModify(ItemValidator.java:248)
        at org.apache.jackrabbit.core.VersionManagerImpl.getNodeState(VersionManagerImpl.java:633)
        at org.apache.jackrabbit.core.VersionManagerImpl.getNodeState(VersionManagerImpl.java:618)
        at org.apache.jackrabbit.core.VersionManagerImpl.doneMerge(VersionManagerImpl.java:478)
        at org.jahia.services.content.JCRWorkspaceWrapper$VersionManagerWrapper.doneMerge(JCRWorkspaceWrapper.java:497)
        at org.jahia.services.content.JCRPublicationService.mergeToDestinationWorkspace(JCRPublicationService.java:600)
        at org.jahia.services.content.JCRPublicationService.publish(JCRPublicationService.java:399)
        at org.jahia.services.content.JCRPublicationService.access$200(JCRPublicationService.java:73)
        at org.jahia.services.content.JCRPublicationService$3$1.doInJCR(JCRPublicationService.java:242)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:151)
        at org.jahia.services.content.JCRTemplate.doExecute(JCRTemplate.java:289)
        at org.jahia.services.content.JCRPublicationService$3.doInJCR(JCRPublicationService.java:240)
        at org.jahia.services.content.JCRTemplate.doExecuteWithSystemSession(JCRTemplate.java:178)
        at org.jahia.services.content.JCRTemplate.doExecute(JCRTemplate.java:263)
        at org.jahia.services.content.JCRPublicationService.publish(JCRPublicationService.java:238)
        at org.jahia.services.content.PublicationJob.executeJahiaJob(PublicationJob.java:77)
        at org.jahia.services.scheduler.BackgroundJob.execute(BackgroundJob.java:134)
        ... 2 more

 

Exception 2:

When tried publishing with the root access

 

2014-06-13 08:01:24,782: WARN  [TP-Processor10] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715
2014-06-13 08:01:24,782: WARN  [TP-Processor13] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715
2014-06-13 08:01:24,794: WARN  [TP-Processor10] org.jahia.services.content.JCRPublicationService: Cannot get reference 2949446e-bf71-4376-8874-0259d5e0598d
2014-06-13 08:01:24,794: WARN  [TP-Processor13] org.jahia.services.content.JCRPublicationService: Cannot get reference 2949446e-bf71-4376-8874-0259d5e0598d
2014-06-13 08:01:24,823: WARN  [TP-Processor10] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715
2014-06-13 08:01:24,823: WARN  [TP-Processor13] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715
2014-06-13 08:01:24,829: WARN  [TP-Processor10] org.jahia.services.content.JCRPublicationService: Cannot get reference 2949446e-bf71-4376-8874-0259d5e0598d
2014-06-13 08:01:24,829: WARN  [TP-Processor13] org.jahia.services.content.JCRPublicationService: Cannot get reference 2949446e-bf71-4376-8874-0259d5e0598d
2014-06-13 08:01:24,890: WARN  [TP-Processor10] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715
2014-06-13 08:01:24,891: WARN  [TP-Processor13] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715
2014-06-13 08:01:24,950: WARN  [TP-Processor10] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715
2014-06-13 08:01:24,951: WARN  [TP-Processor13] org.jahia.services.content.JCRPublicationService: Cannot get reference 696b6f30-d9a8-4959-8e9b-e9cf42762715

 

 

Thanks,

Prabakar

While publishing getting Exceptions
Number of messages  1
Not registered
Contact
Share
Feedback

Get in touch

Whether you are a current user or if you are just evaluating Jahia, we are here to help.

Contact us

Share this page