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

Instantiation error on the settings form

    XMLWordPrintable

Details

    Description

      Occasionally when you go to the setting page you get this error:

      HTTP Status 500 - Could not instantiate bean class [java.util.List]: Specified class is an interface.
      

      SettingsController.getSettingsForm(...) has an argument of type List<String>, it needs to be set to a concrete class like ArrayList<String> or Vector<String>, spring attempts to create an instance of the specified argument type before passing it to the controller hence the exception

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                wyclif Wyclif Luyima
                Votes:
                1 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 30 minutes Original Estimate - 30 minutes
                    30m
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 hour
                    1h