Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-780

Writing null objects to the Session should raise an Exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 2.0.0-RC1
    • 2.0.8
    • Core
    • None

    Description

      When using MINA in JAMES we saw malformated packets when processing POP3. This was a cause of a bug in our code which wrote a "null" object to the session. Unfortunally MINA don't throw an exception in this case and just write garbage to the session. We only found the bug because we have a netty implementation too which throws a NullPointerException in this case.

      I think MINA should do something similar..

      Attachments

        Activity

          People

            Unassigned Unassigned
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: