Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converter being called unnecessarily #574

Open
foxpv opened this issue Oct 1, 2013 · 0 comments
Open

Converter being called unnecessarily #574

foxpv opened this issue Oct 1, 2013 · 0 comments
Labels

Comments

@foxpv
Copy link

foxpv commented Oct 1, 2013

I created one form that fills object of the type X and record in the data base.

After that, I created other form that fills object of the type Y and record in the data base, and, the type Y have one attribute of the type X. So I created a converter for the type X.

If I go back to the first form and submit, VRaptor throws a NullPointerException at br.com.caelum.vraptor.http.iogi.VRaptorInstantiator$VRaptorTypeConverter.setPropertiesAfterConversions(VRaptorInstantiator.java:144)

Maybe it occurs because VRaptor recognize the converter of type X and try to use that to convert some attribute, but the first form don't have any parameter of type X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants