Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

NoSuchNodeTypeException after restart


Level 3

Looking for root cause of NoSuchNodeTypeExceptions which are preventing AEM instances (two of them on the same server... Author/Publish) from starting successfully.

The exact pathology is a but unclear at this point.  The servers were shutdown, compaction was executed and failed.  Then when restarted these errors showed up and AEM was not healthy.

However, after restoring a backup from when the AEM instance was healthy the same error occurs.  And now the same shows up on the Publish instance on the same server.



These errors show for multiple node types:  cq:Page, cq:PageContent, cq:Workflow, etc...

Error (example):

18.04.2016 07:48:10.935 *ERROR* [FelixDispatchQueue] org.apache.felix.framework FrameworkEvent ERROR (java.lang.RuntimeException: javax.jcr.nodetype.NoSuchNodeTypeException: cq:PageContent) java.lang.RuntimeException: javax.jcr.nodetype.NoSuchNodeTypeException: cq:PageContent at at at at at at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback( at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately( at at org.apache.felix.framework.util.EventDispatcher.access$000( at org.apache.felix.framework.util.EventDispatcher$ at Source) Caused by: javax.jcr.nodetype.NoSuchNodeTypeException: cq:PageContent at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.internalGetNodeType( at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getNodeType( at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.validateNodeTypeNames( at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.addEventListener( at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.addEventListener( at ... 10 common frames omitted


2 Replies


Level 10

try placing your apps and content into a pscksge. Try installing on fresh cq instance. Then see if those errors occur.