When deploying Uima AS Primitive service, a custom ThreadFactory is used to initialize each AE instance in its own thread. Once initialized, the AE instance is pinned to its thread. Subsequent process() calls will be done in the same thread that was used to initialize an AE. An exception thrown by AE during initialization propagates all the way to the custom ThreadFactory where it is silently ignored. Three bugs here:
1) The exception must be logged in the UimaAsThreadFactory.newThread() method.
2) Controller's callback listener must be called to notify the listener of initialization exception
3) There is no testcase in extended test suite to expose this bug