Expand my Community achievements bar.

Internal Server Error - On Page Create

Avatar

Level 2

Hello

I'm getting following error when trying to create a page in AEM 6.0...

admin.createpagewizard.page.POST$jsp Error occur creating a new page
javax.jcr.InvalidItemStateException: OakState0001: Unresolved conflicts in /content/bmi/news/other/anuj-test---internal-server-error/jcr:content
        at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:237)
        at org.apache.jackrabbit.oak.api.CommitFailedException.asRepositoryException(CommitFailedException.java:212)
        at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.newRepositoryException(SessionDelegate.java:661)


Caused by: org.apache.jackrabbit.oak.api.CommitFailedException: OakState0001: Unresolved conflicts in /content/bmi/news/other/anuj-test---internal-server-error/jcr:content
        at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.failOnMergeConflict(ConflictValidator.java:115)
        at org.apache.jackrabbit.oak.plugins.commit.ConflictValidator.propertyAdded(ConflictValidator.java:84)
        at org.apache.jackrabbit.oak.spi.commit.CompositeEditor.propertyAdded(CompositeEditor.java:83)

 

As per the following post,

The below error could be due to two reasons. But since we are using OOTB feature of AEM, we cannot implement session refresh?

https://cqdump.wordpress.com/2015/11/02/aem-anti-pattern-long-running-sessions/

Any pointers?

Thanks in advance.

-Anuj Varshney

5 Replies

Avatar

Level 10

Is this happening for all pages or only certain templates? 

Avatar

Employee Advisor

HI,

I don't think that a long-running session is involved here, but there's rather a conflict between 2 concurrent processes. Does this occur in an out-of-the-box installation or do you have custom code already installed?

Jörg

Avatar

Level 2

We have custom code already installed. Even though we are getting an Error message, but page is getting created fine.

-Anuj

Avatar

Level 10

"Even though we are getting an Error message, but page is getting created fine."

So the page is created - only issue is you are getting error log when using the specific template?