Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22701

Unable to hot reload Studio

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 9.2-SNAPSHOT
    • Fix Version/s: 9.2
    • Component/s: Cache, Directory

      Description

      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)
      ...
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 hours, 30 minutes
                  3h 30m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.