Runtime error when running composite tag - Jakarta Faces (JSF 4.0) -Version 6.2023.10

Even with a totally empty interface/implementation I always get the following error at runtime:
WARNING: StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
jakarta.faces.view.facelets.TagException: /compositeTag.xhtml @7,80 composite:interface Component Not Found for identifier: j_idt31.getParent().
The error always refers to the id of the enclosing component (in this case j_idt31). As said there is no code except an empty interface/implementation (in other words I’m not calling getParent())