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

Writing null objects to the Session should raise an Exception

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.0-RC1
    • Fix Version/s: 2.0.8
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: