IllegalPathException with AEM 6.6.2 | Adobe Experience League Community
Skip to main content
Magicr
Level 6
August 25, 2026
Question

IllegalPathException with AEM 6.6.2

  • August 25, 2026
  • 1 reply
  • 7 views

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?

1 reply

Magicr
MagicrAuthor
Level 6
August 26, 2026

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)