Behind the Blackboard! LogSpam when AutoSubmit Fails due to Disabled Records - Behind the Blackboard Skip Navigation
Download PDF  Icon Download PDF    Print article

LogSpam when AutoSubmit Fails due to Disabled Records

Date Published: Jul 17,2021


CategoryPlanned First Fix Release:Will Not Fix; Product:Grade Center,Logs; Version:Learn 9.1 Q4 2019 (3800.0.0),Learn 9.1 Q2 2017 (3200.0.0),Learn 9.1 Q4 2017 (3300.0.0),Learn 9.1 Q2 2018 (3400.0.0),Learn 9.1 Q4 2018 (3500.0.0),Learn 9.1 Q2 2019 (3700.0.0),Learn 9.1 Q4 2016 (3100.0.0-rel.107+401e,SaaS,Learn 9.1 Q2 2016 (3000.1.0-rel.52+991d)
Article No.: 000055845
Product:
Blackboard Learn
Release:
9.1;SaaS
Service Pack(s):
Learn 9.1 Q4 2019 (3800.0.0), Learn 9.1 Q2 2017 (3200.0.0), Learn 9.1 Q4 2017 (3300.0.0), Learn 9.1 Q2 2018 (3400.0.0), Learn 9.1 Q4 2018 (3500.0.0), Learn 9.1 Q2 2019 (3700.0.0), Learn 9.1 Q4 2016 (3100.0.0-rel.107+401e, SaaS, Learn 9.1 Q2 2016 (3000.1.0-rel.52+991d)
Description:
Large amounts of log spam is created when an AutoSubmit task fails due to a disabled record.
Steps to Repeat:
  1. Log into Blackboard Learn as a System Administrator
  2. Create and Quick Enroll into a course
  3. Create an assessment with AutoSubmit
  4. Enroll a student in the course
  5. Log in as the student and access the course
  6. Open and then immediately leave the assessment
  7. Immediately disable the student's enrollment
  8. Wait for the time the assessment would have auto submitted and for the caches to clear
  9. Check the bb-service-log

Expected Behavior:
There is one error for the AutoSubmit failure.

Observed Behavior:
There are multiple errors for the AutoSubmit failure, which can lead to abnormally large logs.

Symptoms:

2017-05-01 23:18:22 -0400 - Error force-submitting an attempt (ignoring but attempt is likely not submitted) - blackboard.persist.PersistenceException: blackboard.persist.PersistenceRuntimeException: blackboard.persist.KeyNotFoundException: The specified object was not found.
        at blackboard.persist.course.impl.CourseMembershipDbLoaderImpl.loadById(CourseMembershipDbLoaderImpl.java:120)
        at blackboard.webapps.assessment.AssessmentAttemptControl.instantiateFromAttempt(AssessmentAttemptControl.java:1179)
        at blackboard.webapps.assessment.AssessmentAttemptControl.instantiateFromAttemptId(AssessmentAttemptControl.java:1143)
        at blackboard.webapps.assessment.AssessmentAttemptControl.access$000(AssessmentAttemptControl.java:66)
        at blackboard.webapps.assessment.AssessmentAttemptControl$InstantiateFromAttemptIdTransaction.run(AssessmentAttemptControl.java:1123)
        at blackboard.db.ConnectionManager.performTransaction(ConnectionManager.java:414)
        at blackboard.webapps.assessment.AssessmentAttemptControl.instantiateFromAttemptId(AssessmentAttemptControl.java:1098)
        at blackboard.webapps.assessment.AutoSubmitHelper.backgroundForceSubmitAttempt(AutoSubmitHelper.java:69)
        at blackboard.webapps.assessment.BackgroundForceSubmitTask.execute(BackgroundForceSubmitTask.java:32)
        at blackboard.util.singleton.SingletonManager.executeChecked(SingletonManager.java:147)
        at blackboard.util.singleton.SingletonManager.execute(SingletonManager.java:60)
        at blackboard.webapps.assessment.AutoSubmitHelper.backgroundForceSubmitAttempts(AutoSubmitHelper.java:127)
        at blackboard.webapps.assessment.AutoSubmitHelper$AutoSubmitThread.run(AutoSubmitHelper.java:387)
Caused by: blackboard.persist.PersistenceRuntimeException: blackboard.persist.KeyNotFoundException: The specified object was not found.
        at blackboard.persist.dao.impl.SimpleDAO$OperationHandler$1.run(SimpleDAO.java:195)
        at blackboard.db.ConnectionManager.performOperation(ConnectionManager.java:587)
        at blackboard.persist.dao.impl.SimpleDAO$OperationHandler.invoke(SimpleDAO.java:203)
        at blackboard.persist.course.impl.CourseMembershipDAO_$$_jvstb78_0.loadById(CourseMembershipDAO_$$_jvstb78_0.java)
        at blackboard.persist.course.impl.CourseMembershipDbLoaderImpl.loadById(CourseMembershipDbLoaderImpl.java:111)
        ... 12 more
Caused by: blackboard.persist.KeyNotFoundException: The specified object was not found.
        at blackboard.persist.dao.impl.DAOSupport.checkForMissingKey(DAOSupport.java:341)
        at blackboard.persist.dao.impl.DAOSupport.load(DAOSupport.java:275)
        at blackboard.persist.course.impl.CourseMembershipDAO.loadById(CourseMembershipDAO.java:262)
        at blackboard.persist.course.impl.CourseMembershipDAO_$$_jvstb78_0._d36loadById(CourseMembershipDAO_$$_jvstb78_0.java)
        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 blackboard.persist.dao.impl.SimpleDAO$OperationHandler$1.run(SimpleDAO.java:191)
        ... 16 more




Target Release:

Will Not Fix

Patch Available:

No






The information contained in the Knowledge Base was written and/or verified by Blackboard Support. It is approved for client use. Nothing in the Knowledge Base shall be deemed to modify your license in any way to any Blackboard product. If you have comments, questions, or concerns, please send an email to kb@blackboard.com. © 2022 Blackboard Inc. All rights reserved