Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.1.1
-
None
-
None
Description
We are using Hivemind to construct test configurations. Some of the services are Shutdownlisteners but are not constructed during the test. When the registry is shutdown during the test, the shutdown coordinator tries to create those unconstructed services.
18:52:11,656 ERROR [ShutdownCoordinatorImpl] Unable to shutdown <SingletonProxy
for transparentpolitics.broadcastprovider.messageEndPointFactory($MessageEndPoin
tFactory_110be2962ae)>: Unable to construct service transparentpolitics.broadcas
tprovider.messageEndPointFactory: The HiveMind Registry has been shutdown.
org.apache.hivemind.ApplicationRuntimeException: Unable to construct service tra
nsparentpolitics.broadcastprovider.messageEndPointFactory: The HiveMind Registry
has been shutdown.
at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constr
uctNewServiceImplementation(AbstractServiceModelImpl.java:166)
at org.apache.hivemind.impl.servicemodel.AbstractServiceModelImpl.constr
uctServiceImplementation(AbstractServiceModelImpl.java:140)
at org.apache.hivemind.impl.servicemodel.SingletonServiceModel.getActual
ServiceImplementation(SingletonServiceModel.java:69)
at $$MessageEndPointFactory_110be2962ae_110be2962b0._service($$MessageEn
dPointFactory_110be2962ae_110be2962b0.java)
at $$MessageEndPointFactory_110be2962ae_110be2962b0.registryDidShutdown(
$$MessageEndPointFactory_110be2962ae_110be2962b0.java)
at $$MessageEndPointFactory_110be2962ae_110be2962af.registryDidShutdown(
$$MessageEndPointFactory_110be2962ae_110be2962af.java)
at org.apache.hivemind.impl.ShutdownCoordinatorImpl.shutdown(ShutdownCoo
rdinatorImpl.java:97)
at org.apache.hivemind.impl.ShutdownCoordinatorImpl.shutdown(ShutdownCoo
rdinatorImpl.java:80)
at org.apache.hivemind.impl.RegistryInfrastructureImpl.shutdown(Registry
InfrastructureImpl.java:379)
at org.apache.hivemind.impl.RegistryImpl.shutdown(RegistryImpl.java:94)
at com.transparentpolitics.AbstractUnitTest.cleanCurrentRegistry(Abstrac
tUnitTest.java:245)