Splash › Forums › Rewrite Users › Bug when using param with name "view"
This topic contains 2 replies, has 3 voices, and was last updated by Christian Kaltepoth 5 years, 11 months ago.
I am having exception:
com.ocpsoft.pretty.PrettyException: PrettyFaces: Exception occurred while processing
with root cause java.lang.NullPointerException: Argument Error: Parameter targetClass is null
probably you use the name “view” in parameters for some reason
This does not sound like a bug that PrettyFaces would have caused. Please post an example app that reproduces this problem and we can take a look.
In the future, please post the full stack trace, and your relevant beans and configuration so that we can help you. We can’t do anything without these things.
I think you get a similar log output if an action method throws an unchecked exception. You could try to wrap the content of your action method in a try-catch block to get details.
You must be logged in to reply to this topic.
Comments are closed.
If you find our tools useful, please consider making a donation to help us stay online and building software!