Skip to main content
Magicr
Level 6
August 25, 2026
Question

IllegalPathException with AEM 6.6.2

  • August 25, 2026
  • 4 replies
  • 53 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?

4 replies

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)

 

shrutid56001193
User Group Leader
User Group Leader
August 31, 2026

@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?

https://www.shrutidamle.com/
Magicr
MagicrAuthor
Level 6
August 31, 2026

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