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

Adobe Summit is happening now. Discover what's next in customer experience

MSM-Core fails to start in AEM 6.4.2 if cq:master is empty.


Level 2


Hi all,

This is more of a feedback to AEM team.

Just did an upgrade to AEM 6.3 to 6.4 of a production system, all went well in the first upgradestep to 6.4.0. However when installing SP 6.4.2 the system never started properly.

After a massive debug process, it turned out that we had a couple of sites where the cq:master attribute in LiveSyncConfig was empty, this caused the msm-core to fail during startup with the following dump:


22.10.2018 12:50:19.912 *ERROR* [qtp1785523215-65] bundle (432)[] : The activate method has thrown an exception (javax.jcr.RepositoryException: Not an absolute path: )

javax.jcr.RepositoryException: Not an absolute path:

        at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getOakPathOrThrow( [org.apache.jackrabbit.oak-jcr:1.8.7]

        at org.apache.jackrabbit.oak.jcr.session.SessionImpl.access$100( [org.apache.jackrabbit.oak-jcr:1.8.7]

        at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable( [org.apache.jackrabbit.oak-jcr:1.8.7]

        at org.apache.jackrabbit.oak.jcr.session.SessionImpl$1.performNullable( [org.apache.jackrabbit.oak-jcr:1.8.7]

        at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.performNullable( [org.apache.jackrabbit.oak-jcr:1.8.7]

        at org.apache.jackrabbit.oak.jcr.session.SessionImpl.getNodeOrNull( [org.apache.jackrabbit.oak-jcr:1.8.7]

        at org.apache.jackrabbit.oak.jcr.session.SessionImpl.nodeExists( [org.apache.jackrabbit.oak-jcr:1.8.7]

        at com.adobe.granite.repository.impl.CRX3SessionImpl.nodeExists( [com.adobe.granite.repository:1.4.88]

        at []

        at []

        at sun.reflect.GeneratedMethodAccessor50.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(

        at java.lang.reflect.Method.invoke(

        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod( [org.apache.felix.scr:2.1.0.B008]

        at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500( [org.apache.felix.scr:2.1.0.B008]

        at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke( [org.apache.felix.scr:2.1.0.B008]

        at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke( [org.apache.felix.scr:2.1.0.B008]

        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke( [org.apache.felix.scr:2.1.0.B008]

        at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke( [org.apache.felix.scr:2.1.0.B008]

        at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject( [org.apache.felix.scr:2.1.0.B008]


In order to find the fault, you search for the following using crxde:

SELECT * FROM [cq:LiveSyncConfig] AS s WHERE ISDESCENDANTNODE([/content]) AND s.[cq:master] = ''

Change the master refernce to something useful and that does exist!

The code cannot handle the situation where a reference is missing or is pointing to something invalid, and therefor AEM never starts properly.


The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now