You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
When injecting a DEFAULT scoped Bean (D) in a SINGLETON scoped bean (S), the Context passed to D_.getinstance is already the Instance of the main Application.
Therefore injecting @App results in the Application object being null since the context instanceof Activity check fails.
There should be another if case where context instanceof MyApplication is checked to prevent this.