Re: NullPointerException in ScopedAttributeELResolver.setValue(…

Splash Forums PrettyFaces Users NullPointerException in ScopedAttributeELResolver.setValue(… Re: NullPointerException in ScopedAttributeELResolver.setValue(…

#20392

Hey Frederik,

I looked at your project and can now also reproduce this issue with Tomcat. But I’ve to look deeper into it to find the exact cause. It is definitively related to the request p:graphicText creates.

To work around this issue you could remove the f:viewParam tag for urlcompanyname from your page and directly inject the path parameter into your bean. Something like this:

<url-mapping id="bedrijf">
<pattern value="/#{bedrijfBackingBean.urlcompanyname}" />
<view-id>/faces/bedrijf.xhtml</view-id>
</url-mapping>

This should work as expected. I’ll come back to you later with more details.