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

DefaultSocketSessionConfig.setReceiveBufferSize(...) throws NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.0-RC1
    • 2.0.0
    • Core
    • None

    Description

      I tried to use DefaultSocketSessionConfig to store socket options to be applied to an acceptor that is created at a later stage, and noticed that
      a NullPointerException is thrown if setReceiveBufferSize(...) is called before init(IoService parent) is called.
      If this is the intended behaviour, it looks like a DefaultSocketSessionConfig is created without init(...) being called in:
      NioSocketConnector(Class<? extends IoProcessor<NioSession>> processorClass, int processorCount)

      Attachments

        Activity

          People

            Unassigned Unassigned
            linus Linus Zetterlund
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: