Two threads call Velocity.evaluate() method.
Call RuntimeInstance.parse() and requireInitialization() method.
One thread trying make initialization, set "initializing" to true and the other thread does not wait until initialization is done and go on.
At next line Parser parser = (Parser) parserPool.get() is NullPointerException thrown.
- is duplicated by
VELOCITY-786 NullPointerException while evaluating template