ProtocolCodecSession.getService() returns null
----------------------------------------------

                 Key: DIRMINA-812
                 URL: https://issues.apache.org/jira/browse/DIRMINA-812
             Project: MINA
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.1
            Reporter: Arnaud de Bossoreille de Ribou
            Priority: Trivial


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to