Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MailHandler should catch ServiceConfigurationError #123 #125

Merged
merged 13 commits into from
Feb 14, 2024

Conversation

jmehrens
Copy link
Contributor

Signed-off-by: jmehrens [email protected]

@jmehrens jmehrens added the enhancement New feature or request label Jan 29, 2024
@jmehrens jmehrens self-assigned this Jan 29, 2024
@jmehrens jmehrens marked this pull request as draft January 29, 2024 22:55
@jmehrens jmehrens added bug Something isn't working and removed enhancement New feature or request labels Jan 30, 2024
@jmehrens jmehrens linked an issue Jan 30, 2024 that may be closed by this pull request
@jmehrens
Copy link
Contributor Author

jmehrens commented Jan 30, 2024

Summary of changes:

  1. Added catches for ServiceConfigurationError near where LinkageError was caught. This is mainly initSession and initContentTypes to deal with jaf-api missing binding. A few of the catches are not modified to include a catch for SCE because that code is not interacting with a session.
  2. New reportConfigurationError method was added. This method is meant to report SCE but is prepared to deal with catastrophic failure again if the handler is unable to report that original error.
  3. Refactored the code to be aware of this-escape. The idea here is that the sealed boolean works as the initialized flag. Which makes it so checkAccess which is guarding the things we don't want to expose can now throw SecurityException when the object is not initialized.
  4. Set default values for objects that have public getters to handle this-escape.
  5. Only set level, enabled, and capacity when fully constructed. This makes it so isLoggable and publish are no-ops if not fully constructed without having to checked the sealed boolean.
  6. LogRecord data array is now newly created as zero length so publish is a no-op if not fully constructed without having to checked the sealed boolean.
  7. Suppressed this-escape compiler warnings as they are really chatty. Calls to super error manager have always been wrapped in try blocks and correctly check if the returned value is unexpectedly null.
  8. Removed some security exception catch blocks in intern that were no longer needed when we moved away from depending on super class members.
  9. Updated reportError calls that were simply repeating the Exception::getMessage to have a proper explanation string.
  10. Updated setCapacity to not fully allocate the backing array when shrinking. Better to just let it grow back as needed based on what is being logged.
  11. Changed grow method to allocate the pair of arrays before assigning them. The idea is to help keep the two array lengths in sync during out of memory condition. I suppose this code may not fool HotSpot.
  12. I had previous commits with expanded coverage and refactoring to MailHandlerTest but this started to crash SpotBugs. I've reverted those changes so SpotBugs completes. I need to create a new ticket to split the MailHandlerTest into multiple classes as that single test file is way too large. I can bring back those tests when I do that ticket.

@jmehrens jmehrens changed the title MailHander should catch ServiceConfigurationError #123 MailHandler should catch ServiceConfigurationError #123 Jan 31, 2024
@jmehrens
Copy link
Contributor Author

jmehrens commented Feb 1, 2024

Ran MailHandlerTests with hard coded ServiceConfigurationError in initSession. This shows that all errors were handled by an error manager or was reported to dump from an error manager:

java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilter(MailHandlerTest.java:1864)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilterClearMatches(MailHandlerTest.java:1881)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
java.util.logging.ErrorManager: 2: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.push(MailHandler.java:3324)
	at org.eclipse.angus.mail.util.logging.MailHandler.flush(MailHandler.java:919)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testAcceptLang(MailHandlerTest.java:3358)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.push(MailHandler.java:3317)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4063)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties(MailHandler.java:1462)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testSetMailProperties(MailHandlerTest.java:475)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.lambda$testSetMailPropertiesClassLoader$2(MailHandlerTest.java:438)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	... 6 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testEncoding(MailHandlerTest.java:1539)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:709)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLevelAfterClose(MailHandlerTest.java:2760)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	... 33 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangExact(MailHandlerTest.java:3694)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangInfer(MailHandlerTest.java:3570)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangInfer(MailHandlerTest.java:3534)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:709)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushAttachmentFilter(MailHandlerTest.java:1940)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushAttachmentFilter(MailHandlerTest.java:1967)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4063)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2535)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInitMailEntriesNullMailProperties(MailHandlerTest.java:4156)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	... 36 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:709)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushAttachmentFilter(MailHandlerTest.java:1940)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushFilterClearMatches(MailHandlerTest.java:1972)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	... 34 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testEmpty(MailHandlerTest.java:1356)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testEmpty(MailHandlerTest.java:1294)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testCloseContextClassLoader0(MailHandlerTest.java:2573)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testCloseContextClassLoader(MailHandlerTest.java:2552)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineContentType(MailHandlerTest.java:3304)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeNestedFormatter(MailHandlerTest.java:3176)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testReportError(MailHandlerTest.java:5392)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:709)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushFilter(MailHandlerTest.java:1895)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	... 33 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilter(MailHandlerTest.java:1864)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulInternAttachmentFilter(MailHandlerTest.java:1838)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineMultiContentType(MailHandlerTest.java:3253)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeNestedMultiFormatter(MailHandlerTest.java:3190)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:709)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testCallingClassLoader(MailHandlerTest.java:319)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.lambda$testChildClassLoader$0(MailHandlerTest.java:280)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	... 4 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4063)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2535)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInitMailEntriesNullSetMailEntries(MailHandlerTest.java:4241)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	... 36 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4063)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailEntries(MailHandler.java:1568)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInitMailEntriesNullSetMailEntries(MailHandlerTest.java:4243)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	... 35 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLevelBeforeClose(MailHandlerTest.java:2733)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2547)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:617)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.startLogManagerReset(MailHandlerTest.java:2943)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLogManagerReset(MailHandlerTest.java:2786)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	... 35 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at java.logging/java.util.logging.LogManager.closeHandlers(LogManager.java:1470)
	at java.logging/java.util.logging.LogManager.resetLogger(LogManager.java:1485)
	at java.logging/java.util.logging.LogManager.resetLoggerContext(LogManager.java:1460)
	at java.logging/java.util.logging.LogManager.reset(LogManager.java:1445)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLogManagerReset(MailHandlerTest.java:2789)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 37 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:709)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testPushFilter(MailHandlerTest.java:3023)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	... 33 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testReportErrorUtf8Addresses(MailHandlerTest.java:5442)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInvalidDefaultRecipient(MailHandlerTest.java:4606)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2547)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerify(MailHandlerTest.java:405)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.lambda$testVerifyClassLoader$1(MailHandlerTest.java:348)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	... 5 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangBase(MailHandlerTest.java:3451)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineMultiContentType(MailHandlerTest.java:3253)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeMultiOverride(MailHandlerTest.java:3204)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2547)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyLogManager(MailHandlerTest.java:5900)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	... 34 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineContentType(MailHandlerTest.java:3304)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeOverride(MailHandlerTest.java:3261)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4063)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2531)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:634)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyPropertiesConstructor(MailHandlerTest.java:6125)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	... 36 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testSingleSortViolateContract(MailHandlerTest.java:1168)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4063)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties(MailHandler.java:1462)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyProperties(MailHandlerTest.java:6002)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	... 35 more
java.util.logging.ErrorManager: 4: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2547)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyErrorManager(MailHandlerTest.java:5561)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	... 34 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulFilter(MailHandlerTest.java:1789)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testDefaultRecipient(MailHandlerTest.java:4579)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testDefaultRecipient(MailHandlerTest.java:4480)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testSingleSortComparator(MailHandlerTest.java:1145)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to load dependencies
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilter(MailHandlerTest.java:1820)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 33 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:972)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testThrowComparator(MailHandlerTest.java:1214)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testThrowComparator(MailHandlerTest.java:1195)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	... 34 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.reportConfigurationError(MailHandler.java:2167)
	at org.eclipse.angus.mail.util.logging.MailHandler.push(MailHandler.java:3324)
	at org.eclipse.angus.mail.util.logging.MailHandler.flush(MailHandler.java:919)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testMailProperties(MailHandlerTest.java:4109)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.push(MailHandler.java:3317)
	... 34 more

@jmehrens
Copy link
Contributor Author

jmehrens commented Feb 1, 2024

Ran MailHandlerTests with hard coded IllegalStateException wrapping ServiceConfigurationError in initSession. This shows that all errors were handled by an error manager or was reported to dump from an error manager:

java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilter(MailHandlerTest.java:1864)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilterClearMatches(MailHandlerTest.java:1881)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 2: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.push(MailHandler.java:3317)
	at org.eclipse.angus.mail.util.logging.MailHandler.flush(MailHandler.java:919)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testAcceptLang(MailHandlerTest.java:3358)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties(MailHandler.java:1462)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testSetMailProperties(MailHandlerTest.java:475)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.lambda$testSetMailPropertiesClassLoader$2(MailHandlerTest.java:438)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 8 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testEncoding(MailHandlerTest.java:1539)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLevelAfterClose(MailHandlerTest.java:2760)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangExact(MailHandlerTest.java:3694)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangInfer(MailHandlerTest.java:3570)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangInfer(MailHandlerTest.java:3534)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushAttachmentFilter(MailHandlerTest.java:1940)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushAttachmentFilter(MailHandlerTest.java:1967)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 39 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2535)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInitMailEntriesNullMailProperties(MailHandlerTest.java:4156)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushAttachmentFilter(MailHandlerTest.java:1940)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushFilterClearMatches(MailHandlerTest.java:1972)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 39 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testEmpty(MailHandlerTest.java:1356)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testEmpty(MailHandlerTest.java:1294)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testCloseContextClassLoader0(MailHandlerTest.java:2573)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testCloseContextClassLoader(MailHandlerTest.java:2552)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineContentType(MailHandlerTest.java:3304)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeNestedFormatter(MailHandlerTest.java:3176)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testReportError(MailHandlerTest.java:5392)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulPushFilter(MailHandlerTest.java:1895)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilter(MailHandlerTest.java:1864)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulInternAttachmentFilter(MailHandlerTest.java:1838)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineMultiContentType(MailHandlerTest.java:3253)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeNestedMultiFormatter(MailHandlerTest.java:3190)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testCallingClassLoader(MailHandlerTest.java:319)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.lambda$testChildClassLoader$0(MailHandlerTest.java:280)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 9 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2535)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInitMailEntriesNullSetMailEntries(MailHandlerTest.java:4241)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailEntries(MailHandler.java:1568)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInitMailEntriesNullSetMailEntries(MailHandlerTest.java:4243)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLevelBeforeClose(MailHandlerTest.java:2733)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:617)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.startLogManagerReset(MailHandlerTest.java:2943)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLogManagerReset(MailHandlerTest.java:2786)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at java.logging/java.util.logging.LogManager.closeHandlers(LogManager.java:1470)
	at java.logging/java.util.logging.LogManager.resetLogger(LogManager.java:1485)
	at java.logging/java.util.logging.LogManager.resetLoggerContext(LogManager.java:1460)
	at java.logging/java.util.logging.LogManager.reset(LogManager.java:1445)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testLogManagerReset(MailHandlerTest.java:2789)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 41 more
java.util.logging.ErrorManager: 1: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish0(MailHandler.java:742)
	at org.eclipse.angus.mail.util.logging.MailHandler.publish(MailHandler.java:701)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testPushFilter(MailHandlerTest.java:3023)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testReportErrorUtf8Addresses(MailHandlerTest.java:5442)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testInvalidDefaultRecipient(MailHandlerTest.java:4606)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerify(MailHandlerTest.java:405)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.lambda$testVerifyClassLoader$1(MailHandlerTest.java:348)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 7 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentLangBase(MailHandlerTest.java:3451)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineMultiContentType(MailHandlerTest.java:3253)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeMultiOverride(MailHandlerTest.java:3204)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyLogManager(MailHandlerTest.java:5900)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 36 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.getInlineContentType(MailHandlerTest.java:3304)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testContentTypeOverride(MailHandlerTest.java:3261)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2531)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:634)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyPropertiesConstructor(MailHandlerTest.java:6125)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testSingleSortViolateContract(MailHandlerTest.java:1168)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.updateSession(MailHandler.java:4055)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties0(MailHandler.java:1502)
	at org.eclipse.angus.mail.util.logging.MailHandler.setMailProperties(MailHandler.java:1462)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyProperties(MailHandlerTest.java:6002)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
java.util.logging.ErrorManager: 4: SEVERE: Unable to verify
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.init(MailHandler.java:2543)
	at org.eclipse.angus.mail.util.logging.MailHandler.<init>(MailHandler.java:602)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testVerifyErrorManager(MailHandlerTest.java:5561)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 36 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulFilter(MailHandlerTest.java:1789)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testDefaultRecipient(MailHandlerTest.java:4579)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testDefaultRecipient(MailHandlerTest.java:4480)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testSingleSortComparator(MailHandlerTest.java:1145)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
java.util.logging.ErrorManager: 3: SEVERE: Unable to create message
java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testStatefulAttachmentFilter(MailHandlerTest.java:1820)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 37 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.close(MailHandler.java:944)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testThrowComparator(MailHandlerTest.java:1214)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testThrowComparator(MailHandlerTest.java:1195)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more
AbstractLogging: java.lang.IllegalStateException: java.util.ServiceConfigurationError: Missing Angus Mail Core
	at org.eclipse.angus.mail.util.logging.MailHandler.initSession(MailHandler.java:4088)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords0(MailHandler.java:3431)
	at org.eclipse.angus.mail.util.logging.MailHandler.writeLogRecords(MailHandler.java:3398)
	at org.eclipse.angus.mail.util.logging.MailHandler.push(MailHandler.java:3317)
	at org.eclipse.angus.mail.util.logging.MailHandler.flush(MailHandler.java:919)
	at org.eclipse.angus.mail.util.logging.MailHandlerTest.testMailProperties(MailHandlerTest.java:4109)
Caused by: java.util.ServiceConfigurationError: Missing Angus Mail Core
	... 38 more

@jmehrens jmehrens marked this pull request as ready for review February 2, 2024 06:28
@jmehrens jmehrens requested a review from jbescos February 2, 2024 06:29
@jmehrens jmehrens merged commit 181d10d into eclipse-ee4j:master Feb 14, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MailHandler should catch ServiceConfigurationError
2 participants