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

SOLVED

CM Event Dispatcher issue

Avatar

Level 4

Hi,

 I downloaded sdk instance for cloud then I after i created a wknd-spa-react project with archtype34 and deployed into instance then im getting this issue 

*ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.sling.jcr.repoinit.RepositoryInitializer~wknd-spa-react)] com.adobe.granite.repository.impl.SlingRepositoryManager Exception in a SlingRepositoryInitializer: RepositoryInitializerFactory, references=[], scripts=6
org.apache.sling.repoinit.parser.RepoInitParsingException: Encountered "" at line 1, column 58.
Was expecting one of:
   
  at org.apache.sling.repoinit.parser.impl.RepoInitParserService.parse(RepoInitParserService.java:48) [org.apache.sling.repoinit.parser:1.6.10]
  at org.apache.sling.jcr.repoinit.impl.RepositoryInitializerFactory.processRepository(RepositoryInitializerFactory.java:126) [org.apache.sling.jcr.repoinit:1.1.36]
  at org.apache.sling.jcr.base.AbstractSlingRepositoryManager$2.addingService(AbstractSlingRepositoryManager.java:490) [org.apache.sling.jcr.base:3.1.10]
  at org.apache.sling.jcr.base.AbstractSlingRepositoryManager$2.addingService(AbstractSlingRepositoryManager.java:479) [org.apache.sling.jcr.base:3.1.10]
  at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:944)
  at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:872)
  at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
  at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
  at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:904)
  at org.apache.felix.framework.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:990)
  at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:838)
  at org.apache.felix.framework.EventDispatcher.fireServiceEvent(EventDispatcher.java:545)
  at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:4863)
  at org.apache.felix.framework.Felix.registerService(Felix.java:3834)
  at org.apache.felix.framework.BundleContextImpl.registerService(BundleContextImpl.java:328)
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Vani1012 

I have setup up AEMaaCS (2022.1.6198.20220113T173638Z-211100) on local and created wknd-spa-react project with archetype version 34, couldn't find such error. Please check if you are using same command for cloud as below.

mvn -B archetype:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=34 \
 -D appTitle="WKND SPA React" \
 -D appId="wknd-spa-react" \
 -D artifactId="aem-guides-wknd-spa.react" \
 -D groupId="com.adobe.aem.guides.wkndspa.react" \
 -D frontendModule="react" \
 -D aemVersion="cloud"


Regards,
Santosh

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @Vani1012 

I have setup up AEMaaCS (2022.1.6198.20220113T173638Z-211100) on local and created wknd-spa-react project with archetype version 34, couldn't find such error. Please check if you are using same command for cloud as below.

mvn -B archetype:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=34 \
 -D appTitle="WKND SPA React" \
 -D appId="wknd-spa-react" \
 -D artifactId="aem-guides-wknd-spa.react" \
 -D groupId="com.adobe.aem.guides.wkndspa.react" \
 -D frontendModule="react" \
 -D aemVersion="cloud"


Regards,
Santosh