try {
initialize(eeUimaEngine, appCtx);
waitUntilInitialized();
System.out.println("First Initialize Call Completed");
eeUimaEngine.initialize(appCtx);
fail("Subsequent call to initialize() did not return expected exception:"
+ UIMA_IllegalStateException.class
+ " Subsequent call to initialize succeeded with no error");
} catch (ResourceInitializationException e) {
if (e.getCause() != null && !(e.getCause() instanceof UIMA_IllegalStateException)) {