← Back to team overview

erma-core team mailing list archive

Re: [Question #44131]: NullPointerException thrown when using TransactionMonitor

 

Question #44131 on ERMA changed:
https://answers.launchpad.net/erma/+question/44131

    Status: Open => Answered

Matthew Kemp proposed the following answer:
The reason the second case works is because you a directly supplying the
LoggingMonitorProcessor versus going through the AsyncMonitorProcessor.
The SimpleMonitorProcessorFactory normally calls startup/shutdown on
every MonitorProcessor, but when you're using the AsyncMonitorProcessor
it doesn't have a reference to LoggingMonitorProcessor. That fact that
AsyncMonitorProcessor does not forward the startup/shutdown calls is a
bug. For now just use the LoggingMonitorProcessor.

-- 
You received this question notification because you are a member of
Erma-core, which is an answer contact for ERMA.