ZooKeeper
  1. ZooKeeper
  2. ZOOKEEPER-514

test failure on trunk in testCnxManager - NPE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.2.1, 3.3.0
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Patrick Hunt added a comment -

      here's the npe:

      java.lang.NullPointerException
      at sun.nio.ch.Util.atBugLevel(Util.java:326)
      at sun.nio.ch.SelectorImpl.<init>(SelectorImpl.java:40)
      at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:47)
      at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18)
      at java.nio.channels.Selector.open(Selector.java:209)
      at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:79)
      at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:104)
      at org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:357)
      at org.apache.zookeeper.test.CnxManagerTest.testCnxManager(CnxManagerTest.java:158)

      Show
      Patrick Hunt added a comment - here's the npe: java.lang.NullPointerException at sun.nio.ch.Util.atBugLevel(Util.java:326) at sun.nio.ch.SelectorImpl.<init>(SelectorImpl.java:40) at sun.nio.ch.EPollSelectorImpl.<init>(EPollSelectorImpl.java:47) at sun.nio.ch.EPollSelectorProvider.openSelector(EPollSelectorProvider.java:18) at java.nio.channels.Selector.open(Selector.java:209) at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:79) at org.apache.zookeeper.server.NIOServerCnxn$Factory.<init>(NIOServerCnxn.java:104) at org.apache.zookeeper.server.quorum.QuorumPeer.<init>(QuorumPeer.java:357) at org.apache.zookeeper.test.CnxManagerTest.testCnxManager(CnxManagerTest.java:158)
      Hide
      Patrick Hunt added a comment -

      looks like it's this known issue (not fixed until java 7 btw):

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

      Show
      Patrick Hunt added a comment - looks like it's this known issue (not fixed until java 7 btw): http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6427854
      Hide
      Patrick Hunt added a comment -

      turns out this is a bug in the jvm itself - no workaround and not fixed until java7.

      closing as wont fix.

      Show
      Patrick Hunt added a comment - turns out this is a bug in the jvm itself - no workaround and not fixed until java7. closing as wont fix.

        People

        • Assignee:
          Unassigned
          Reporter:
          Patrick Hunt
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development