Skip to main content
Magicr
Level 6
Aug 25, 2026 3:08 PM UTC
Solved

IllegalPathException with AEM 6.6.2

My local instance of AEM 6.6.2 (6.5 lts sp2) runs on a Windows computer. I’m using Java21. When I install a content package with DAM assets, my local file error.log will be flooded with following error message:

 java.nio.file.InvalidPathException: Illegal char <:> at index 39: /content/dam/940x530.jpg/jcr:content/jcr:lastModifiedBy
    at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:204)

According the Internet, the method function WindowsPathParser is internal used by Java’s Path.of()

How can I fix this?

shrutid56001193
shrutid56001193Accepted solution
User Group Leader
Sep 1, 2026 6:48 AM UTC

@Magicr thanks for the details.

Since the package installs successfully and the DAM assets can be opened afterwards, so there doesn't appear to be a functional impact.

This appears to be a benign Windows-specific error in AEM Sites Eventing.

The : in:

jcr:content

jcr:lastModifiedBy

is completely valid in a JCR path. But Java's Windows Path implementation treats : as an illegal filesystem-path character, hence:

sun.nio.fs.WindowsPathParser.normalize()

The fact that the asset installs successfully and is accessible afterwards reinforces that the exception is happening while an observation event is being dispatched, not while AEM is actually persisting the asset.

And the log tells us exactly that:

org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor

→

com.adobe.aem.sites.eventing.impl.observers.JcrListener

​ 
About the log flooding - It would be worth checking with Adobe whether this is a known issue with the Sites Eventing bundle on Windows and whether a newer/fixed bundle is available.

https://www.shrutidamle.com/

4 replies

Magicr
MagicrAuthor
Level 6
Aug 26, 2026 8:27 AM UTC

Here the complete Line in error.log:

2026-08-25T16:23:26.236+02:00  WARN o.a.j.o.jcr.observation.ChangeProcessor  --- [sling-oak-observation-3] {} : Error while dispatching observation events for //*[111111b]@com.adobe.aem.sites.eventing.impl.observers.JcrListener$$Lambda/0x0000022f81a978e8

java.nio.file.InvalidPathException: Illegal char <:> at index 39: /content/dam/940x530.jpg/jcr:content/jcr:lastModifiedBy
    at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:204)

 

Translate
shrutid56001193
User Group Leader
User Group Leader
Aug 31, 2026 6:52 AM UTC

​@Magicr does the package gets successfully installed and the asset opens? can you provide com.adobe.aem.sites-eventing bundle version from that SP2 instance?

Translate
https://www.shrutidamle.com/
Magicr
MagicrAuthor
Level 6
Aug 31, 2026 9:34 AM UTC

The assets can be opened successfully. The version of your requested bundle is  0.0.84.65lts-1

Translate