Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31859

Gradebook Percentages results in BigDecimal Division undefined error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.1
    • Fix Version/s: 11.4, 12.0
    • Component/s: edu-services
    • Labels:
      None

      Description

      Observed using GradebookNG with Settings -> Use Percentages

      Caused by: java.lang.ArithmeticException: Division undefined
      at java.math.BigDecimal.divide(BigDecimal.java:1741)
      at org.sakaiproject.component.gradebook.BaseHibernateManager.calculateEquivalentPercent(BaseHibernateManager.java:1327)
      at org.sakaiproject.component.gradebook.BaseHibernateManager.convertPointsToPercentage(BaseHibernateManager.java:1352)
      at org.sakaiproject.component.gradebook.GradebookServiceHibernateImpl.getGradesForStudentsForItem(GradebookServiceHibernateImpl.java:1790)
      at sun.reflect.GeneratedMethodAccessor4685.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ottenhoff Sam Ottenhoff
                  Reporter:
                  ottenhoff Sam Ottenhoff
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code