Skip to content

Converter being called unnecessarily #574

Description

@foxpv

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions