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

Fix Studio hot reload

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 8.10-HF04, 9.1-SNAPSHOT
    • Fix Version/s: 8.10-HF05, 9.1
    • Component/s: Cache, Connect

      Description

      Using 9.1 SNAPSHOT (04/04)

      STEPS TO REPRODUCE

      • Install Template rendering samples (brings web ui along)
      • Install JSF UI
      • Activate dev mode, set wizard done to true in nuxeo.conf
      • Using JSF UI
      • Go to Admin
      • Register instance with project template-module-demo on connect prod instance
      • Try to hot reload

      BUG

      • An error page is shown saying
        Cannot start caches, check suppressed error

      EXPECTED

      • Hot reload should work

      NOTES
      The problem does not appear if you install the package using nuxeoctl.

      ERROR [nuxeo-error-log] javax.servlet.ServletException: On requestURL: http://localhost:8080/nuxeo/view_admin.faces
          at org.nuxeo.ecm.platform.ui.web.rest.FancyURLFilter.doFilter(FancyURLFilter.java:140)
      (...)
      Caused by: java.lang.RuntimeException: Cannot start caches, check suppressed error
          at org.nuxeo.ecm.core.cache.CacheRegistry.start(CacheRegistry.java:127)
          at org.nuxeo.ecm.core.cache.CacheReloadListener.handleEvent(CacheReloadListener.java:37)
          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:119)
          at org.nuxeo.connect.update.task.live.commands.Flush.flush(Flush.java:50)
          at org.nuxeo.connect.update.task.live.LiveUninstallTask.flush(LiveUninstallTask.java:46)
          at org.nuxeo.connect.update.task.standalone.CommandsTask.doRun(CommandsTask.java:129)
          at org.nuxeo.connect.update.task.standalone.UninstallTask.doRun(UninstallTask.java:59)
          at org.nuxeo.connect.update.task.live.LiveUninstallTask.doRun(LiveUninstallTask.java:39)
          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:477)
          at org.nuxeo.connect.client.jsf.AppCenterViewsManager.installStudioSnapshot(AppCenterViewsManager.java:244)
          at org.nuxeo.connect.client.jsf.AppCenterViewsManager.installStudioSnapshotAndRedirect(AppCenterViewsManager.java:225)
      (...)
          Suppressed: java.lang.IllegalArgumentException: A metric named nuxeo.cache.cacheWithoutReference-execution_type.read-hit-ratio already exists
          Suppressed: java.lang.IllegalArgumentException: A metric named nuxeo.cache.cacheWithoutReference-search_operators.read-hit-ratio already exists
      (...)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: