Uploaded image for project: 'Contrib: Evaluation System'
  1. Contrib: Evaluation System
  2. EVALSYS-1578

ClassCastException when creating a new scale

    XMLWordPrintable

    Details

    • 20 status:
      Resolved
    • 19 status:
      Resolved
    • Test Plan:
      Hide

      -Just "Add a new scale" in MyScales and the stacktrace is shown in logs.

      -By default only Admin user has permission to edit these options. Additional steps needed to grant other users, so just can test as admin.

      Show
      -Just "Add a new scale" in MyScales and the stacktrace is shown in logs. -By default only Admin user has permission to edit these options. Additional steps needed to grant other users, so just can test as admin.

      Description

      I can't test this in any nightly server as Evaluations is not installed in them.

      I think that this issue is caused by EVALSYS-1558 change to compile Evalsys with Rubrics.

      Creating a new scale causes a ClassCastException in a class of RSF library.

      28-ago-2019 12:13:51.598 WARN [http-nio-8082-exec-3] PonderUtilCore.handleLevel1Error Exception rendering view:
      java.lang.ClassCastException: java.util.ArrayList cannot be cast to [Ljava.lang.String;
      at uk.ac.cam.caret.rsf.evolverimpl.StandardDynamicListInputEvolver.evolve(StandardDynamicListInputEvolver.java:43)
      at org.sakaiproject.evaluation.tool.producers.ModifyScaleProducer.fill(ModifyScaleProducer.java:131)
      at org.sakaiproject.evaluation.tool.producers.EvalCommonProducer.fillComponents(EvalCommonProducer.java:53)
      at uk.org.ponder.rsf.view.support.ViewCollector.fillComponents(ViewCollector.java:56)
      at uk.org.ponder.rsf.view.support.LayoutCollector.fillComponents(LayoutCollector.java:68)

      (...)

       

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  daniel.merino Daniel Merino Echeverría
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration