|
org.opendaylight.controller.md.sal.dom.broker.impl.PingPongFuture.mapException() will throw a RuntimeException when called leaving the calling thread blocked forever.
The issue is with the implementation of this method:
protected TransactionCommitFailedException mapException(final Exception e)
{
Preconditions.checkArgument(e instanceof TransactionCommitFailedException);
return (TransactionCommitFailedException) e;
}
It expects the argument to be an instance of TransactionCommitFailedException. Per google guava documentation, the argument could be of type
1. InterruptedException
2. CancellationException
3. ExecutionException
So, the above method will always throw runtime exception.
|