Hi Win, See https://tickets.openmrs.org/browse/TRUNK-2205
If you're running against OpenMRS 1.8.x, you could try putting @JsonIgnore on BaseOpenmrsData.getVoided in core and see if that fixes things. If that solves the problem, I propose that we make that change in core in all the versions that include Jackson. (I think that's 1.7+.) -Darius On Wed, Aug 24, 2011 at 8:47 PM, Nyoman Ribeka <nyo...@openmrs.org> wrote: > Hi all, > > I don't know if anyone have encounter this problem before or not. > > In my module, I have a ReminderResponse object which extends the > BaseOpenmrsData. Basically I want to send a list of the above object > through the controller using the @ResponseBody annotation. > > @ResponseBody List<ReminderResponse> searchResponses(...); > > When I open the jsp page, I receive HTTP 500 and the stacktrace only > shows this line of message: > 2011-08-24 > 23:25:30.067::WARN: > /openmrs/module/clinicalsummary/response/responseSearch.form: > org.codehaus.jackson.map.JsonMappingException: Conflicting getter > definitions for property "voided": org.openmrs.BaseOpenmrsData#isVoided(0 > params) vs org.openmrs.BaseOpenmrsData#getVoided(0 params) (through > reference chain: java.util.ArrayList[0]) > > Is there any particular reason we have both isVoided and getVoided? > > -Win > > _________________________________________ > > To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to > lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the body > (not the subject) of your e-mail. > > [mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l] > _________________________________________ To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to lists...@listserv.iupui.edu with "SIGNOFF openmrs-devel-l" in the body (not the subject) of your e-mail. [mailto:lists...@listserv.iupui.edu?body=SIGNOFF%20openmrs-devel-l]