Skip to Content
0
Former Member
Oct 27, 2017 at 04:35 PM

Junit tenant initialization issue

704 Views

Hello,

I am an initialization fot Junit tenant and it's failing in between with the below errors. If have any solution for this issue, please share us.

[java] ERROR [main] (junit) [Registry] cannot activate tenant <>[2108741829] since it is not active or invalid [java] ERROR [AfterSaveEventPublisher-junit] (junit) [Registry] cannot activate tenant <>[2108741829] since it is not active or invalid [java] INFO [AfterSaveEventPublisher-junit] [DefaultAfterSaveListenerRegistry] AfterSaveEventPublisher-junit has been interrupted/terminated but without InterruptedException - stopping now. [java] Exception in thread "AfterSaveEventPublisher-junit" java.lang.IllegalStateException: could not switch tenant to <>[2108741829] [java] at de.hybris.platform.core.Registry.activateTenant(Registry.java:709) [java] at de.hybris.platform.core.Registry.setCurrentTenant(Registry.java:554) [java] at de.hybris.platform.tx.DefaultAfterSaveListenerRegistry$AfterSaveEventPublisherThread.internalRun(DefaultAfterSaveListenerRegistry.java:260) [java] at de.hybris.platform.core.threadregistry.RegistrableThread.run(RegistrableThread.java:135)

Hybris Version : 6.4 DB : Mysql

Thanks in advance.

Thanks, Prem