java.util.concurrent.RejectedExecutionException

There is a known issue in the 2.7.1 version of Jython related to Python bug tracking integrations that use the urllib2 module. Following an upgrade, if your bug tracking scripts start to fail, (for example, Export to Jira button) and you see the java.util.concurrent.RejectedExecutionException message in the klocwork.log file, you can contact Static Code Analysis Professional Services and they can provide updated scripts, or you can implement the following workaround:

Workaround: Add the following code to your review_action.py script:
import sys,_socket
if _socket.NIO_GROUP.isShutdown():
    print "review_action.py: RE-CREATING NIO_GROUP" # appears in Klocwork.log
    _socket.NIO_GROUP = _socket.NioEventLoopGroup(2, _socket.DaemonThreadFactory("PyScan-Netty-Client-%s"))
    sys.registerCloser(_socket._shutdown_threadpool)