Re: Exception starting filter Pretty Filter

Splash Forums PrettyFaces Users Exception starting filter Pretty Filter Re: Exception starting filter Pretty Filter

#21160

Hey Hendrik,

actually this looks more like a problem of Seam Faces. The NullPointerException is thrown from within the PrettyFaces integration code of Seam Faces. I just had a quick look at the Seam Faces source. The class BeanManagerUtils requires the BeanManager which is injected via @Inject. But for some reason this doesn’t seem to work. Therefore the manager property is null and the subsequent code will fail to execute correctly.

See:

https://github.com/seam/faces/blob/3.0.2.Final/impl/src/main/java/org/jboss/seam/faces/util/BeanManagerUtils.java#L103

I’m note sure what the exact cause of this problem is. I see no reason why injection of the BeanManager could not work. You could try to bundle Seam Faces within the WAR file instead of inside the EAR. Perhaps this causes some issue?

Christian