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

ClassCastException possible in hasPreviousTopic

    Details

    • 19 status:
      Resolved
    • 12 status:
      Resolved
    • 11 status:
      Please Merge
    • Previous Issue Keys:
      MSGCNTR-782

      Description

      Relates to MSGCNTR-92, a try/catch was added there to hasNextTopic. Not sure how to reproduce, but the only other fix is to remove attachments in the DB.

      java.lang.ClassCastException: org.sakaiproject.component.app.messageforums.dao.hibernate.TopicImpl$$EnhancerByCGLIB$$f3ebbb61 cannot be cast to org.sakaiproject.api.app.messageforums.DiscussionTopic
      at org.sakaiproject.component.app.messageforums.ui.DiscussionForumManagerImpl.hasPreviousTopic(DiscussionForumManagerImpl.java:760)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ern Earle R Nietzel
                  Reporter:
                  arwhyte Anthony Whyte
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code