[OpenVPMS Developers] [JIRA] Created: (OVPMS-1048) IndexOutOfBoundsException deleting patient medical record
IndexOutOfBoundsException deleting patient medical record ---------------------------------------------------------
Key: OVPMS-1048 URL: https://openvpms.atlassian.net/browse/OVPMS-1048 Project: VPMS Web Application Issue Type: Bug Components: Patient Affects Versions: 1.5-beta-2 Reporter: Tim Anderson Assignee: Tony De Keizer Priority: Minor Fix For: 1.5
From a 1.5-beta-2 error report:
{noformat} java.lang.IndexOutOfBoundsException: Index: 9, Size: 9 at java.util.ArrayList.rangeCheck(ArrayList.java:571) at java.util.ArrayList.get(ArrayList.java:349) at org.openvpms.web.app.patient.mr.SummaryTableBrowser.onSelected(SummaryTableBrowser.java:126) at org.openvpms.web.app.patient.mr.SummaryTableBrowser.setSelected(SummaryTableBrowser.java:81) at org.openvpms.web.app.patient.mr.SummaryTableBrowser.setSelected(SummaryTableBrowser.java:41) at org.openvpms.web.app.patient.mr.RecordBrowser.query(RecordBrowser.java:377) at org.openvpms.web.app.patient.mr.RecordBrowser.query(RecordBrowser.java:243) at org.openvpms.web.app.subsystem.BrowserCRUDWorkspace.onDeleted(BrowserCRUDWorkspace.java:303) at org.openvpms.web.app.subsystem.AbstractCRUDWorkspace$1.deleted(AbstractCRUDWorkspace.java:161) at org.openvpms.web.app.subsystem.AbstractCRUDWindow.onDeleted(AbstractCRUDWindow.java:480) at org.openvpms.web.app.patient.mr.SummaryCRUDWindow.onDeleted(SummaryCRUDWindow.java:177) at org.openvpms.web.app.patient.mr.SummaryCRUDWindow.onDeleted(SummaryCRUDWindow.java:45) at org.openvpms.web.app.subsystem.AbstractCRUDWindow$1.deleted(AbstractCRUDWindow.java:229) at org.openvpms.web.component.im.util.IMObjectDeletor.doRemove(IMObjectDeletor.java:139) at org.openvpms.web.component.im.util.DefaultIMObjectDeletor$2.onOK(DefaultIMObjectDeletor.java:109) at org.openvpms.web.component.dialog.PopupDialogListener.onAction(PopupDialogListener.java:111) at org.openvpms.web.component.dialog.PopupDialogListener.onClose(PopupDialogListener.java:43) at org.openvpms.web.component.event.WindowPaneListener.windowPaneClosing(WindowPaneListener.java:39) at nextapp.echo2.app.WindowPane.fireWindowClosing(WindowPane.java:154) at org.openvpms.web.component.dialog.PopupWindow.fireWindowClosing(PopupWindow.java:259) at nextapp.echo2.app.WindowPane.userClose(WindowPane.java:795) at org.openvpms.web.component.dialog.MessageDialog.userClose(MessageDialog.java:87) at org.openvpms.web.component.dialog.PopupWindow.close(PopupWindow.java:183) at org.openvpms.web.component.dialog.PopupDialog.close(PopupDialog.java:329) at org.openvpms.web.component.dialog.PopupDialog.onOK(PopupDialog.java:245) at org.openvpms.web.component.dialog.PopupDialog.onButton(PopupDialog.java:216) at org.openvpms.web.component.dialog.PopupDialog$2.onAction(PopupDialog.java:342) at org.openvpms.web.component.event.ActionListener.actionPerformed(ActionListener.java:41) at nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135) at echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120) at nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70) at echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51) at echopointng.ButtonEx.processInput(ButtonEx.java:202) at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116) at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:471) at nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279) at nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273) at org.openvpms.web.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:148) at nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189) at javax.servlet.http.HttpServlet.service(HttpServlet.java:637) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:343) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:78) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:187) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:97) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:79) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:355) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:636) {noformat}
To reproduce, go to Patients -> Medical Records -> Summary, and delete the last record.
-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf