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
When LifecycleInjectorCreator.createInjector is failed, there is attempt to close preDestroyMonitor. But it may not be initialized yet, it is causing NPE to be logged.
Suggestion is to check preDestroyMonitor for null before calling close() on it or log warn instead of error with stacktrace.
java.lang.NullPointerException: null
at com.netflix.governator.LifecycleModule$LifecycleProvisionListener.onStopped(LifecycleModule.java:136) ~[governator-core-1.17.7.jar]
at com.netflix.governator.SafeLifecycleListener.onStopped(SafeLifecycleListener.java:58) ~[governator-core-1.17.7.jar]
at com.netflix.governator.LifecycleManager.notifyStartFailed(LifecycleManager.java:118) ~[governator-core-1.17.7.jar]
at com.netflix.governator.LifecycleInjectorCreator.createInjector(LifecycleInjectorCreator.java:131) ~[governator-core-1.17.7.jar]
at com.netflix.governator.LifecycleInjectorCreator.createInjector(LifecycleInjectorCreator.java:38) ~[governator-core-1.17.7.jar]
at com.netflix.governator.InjectorBuilder.createInjector(InjectorBuilder.java:209) ~[governator-core-1.17.7.jar]
at com.netflix.governator.InjectorBuilder.createInjector(InjectorBuilder.java:223) ~[governator-core-1.17.7.jar]
The text was updated successfully, but these errors were encountered:
When
LifecycleInjectorCreator.createInjector
is failed, there is attempt to closepreDestroyMonitor
. But it may not be initialized yet, it is causing NPE to be logged.Suggestion is to check
preDestroyMonitor
for null before calling close() on it or log warn instead of error with stacktrace.The text was updated successfully, but these errors were encountered: