Errors loading patients

Tim have you seen anything that would cause this ?

​<error-report>
<version>1.9-SNAPSHOT</version>
<revision>Archetype_Changes 6458925</revision>
<message>The Query returns results of type class org.openvpms.component.business.domain.im.common.IMObject, but the expected type is class org.openvpms.component.business.domain.im.act.Act</message>
<exception>
<type>org.openvpms.web.component.im.query.QueryException</type>
<message>The Query returns results of type class org.openvpms.component.business.domain.im.common.IMObject, but the expected type is class org.openvpms.component.business.domain.im.act.Act</message>
<stackTrace>
<trace>org.openvpms.web.component.im.query.AbstractQuery.&lt;init&gt;(AbstractQuery.java:129)</trace>
<trace>org.openvpms.web.component.im.query.AbstractArchetypeQuery.&lt;init&gt;(AbstractArchetypeQuery.java:155)</trace>
<trace>org.openvpms.web.component.im.query.ActQuery.&lt;init&gt;(ActQuery.java:134)</trace>
<trace>org.openvpms.web.component.im.query.DateRangeActQuery.&lt;init&gt;(DateRangeActQuery.java:118)</trace>
<trace>org.openvpms.web.component.im.query.DateRangeActQuery.&lt;init&gt;(DateRangeActQuery.java:86)</trace>
<trace>org.openvpms.web.workspace.patient.communication.PatientCommunicationQuery.&lt;init&gt;(PatientCommunicationQuery.java:45)</trace>
<trace>org.openvpms.web.workspace.patient.mr.RecordBrowser.createCommunicationBrowser(RecordBrowser.java:444)</trace>
<trace>org.openvpms.web.workspace.patient.mr.RecordBrowser.&lt;init&gt;(RecordBrowser.java:190)</trace>
<trace>org.openvpms.web.workspace.patient.mr.PatientRecordWorkspace.createRecordBrowser(PatientRecordWorkspace.java:190)</trace>
<trace>org.openvpms.web.workspace.patient.mr.PatientRecordWorkspace.createBrowser(PatientRecordWorkspace.java:169)</trace>
<trace>org.openvpms.web.component.workspace.BrowserCRUDWorkspace.layoutWorkspace(BrowserCRUDWorkspace.java:354)</trace>
<trace>org.openvpms.web.component.workspace.BrowserCRUDWorkspace.setObject(BrowserCRUDWorkspace.java:161)</trace>
<trace>org.openvpms.web.workspace.patient.mr.PatientRecordWorkspace.setObject(PatientRecordWorkspace.java:80)</trace>
<trace>org.openvpms.web.workspace.patient.mr.PatientRecordWorkspace.setObject(PatientRecordWorkspace.java:52)</trace>
<trace>org.openvpms.web.component.workspace.AbstractWorkspace.setIMObject(AbstractWorkspace.java:191)</trace>
<trace>org.openvpms.web.component.workspace.AbstractWorkspace.update(AbstractWorkspace.java:205)</trace>
<trace>org.openvpms.web.workspace.MainPane.changeContext(MainPane.java:310)</trace>
<trace>org.openvpms.web.workspace.OpenVPMSApp.switchTo(OpenVPMSApp.java:274)</trace>
<trace>org.openvpms.web.component.app.DefaultContextSwitchListener.switchTo(DefaultContextSwitchListener.java:49)</trace>
<trace>org.openvpms.web.component.im.view.IMObjectReferenceViewer.onView(IMObjectReferenceViewer.java:230)</trace>
<trace>org.openvpms.web.component.im.view.IMObjectReferenceViewer$1.onAction(IMObjectReferenceViewer.java:131)</trace>
<trace>org.openvpms.web.echo.event.ActionListener.actionPerformed(ActionListener.java:40)</trace>
<trace>nextapp.echo2.app.button.AbstractButton.fireActionPerformed(AbstractButton.java:135)</trace>
<trace>echopointng.ButtonEx$1.actionPerformed(ButtonEx.java:120)</trace>
<trace>nextapp.echo2.app.button.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:70)</trace>
<trace>echopointng.model.DefaultButtonModelEx.doAction(DefaultButtonModelEx.java:51)</trace>
<trace>echopointng.ButtonEx.processInput(ButtonEx.java:202)</trace>
<trace>nextapp.echo2.app.update.ClientUpdateManager.process(ClientUpdateManager.java:116)</trace>
<trace>nextapp.echo2.app.update.UpdateManager.processClientUpdates(UpdateManager.java:89)</trace>
<trace>nextapp.echo2.webcontainer.ContainerSynchronizeService.renderUpdate(ContainerSynchronizeService.java:471)</trace>
<trace>nextapp.echo2.webrender.service.SynchronizeService.service(SynchronizeService.java:279)</trace>
<trace>nextapp.echo2.webrender.WebRenderServlet.process(WebRenderServlet.java:273)</trace>
<trace>org.openvpms.web.echo.servlet.SpringWebContainerServlet.process(SpringWebContainerServlet.java:178)</trace>
<trace>nextapp.echo2.webrender.WebRenderServlet.doPost(WebRenderServlet.java:189)</trace>
<trace>javax.servlet.http.HttpServlet.service(HttpServlet.java:646)</trace>
<trace>javax.servlet.http.HttpServlet.service(HttpServlet.java:727)</trace>
<trace>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)</trace>
<trace>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</trace>
<trace>org.openvpms.web.echo.servlet.Log4JMDCUserFilter.doFilter(Log4JMDCUserFilter.java:58)</trace>
<trace>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</trace>
<trace>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)</trace>
<trace>org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)</trace>
<trace>org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:199)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)</trace>
<trace>org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)</trace>
<trace>org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)</trace>
<trace>org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)</trace>
<trace>org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)</trace>
<trace>org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)</trace>
<trace>org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)</trace>
<trace>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</trace>
<trace>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</trace>
<trace>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)</trace>
<trace>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)</trace>
<trace>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)</trace>
<trace>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)</trace>
<trace>com.googlecode.psiprobe.Tomcat70AgentValve.invoke(Tomcat70AgentValve.java:38)</trace>
<trace>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)</trace>
<trace>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)</trace>
<trace>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)</trace>
<trace>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)</trace>
<trace>org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)</trace>
<trace>org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)</trace>
<trace>org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)</trace>
<trace>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</trace>
<trace>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</trace>
<trace>java.lang.Thread.run(Thread.java:745)</trace>
</stackTrace>
</exception>
<freeMemory>261782920</freeMemory>
<totalMemory>570646528</totalMemory>
<maxMemory>1056309248</maxMemory>
<properties>
<property name="java.runtime.name" value="OpenJDK Runtime Environment"/>
<property name="sun.boot.library.path" value="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/amd64"/>
<property name="java.vm.version" value="24.95-b01"/>
<property name="shared.loader" value="${catalina.home}/shared/classes,${catalina.home}/shared/*.jar"/>
<property name="java.vm.vendor" value="Oracle Corporation"/>
<property name="java.vendor.url" value="http://java.oracle.com/"/>
<property name="path.separator" value=":"/>
<property name="java.vm.name" value="OpenJDK 64-Bit Server VM"/>
<property name="tomcat.util.buf.StringCache.byte.enabled" value="true"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="java.util.logging.config.file" value="/var/lib/tomcat7/conf/logging.properties"/>
<property name="user.country" value="AU"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value="unknown"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="/var/lib/tomcat7"/>
<property name="java.runtime.version" value="1.7.0_95-b00"/>
<property name="org.apache.catalina.startup.TldConfig.jarsToSkip" value="tomcat7-websocket.jar"/>
<property name="java.awt.graphicsenv" value="sun.awt.X11GraphicsEnvironment"/>
<property name="java.endorsed.dirs" value="/usr/share/tomcat7/endorsed"/>
<property name="os.arch" value="amd64"/>
<property name="java.io.tmpdir" value="/tmp/tomcat7-tomcat7-tmp"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Oracle Corporation"/>
<property name="java.util.logging.manager" value="org.apache.juli.ClassLoaderLogManager"/>
<property name="java.naming.factory.url.pkgs" value="org.apache.naming"/>
<property name="os.name" value="Linux"/>
<property name="sun.jnu.encoding" value="UTF-8"/>
<property name="org.apache.commons.jxpath.JXPathContextFactory" value="org.openvpms.component.system.common.jxpath.OpenVPMSContextFactoryReferenceImpl"/>
<property name="java.library.path" value="/usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib"/>
<property name="tomcat.util.scan.DefaultJarScanner.jarsToSkip" value="bootstrap.jar,commons-daemon.jar,tomcat-juli.jar,annotations-api.jar,el-api.jar,jsp-api.jar,servlet-api.jar,websocket-api.jar,catalina.jar,catalina-ant.jar,catalina-ha.jar,catalina-tribes.jar,jasper.jar,jasper-el.jar,ecj-*.jar,tomcat-api.jar,tomcat-util.jar,tomcat-coyote.jar,tomcat-dbcp.jar,tomcat-jni.jar,tomcat-spdy.jar,tomcat-i18n-en.jar,tomcat-i18n-es.jar,tomcat-i18n-fr.jar,tomcat-i18n-ja.jar,tomcat-juli-adapters.jar,catalina-jmx-remote.jar,catalina-ws.jar,tomcat-jdbc.jar,tools.jar,commons-beanutils*.jar,commons-codec*.jar,commons-collections*.jar,commons-dbcp*.jar,commons-digester*.jar,commons-fileupload*.jar,commons-httpclient*.jar,commons-io*.jar,commons-lang*.jar,commons-logging*.jar,commons-math*.jar,commons-pool*.jar,jstl.jar,geronimo-spec-jaxrpc*.jar,wsdl4j*.jar,ant.jar,ant-junit*.jar,aspectj*.jar,jmx.jar,h2*.jar,hibernate*.jar,httpclient*.jar,jmx-tools.jar,jta*.jar,log4j.jar,log4j-1*.jar,mail*.jar,slf4j*.jar,xercesImpl.jar,xmlParserAPIs.jar,xml-apis.jar,junit.jar,junit-*.jar,hamcrest*.jar,org.hamcrest*.jar,ant-launcher.jar,cobertura-*.jar,asm-*.jar,dom4j-*.jar,icu4j-*.jar,jaxen-*.jar,jdom-*.jar,jetty-*.jar,oro-*.jar,servlet-api-*.jar,tagsoup-*.jar,xmlParserAPIs-*.jar,xom-*.jar"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="51.0"/>
<property name="sun.management.compiler" value="HotSpot 64-Bit Tiered Compilers"/>
<property name="os.version" value="4.2.0-30-generic"/>
<property name="user.home" value="/usr/share/tomcat7"/>
<property name="org.apache.catalina.startup.ContextConfig.jarsToSkip" value=""/>
<property name="user.timezone" value="Australia/Brisbane"/>
<property name="catalina.useNaming" value="true"/>
<property name="java.awt.printerjob" value="sun.print.PSPrinterJob"/>
<property name="java.specification.version" value="1.7"/>
<property name="file.encoding" value="UTF-8"/>
<property name="catalina.home" value="/usr/share/tomcat7"/>
<property name="user.name" value="tomcat7"/>
<property name="java.class.path" value="/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar"/>
<property name="java.naming.factory.initial" value="org.apache.naming.java.javaURLContextFactory"/>
<property name="openvpms" value="/var/lib/tomcat7/webapps/openvpms/"/>
<property name="package.definition" value="sun.,java.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper."/>
<property name="java.vm.specification.version" value="1.7"/>
<property name="sun.arch.data.model" value="64"/>
<property name="java.home" value="/usr/lib/jvm/java-7-openjdk-amd64/jre"/>
<property name="sun.java.command" value="org.apache.catalina.startup.Bootstrap start"/>
<property name="java.specification.vendor" value="Oracle Corporation"/>
<property name="user.language" value="en"/>
<property name="awt.toolkit" value="sun.awt.X11.XToolkit"/>
<property name="java.vm.info" value="mixed mode"/>
<property name="java.version" value="1.7.0_95"/>
<property name="java.ext.dirs" value="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext"/>
<property name="sun.boot.class.path" value="/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rhino.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-7-openjdk-amd64/jre/classes"/>
<property name="java.vendor" value="Oracle Corporation"/>
<property name="java.awt.headless" value="true"/>
<property name="server.loader" value="${catalina.home}/server/classes,${catalina.home}/server/*.jar"/>
<property name="catalina.base" value="/var/lib/tomcat7"/>
<property name="file.separator" value="/"/>
<property name="java.vendor.url.bug" value="http://bugreport.sun.com/bugreport/"/>
<property name="common.loader" value="${catalina.base}/lib,${catalina.base}/lib/*.jar,${catalina.home}/lib,${catalina.home}/lib/*.jar,${catalina.home}/common/classes,${catalina.home}/common/*.jar"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.font.fontmanager" value="sun.awt.X11FontManager"/>
<property name="package.access" value="sun.,org.apache.catalina.,org.apache.coyote.,org.apache.tomcat.,org.apache.jasper."/>
<property name="sun.cpu.isalist" value=""/>
</properties>
</error-report>

Comment viewing options

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

Re: Errors loading patients

I suspect the act.customerCommunication* archetypes haven't been loaded.

Re: Errors loading patients

No it looks as if they are loaded....

 

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au

Re: Errors loading patients

/home/openvpms/current/bin$ sudo ./archdiff.sh -l db
act.HL7Message
act.bankDeposit
act.customerAccountBadDebt
act.customerAccountChargesCounter
act.customerAccountChargesCredit
act.customerAccountChargesInvoice
act.customerAccountClosingBalance
act.customerAccountCounterItem
act.customerAccountCreditAdjust
act.customerAccountCreditItem
act.customerAccountDebitAdjust
act.customerAccountInitialBalance
act.customerAccountInvoiceItem
act.customerAccountOpeningBalance
act.customerAccountPayment
act.customerAccountPaymentCash
act.customerAccountPaymentCheque
act.customerAccountPaymentCredit
act.customerAccountPaymentDiscount
act.customerAccountPaymentEFT
act.customerAccountPaymentOther
act.customerAccountRefund
act.customerAccountRefundCash
act.customerAccountRefundCheque
act.customerAccountRefundCredit
act.customerAccountRefundDiscount
act.customerAccountRefundEFT
act.customerAccountRefundOther
act.customerAlert
act.customerAppointment
act.customerAppointmentSeries
act.customerCommunicationEmail
act.customerCommunicationMail
act.customerCommunicationNote
act.customerCommunicationPhone
act.customerCommunicationSMS
act.customerDocumentAttachment
act.customerDocumentAttachmentVersion
act.customerDocumentForm
act.customerDocumentLetter
act.customerDocumentLetterVersion
act.customerEstimation
act.customerEstimationItem
act.customerNote
act.customerOrderItemPharmacy
act.customerOrderPharmacy
act.customerReturnInvestigation
act.customerReturnItemInvestigation
act.customerReturnItemPharmacy
act.customerReturnPharmacy
act.customerTask
act.documentLogo
act.documentTemplate
act.patientAlert
act.patientClinicalEvent
act.patientClinicalNote
act.patientClinicalProblem
act.patientCustomerNote
act.patientDocumentAttachment
act.patientDocumentAttachmentVersion
act.patientDocumentForm
act.patientDocumentImage
act.patientDocumentImageVersion
act.patientDocumentLetter
act.patientDocumentLetterVersion
act.patientInvestigation
act.patientInvestigationVersion 

.....

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au

Re: Errors loading patients

Restarting tomcat corrected the problem...

 

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au

Re: Errors loading patients

Dear All,

We are currently having this error displayed when we search a customer, get a list of matches then select a single customer from that list. A Tomcat restart has not resolved the problem, nor a reboot of the computer running Tomcat.

Any help would be appreciated. 

Re: Errors loading patients

Dear All,

We are currently having this error displayed when we search a customer, get a list of matches then select a single customer from that list. A Tomcat restart has not resolved the problem, nor a reboot of the computer running Tomcat.

Any help would be appreciated. 

Re: Errors loading patients

When did you start seeing this error? This type of issue is generally related to archetypes being incorrectly loaded.

 

Re: Errors loading patients

You are correct of course.

After some inspired guessing reimporting act.customerAppointment.1.0 seems to have resolved the issue.

Thanks for replying. 

Re: Errors loading patients

My issue was that the customer had a custom archetype that I didnt reload when i reloaded the server to a new system

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au
Syndicate content