Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #1018 (closed defect: fixed)

Opened 3 months ago

Last modified 3 months ago

Admin - Manage Observations fails to load

Reported by: mcunderlik Assigned to: mseaton
Priority: major Milestone: Synchronization 0.2.0.1 (Merge with trunk)
Component: Synchronization Keywords:
Cc: mcunderlik, jmiranda Introductory Ticket:

Description

Admin/Manage Observations page fails to load: empty screen in shown. Also fails on dev.openmrs.org demo site. Steps to re-produce: 1. login as admin 2. navigate to administration/Manage Observations

Digging a bit, the error seems to be coming from: PortletController.java: // add encounters if this user can view them if (Context.hasPrivilege(OpenmrsConstants.PRIV_VIEW_ENCOUNTERS))

model.put("patientEncounters", Context.getEncounterService().getEncounters(p));

Star of the exception detail: ERROR - ApplicationDispatcher.invoke(723) |2008-08-31 10:17:13,171| Servlet.service() for servlet openmrs threw excepti n java.lang.IllegalArgumentException: The 'patient' parameter is requred and cannot be null

at org.openmrs.api.impl.EncounterServiceImpl.getEncountersByPatient(EncounterServiceImpl.java:172) at org.openmrs.api.impl.EncounterServiceImpl.getEncounters(EncounterServiceImpl.java:451) at sun.reflect.GeneratedMethodAccessor1215.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java

182)

at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy640.getEncounters(Unknown Source) at sun.reflect.GeneratedMethodAccessor1215.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java

Change History

09/01/08 15:20:05 changed by mseaton

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in trunk in revision [5416]. Patched into sync branch in [5417].