-
Type: Bug
-
Status: Resolved
-
Priority: Blocker
-
Resolution: Fixed
-
Affects Version/s: 9.2-SNAPSHOT
-
Fix Version/s: 9.2
-
Sprint:nxcore 9.2.6, nxcore 9.3.1
-
Story Points:2
With an instance configured with Redis+Mongo, nuxeo-web-ui and nuxeo-jsf-ui installed.
When trying to hot reload my Studio project akervern-SANDBOX (aligned on 9.2) that also depends on nuxeo-dam but not installed.
Hot reload is not done, and I got this error:
16:46:54,630 ERROR [RegistrationInfoImpl] Failed to register extension to: service:org.nuxeo.ecm.core.cache.CacheService, xpoint: caches in component: service:studio.extensions.akervern-SANDBOX
java.lang.IllegalStateException: Another cache has already been registered for the given name vocab-WorkflowType-cache
at org.nuxeo.ecm.core.cache.CacheRegistry.contributionUpdated(CacheRegistry.java:62)
at org.nuxeo.ecm.core.cache.CacheRegistry.contributionUpdated(CacheRegistry.java:36)
at org.nuxeo.runtime.model.ContributionFragmentRegistry.addContribution(ContributionFragmentRegistry.java:158)
at org.nuxeo.ecm.core.cache.CacheServiceImpl.registerCache(CacheServiceImpl.java:107)
at org.nuxeo.ecm.core.cache.CacheServiceImpl.registerExtension(CacheServiceImpl.java:102)
Followed by some like
... Caused by: java.lang.NullPointerException at org.nuxeo.ecm.directory.DirectoryCache.invalidateAll(DirectoryCache.java:174) at org.nuxeo.ecm.directory.DirectoryCacheFlusher.handleEvent(DirectoryCacheFlusher.java:54) at org.nuxeo.runtime.services.event.EventService.sendEvent(EventService.java:141) at org.nuxeo.runtime.services.event.EventService.sendEvent(EventService.java:108) at org.nuxeo.runtime.reload.ReloadComponent.flush(ReloadComponent.java:137) at org.nuxeo.connect.update.task.live.commands.Flush.flush(Flush.java:50) at org.nuxeo.connect.update.task.live.LiveInstallTask.flush(LiveInstallTask.java:107) at org.nuxeo.connect.update.task.standalone.CommandsTask.doRun(CommandsTask.java:129) at org.nuxeo.connect.update.task.standalone.InstallTask.doRun(InstallTask.java:51) at org.nuxeo.connect.update.task.live.LiveInstallTask.doRun(LiveInstallTask.java:49) at org.nuxeo.connect.update.task.standalone.AbstractTask.run(AbstractTask.java:246) at org.nuxeo.connect.client.jsf.AppCenterViewsManager$StudioAutoInstaller.performTask(AppCenterViewsManager.java:544) at org.nuxeo.connect.client.jsf.AppCenterViewsManager$StudioAutoInstaller.run(AppCenterViewsManager.java:508) at org.nuxeo.connect.client.jsf.AppCenterViewsManager.installStudioSnapshot(AppCenterViewsManager.java:244) at org.nuxeo.connect.client.jsf.AppCenterViewsManager.installStudioSnapshotAndRedirect(AppCenterViewsManager.java:225) ...
- depends on
-
NXS-4121 Don't declare again default workflow cache contribution
- Resolved