APAR status
Closed as program error.
Error description
Error Message: java.lang.NullPointerException is thrown from putEventOps() that is called while setting interestOps on a SelectionKey when the corresponding selector gets closed. . Stack Trace: java.lang.NullPointerException at sun.nio.ch.AbstractPollSelectorImpl.putEventOps(AbstractPollSele ctorImpl.java:59) at sun.nio.ch.ServerSocketChannelImpl.translateAndSetInterestOps(Se rverSocketChannelImpl.java:363) at sun.nio.ch.SelectionKeyImpl.nioInterestOps(SelectionKeyImpl.java :114) at sun.nio.ch.SelectionKeyImpl.interestOps(SelectionKeyImpl.java:65 ) at BlockIntOpsReg.test1(BlockIntOpsReg.java:57) at DelayRegisterServer.main(DelayRegisterServer.java:378) .
Local fix
Application to ensure the selector is not closed while registering the interstOps
Problem summary
When a selector is closed, the corresponding object attributes are set to null. While trying to set interestOps on a closed selector, NullPointerException is thrown instead of throwing ClosedSelectorException
Problem conclusion
This defect will be fixed in: 6.0.0 SR14 6.0.1 SR6 . The JDK has been updated to throw ClosedSelectorException instead of NullPointerException.
Temporary fix
Comments
APAR Information
APAR number
IV37444
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
600
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-03-03
Closed date
2013-05-14
Last modified date
2013-05-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R600 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
14 May 2013