eclipse-ee4j / glassfish-hk2

Dynamic dependency injection framework

Home Page:https://eclipse-ee4j.github.io/glassfish-hk2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HK2 swallows exceptions in initialization

dmatej opened this issue · comments

Relates also to #464 and #465, because error reported there was caused by error which was silently swallowed, so it was not possible to find real cause.

Current state: All exceptions are swallowed until the service locator is configured to use another error handler. This causes that even if it is not possible to access the DynamicConfiguration service, the error is not reported.

Desired state: Throw all exceptions until the service locator is initialized or configured to use an error handler.