Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Issue after deploying project to author instance

Avatar

Level 8
Hi,
I created a project with this cmnd 
mvn -B archetype:generate
-D archetypeGroupId=com.adobe.aem
-D archetypeArtifactId=aem-project-archetype
-D archetypeVersion=26
-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="6.5.11.0"
 
then after I deployed it to aem instance then i am getting the below error
 
 *ERROR* [FelixStartLevel] org.apache.sling.commons.metrics-rrd4j bundle org.apache.sling.commons.metrics-rrd4j:1.0.4 (529)[org.apache.sling.commons.metrics.rrd4j.impl.CodahaleMetricsReporter(3379)] : The activate method has thrown an exception (java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/aem-integ-react/author/crx-quickstart/metrics/metrics.rrd)
java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/aem-integ-react/author/crx-quickstart/metrics/metrics.rrd
    at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
    at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
    at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
    at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
    at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
    at java.base/java.nio.file.Path.of(Path.java:147)
    at java.base/java.nio.file.Paths.get(Paths.java:69)
    at org.rrd4j.core.RrdFileBackendFactory.exists(RrdFileBackendFactory.java:26) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at org.rrd4j.core.RrdBackendFactory.exists(RrdBackendFactory.java:533) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at org.rrd4j.core.RrdDb.<init>(RrdDb.java:609) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at org.rrd4j.core.RrdDb.<init>(RrdDb.java:572) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at org.apache.sling.commons.metrics.rrd4j.impl.RRD4JReporter.createDB(RRD4JReporter.java:374) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at org.apache.sling.commons.metrics.rrd4j.impl.RRD4JReporter.<init>(RRD4JReporter.java:205) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at org.apache.sling.commons.metrics.rrd4j.impl.RRD4JReporter$Builder.build(RRD4JReporter.java:170) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at org.apache.sling.commons.metrics.rrd4j.impl.CodahaleMetricsReporter.activate(CodahaleMetricsReporter.java:138) [org.apache.sling.commons.metrics-rrd4j:1.0.4]
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.apache.felix.scr.impl.inject.methods.BaseMethod.invokeMethod(BaseMethod.java:242) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.inject.methods.BaseMethod.access$500(BaseMethod.java:41) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.inject.methods.BaseMethod$Resolved.invoke(BaseMethod.java:678) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.inject.methods.BaseMethod.invoke(BaseMethod.java:524) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:318) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.inject.methods.ActivateMethod.invoke(ActivateMethod.java:308) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.manager.SingleComponentManager.createImplementationObject(SingleComponentManager.java:342) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.manager.SingleComponentManager.createComponent(SingleComponentManager.java:115) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:984) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:957) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManager.java:902) [org.apache.felix.scr:2.1.20]
    at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistrationImpl.java:348)
    at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:248)
    at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:350)
    at org.apache.felix.framework.Felix.getService(Felix.java:3954)
    at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:450)
   
I did restarting the instance but the error isn't fixed, Can anyone help me 
5 Replies

Avatar

Level 8

Hi @Himanshu_Jain ,

 

yes I stopped my instance and started again eventhough the issue isnt fixed

Avatar

Employee Advisor

Hi @Vani1012 ,

 

Are you still facing the issue, or you did something to fix ?

Thanks,

Milimd

Avatar

Level 8

Hi @milind_bachani ,

 

I am still facing the issue actually I  tried to drag Helloworld custom component its not displaying on page but in crxd it showing as added, Can you help me.