Reminder: Create & find trunk-related issues here. Legacy Trac tickets are still available. Problems? Workflow feedback? Need a module project? Open a support ticket.

OpenMRS Trunk

NPE on RegimenPortletController

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Could Could
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: OpenMRS 1.5.0
  • Component/s: None
  • Severity:
    3
  • Keywords:
  • Description:
    Hide

    When logged in as a person with a privilege to view the Regimen tab on the dashboard but not privileges to view orders, this NPE happened.

    ERROR - errorhandler_jsp._jspService(72) |2009-06-12 09:45:25,800| Error on page /openmrs/WEB-INF/view//patientDashboardForm.jsp
    javax.servlet.jsp.JspException: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException
    at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unknown Source)
    at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown Source)
    at org.openmrs.web.taglib.PortletTag.doEndTag(PortletTag.java:115)
    at org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_openmrs_005fportlet_005f2(patientDashboardForm_jsp.java:4299)
    at org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_openmrs_005fhasPrivilege_005f13(patientDashboardForm_jsp.java:4206)
    .
    .
    .
    at org.openmrs.web.taglib.PortletTag.doEndTag(PortletTag.java:115)
    at org.apache.jsp.WEB_002dINF.view.portlets.patientRegimen_jsp._jspx_meth_openmrs_005fportlet_005f0(patientRegimen_jsp.java:511)
    at org.apache.jsp.WEB_002dINF.view.portlets.patientRegimen_jsp._jspService(patientRegimen_jsp.java:97
    Show
    When logged in as a person with a privilege to view the Regimen tab on the dashboard but not privileges to view orders, this NPE happened.
    ERROR - errorhandler_jsp._jspService(72) |2009-06-12 09:45:25,800| Error on page /openmrs/WEB-INF/view//patientDashboardForm.jsp
    javax.servlet.jsp.JspException: javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.NullPointerException
    at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(Unknown Source)
    at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(Unknown Source)
    at org.openmrs.web.taglib.PortletTag.doEndTag(PortletTag.java:115)
    at org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_openmrs_005fportlet_005f2(patientDashboardForm_jsp.java:4299)
    at org.apache.jsp.WEB_002dINF.view.patientDashboardForm_jsp._jspx_meth_openmrs_005fhasPrivilege_005f13(patientDashboardForm_jsp.java:4206)
    .
    .
    .
    at org.openmrs.web.taglib.PortletTag.doEndTag(PortletTag.java:115)
    at org.apache.jsp.WEB_002dINF.view.portlets.patientRegimen_jsp._jspx_meth_openmrs_005fportlet_005f0(patientRegimen_jsp.java:511)
    at org.apache.jsp.WEB_002dINF.view.portlets.patientRegimen_jsp._jspService(patientRegimen_jsp.java:97

Activity

Hide
Ben Wolfe added a comment - 2009-06-12 14:01:49 EDT

Fixed in trunk in rev:8416 and backported to 1.5.x in rev:8417

Show
Ben Wolfe added a comment - 2009-06-12 14:01:49 EDT Fixed in trunk in rev:8416 and backported to 1.5.x in rev:8417

People

Dates

  • Created:
    2009-06-12 13:59:14 EDT
    Updated:
    2010-07-08 16:21:40 EDT
    Resolved:
    2010-07-01 22:44:12 EDT