[OpenVPMS Developers] [JIRA] Created: (OVPMS-934) ClassCastException: org.openvpms.web.component.im.edit.investigation.PatientIn

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Key: OVPMS-934 URL: https://openvpms.atlassian.net/browse/OVPMS-934 Project: VPMS Web Application Issue Type: Bug Components: Financial Affects Versions: 1.4-beta-2 Reporter: Tim Anderson Assignee: Tony De Keizer Fix For: 1.4

From a 1.4-beta-2 error report:

java.lang.ClassCastException: org.openvpms.web.component.im.edit.investigation.PatientInvestigationActEditor cannot be cast to org.openvpms.web.component.im.edit.act.PatientActEditor at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.getPatientActEditors(CustomerChargeActItemEditor.java:630) at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.getInvestigationActEditors(CustomerChargeActItemEditor.java:606) at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.getPatientActEditors(CustomerChargeActItemEditor.java:616) at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.updatePatientActsStartTime(CustomerChargeActItemEditor.java:392) at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.access$500(CustomerChargeActItemEditor.java:85) at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor$5.modified(CustomerChargeActItemEditor.java:199) at org.openvpms.web.component.property.ModifiableListeners.notifyListeners(ModifiableListeners.java:75) at org.openvpms.web.component.property.AbstractProperty.refresh(AbstractProperty.java:91) at org.openvpms.web.component.property.IMObjectProperty.modified(IMObjectProperty.java:492) at org.openvpms.web.component.property.IMObjectProperty.setValue(IMObjectProperty.java:145) at org.openvpms.web.component.bound.Binder.setProperty(Binder.java:138) at org.openvpms.web.component.bound.Binder.setProperty(Binder.java:95) at org.openvpms.web.component.bound.DateBinder$1.propertyChange(DateBinder.java:63) at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:298) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:291) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:229) at nextapp.echo2.app.Component.firePropertyChange(Component.java:457) at echopointng.DateChooser.access$100(DateChooser.java:73) at echopointng.DateChooser$ModelChangeListener.selectedDateChange(DateChooser.java:91) at echopointng.model.DefaultCalendarSelectionModel.fireSelectedChanged(DefaultCalendarSelectionModel.java:87) at echopointng.model.DefaultCalendarSelectionModel.setDates(DefaultCalendarSelectionModel.java:159) at echopointng.DateField.updateDateFromText(DateField.java:351) at org.openvpms.web.component.util.DateFieldImpl.updateDateFromText(DateFieldImpl.java:92) at echopointng.DateField$InternalListener.documentUpdate(DateField.java:68) at nextapp.echo2.app.text.AbstractDocument.fireDocumentUpdate(AbstractDocument.java:78) at nextapp.echo2.app.text.StringDocument.setText(StringDocument.java:69) at nextapp.echo2.app.text.TextComponent.setText(TextComponent.java:514) at nextapp.echo2.app.text.TextComponent.processInput(TextComponent.java:334) at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:110) at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472) 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:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292) at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:111) at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:71) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:108) at org.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:197) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:143) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:246) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:220) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:636)

-- 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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

[OpenVPMS Developers] [JIRA] Commented: (OVPMS-934) ClassCastExc

[ https://openvpms.atlassian.net/browse/OVPMS-934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11896#action_11896 ]

Tim Anderson commented on OVPMS-934: ------------------------------------

This error occurs during invoicing when an invoice item has been created with a product that has an investigation type. If the invoice items' start time, patient, or clinician is subsequently changed, the above error is thrown.

> ClassCastException: org.openvpms.web.component.im.edit.investigation.PatientInvestigationActEditor cannot be cast to org.openvpms.web.component.im.edit.act.PatientActEditor > ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: OVPMS-934 > URL: https://openvpms.atlassian.net/browse/OVPMS-934 > Project: VPMS Web Application > Issue Type: Bug > Components: Financial > Affects Versions: 1.4-beta-2 > Reporter: Tim Anderson > Assignee: Tony De Keizer > Fix For: 1.4 > > > From a 1.4-beta-2 error report: > java.lang.ClassCastException: org.openvpms.web.component.im.edit.investigation.PatientInvestigationActEditor cannot be cast to org.openvpms.web.component.im.edit.act.PatientActEditor > at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.getPatientActEditors(CustomerChargeActItemEditor.java:630) > at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.getInvestigationActEditors(CustomerChargeActItemEditor.java:606) > at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.getPatientActEditors(CustomerChargeActItemEditor.java:616) > at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.updatePatientActsStartTime(CustomerChargeActItemEditor.java:392) > at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor.access$500(CustomerChargeActItemEditor.java:85) > at org.openvpms.web.app.customer.charge.CustomerChargeActItemEditor$5.modified(CustomerChargeActItemEditor.java:199) > at org.openvpms.web.component.property.ModifiableListeners.notifyListeners(ModifiableListeners.java:75) > at org.openvpms.web.component.property.AbstractProperty.refresh(AbstractProperty.java:91) > at org.openvpms.web.component.property.IMObjectProperty.modified(IMObjectProperty.java:492) > at org.openvpms.web.component.property.IMObjectProperty.setValue(IMObjectProperty.java:145) > at org.openvpms.web.component.bound.Binder.setProperty(Binder.java:138) > at org.openvpms.web.component.bound.Binder.setProperty(Binder.java:95) > at org.openvpms.web.component.bound.DateBinder$1.propertyChange(DateBinder.java:63) > at java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:298) > at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:291) > at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:229) > at nextapp.echo2.app.Component.firePropertyChange(Component.java:457) > at echopointng.DateChooser.access$100(DateChooser.java:73) > at echopointng.DateChooser$ModelChangeListener.selectedDateChange(DateChooser.java:91) > at echopointng.model.DefaultCalendarSelectionModel.fireSelectedChanged(DefaultCalendarSelectionModel.java:87) > at echopointng.model.DefaultCalendarSelectionModel.setDates(DefaultCalendarSelectionModel.java:159) > at echopointng.DateField.updateDateFromText(DateField.java:351) > at org.openvpms.web.component.util.DateFieldImpl.updateDateFromText(DateFieldImpl.java:92) > at echopointng.DateField$InternalListener.documentUpdate(DateField.java:68) > at nextapp.echo2.app.text.AbstractDocument.fireDocumentUpdate(AbstractDocument.java:78) > at nextapp.echo2.app.text.StringDocument.setText(StringDocument.java:69) > at nextapp.echo2.app.text.TextComponent.setText(TextComponent.java:514) > at nextapp.echo2.app.text.TextComponent.processInput(TextComponent.java:334) > at nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:110) > at nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89) > at nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:472) > 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:647) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:292) > at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:111) > at org.openvpms.web.servlet.SkipLoginFilter.doFilter(SkipLoginFilter.java:71) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:108) > at org.acegisecurity.intercept.web.SecurityEnforcementFilter.doFilter(SecurityEnforcementFilter.java:197) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:143) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:246) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:220) > at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:303) > at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:173) > at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:120) > at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) > at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) > at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) > at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) > at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) > at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) > at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) > at java.lang.Thread.run(Thread.java:636)

-- 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

Syndicate content