Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-3485

Settings Page throws BeanInstantiationException: Could not instantiate bean class [java.util.List]

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      Bug submitted by Kenrick Turner via the OpenMRS.org bug reporting form at http://openmrs.org/help/report-a-bug/

      OpenMRS Version: OpenMRS 1.9.0

      Overview:
      When the Super User tries to browse to Admin > Settings (openmrs/admin/maintenance/settings.list) an HTTP Error 500 is encountered.

      Steps to Reproduce:
      1) Install OpenMRS 1.9.0 on Ubuntu 12.04 Server with standard install of Tomcat 7 (apt-get install tomcat7)
      2) Login as Super User (admin)
      3) Browse to http://yourserver/openmrs/admin/maintenance/settings.list

      Actual Results:
      An HTTP Error 500 is encountered. Please see stack trace below.

      Expected Results:
      The Settings page should be displayed.

      Platform:
      Ubuntu 12.04 Server 64 bit
      OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu3)
      OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)
      Tomcat 7.0.26

      Additional information:
      Stack trace from /var/log/localhost.log

      org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [java.util.List]: Specified class is an interface
      org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:101)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveModelAttribute(HandlerMethodInvoker.java:762)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:356)
      org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:153)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426)
      org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414)
      org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790)
      org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719)
      org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644)
      org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
      org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:65)
      org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:76)
      org.openmrs.module.xforms.web.XformsFilter.doFilter(XformsFilter.java:60)
      org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:74)
      org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:58)
      org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:111)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:109)
      org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
      org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              kenrick Kenrick Turner
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: