elasticsearch/elasticsearch — pull request #2027 by lindstromhenrik (2012-06-18 15:49:08+00:00)
Title: Catch LinkageError when executing scripts (most likely recoverable).

Sometimes we experience LinkageErrors in 3rd party libraries (mvel) when executing scripts. LinkageErrors (in scripts) are most likely recoverable and could be handled by wrapped into a RuntimeException (and printed as an error in the 'failures' property) instead of just being unhandled and causing the thread to terminate without responding or closing the connection properly.