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

ProtocolCodecSession.getService() returns null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Core
    • None

    Description

      I am using ProtocolCodecSession for some unit testing. Somewhere in the code I am testing, getService() is called and it returns null. So I have to check this value to avoid the NPE.

      This is because DummySession still has an IoService member which is not used any more (moved to AbstractIoSession?). Which is why I am reporting this bug, I wouldn't otherwise.

      2.0.0 is not impacted.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bozo Arnaud de Bossoreille de Ribou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: