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

getAutoReminderTotalEventCount java.lang.Long cannot be cast to java.lang.Integer

    XMLWordPrintable

    Details

    • 21 Status:
      Resolved
    • 20 status:
      Please Merge
    • Test Plan:
      Hide

      Setup Job Scheduler -> Jobs for the Signup Reminders. Trigger it. Confirm no errors in logs.

      Show
      Setup Job Scheduler -> Jobs for the Signup Reminders. Trigger it. Confirm no errors in logs.

      Description

      Observed on live 19.x site:

      0-Dec-2020 01:00:01.165 ERROR [QuartzScheduler_Worker-4] org.quartz.core.ErrorLogger.schedulerError Job (DEFAULT.SignUp Reminder threw an exception.
      org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer]
      at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
      Caused by: java.lang.ClassCastException: java.lang.Long cannot be cast to java.lang.Integer
      at org.sakaiproject.signup.dao.SignupMeetingDaoImpl.getAutoReminderTotalEventCounts(SignupMeetingDaoImpl.java:303)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:333)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
      at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:213)
      at com.sun.proxy.$Proxy215.getAutoReminderTotalEventCounts(Unknown Source)
      at org.sakaiproject.signup.logic.SignupNotifyJob.execute(SignupNotifyJob.java:128)
      at org.sakaiproject.component.app.scheduler.jobs.SpringJobBeanWrapper.execute(SpringJobBeanWrapper.java:57)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration