Skip to content

Add Workaround for NullPointerException in Selector.open()  #203

Closed
@normanmaurer

Description

@normanmaurer
Member

Selector.open() can throw a NPE in java6 because of missing synchronization.

See: http://bugs.sun.com/view_bug.do?bug_id=6427854

A workaround is to add a property like:

sun.nio.ch.bugLevel=""'

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @normanmaurer

      Issue actions

        Add Workaround for NullPointerException in Selector.open() · Issue #203 · netty/netty