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

Avatar

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.

Thoughts?

 

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 com.adobe.cq.social.ugc.impl.LuceneUgcSearch.addUpdatersForExtension(LuceneUgcSearch.java:934) at com.adobe.cq.social.ugc.impl.LuceneUgcSearch.initSearchCollection(LuceneUgcSearch.java:349) at com.adobe.cq.social.ugc.impl.LuceneUgcSearch.startupFinished(LuceneUgcSearch.java:219) at org.apache.sling.launchpad.base.impl.DefaultStartupHandler.startupFinished(DefaultStartupHandler.java:278) at org.apache.sling.launchpad.base.impl.DefaultStartupHandler.frameworkEvent(DefaultStartupHandler.java:245) at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:836) at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:786) at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:1096) at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:55) at org.apache.felix.framework.util.EventDispatcher$1.run(EventDispatcher.java:102) at java.lang.Thread.run(Unknown Source) Caused by: javax.jcr.nodetype.NoSuchNodeTypeException: cq:PageContent at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.internalGetNodeType(ReadOnlyNodeTypeManager.java:394) at org.apache.jackrabbit.oak.plugins.nodetype.ReadOnlyNodeTypeManager.getNodeType(ReadOnlyNodeTypeManager.java:146) at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.validateNodeTypeNames(ObservationManagerImpl.java:305) at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.addEventListener(ObservationManagerImpl.java:233) at org.apache.jackrabbit.oak.jcr.observation.ObservationManagerImpl.addEventListener(ObservationManagerImpl.java:204) at com.adobe.cq.social.ugc.impl.LuceneUgcSearch.addUpdatersForExtension(LuceneUgcSearch.java:922) ... 10 common frames omitted

Thanks!

2 Replies

Avatar

Level 10

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