This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 207840 - java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensureValid
Summary: java.nio.channels.CancelledKeyException at sun.nio.ch.SelectionKeyImpl.ensure...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-27 14:57 UTC by Petr Jiricka
Modified: 2012-05-23 15:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 184843


Attachments
stacktrace (315 bytes, text/plain)
2012-01-27 14:57 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2012-01-27 14:57:47 UTC
Build: NetBeans IDE Dev (Build EaselCSS-1-on-20120112)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.4-b02-402, Java(TM) SE Runtime Environment, 1.6.0_29-b11-402-11M3527
OS: Mac OS X

User Comments:
pjiricka: Refresh-on-save, after shutting down the browser and running a page.




Stacktrace: 
java.nio.channels.CancelledKeyException
   at sun.nio.ch.SelectionKeyImpl.ensureValid(SelectionKeyImpl.java:55)
   at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:64)
   at org.netbeans.modules.web.common.websocket.SocketServer.run(SocketServer.java:92)
   at java.lang.Thread.run(Thread.java:680)
Comment 1 Petr Jiricka 2012-01-27 14:57:58 UTC
Created attachment 115320 [details]
stacktrace
Comment 2 Denis Anisimov 2012-05-23 15:27:38 UTC
Current code state contains check for SelectionKey to prevent reported exception.