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

Fix error on directory cache when hot reloading Studio jar

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.2-SNAPSHOT
    • Fix Version/s: 8.2
    • Component/s: Directory

      Description

      Seems the directory service api #getDirectories() can include null entries:

      Caused by: java.lang.NullPointerException
      	at org.nuxeo.ecm.directory.DirectoryCacheFlusher.handleEvent(DirectoryCacheFlusher.java:59)
      	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:120)
      	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:247)
      	at org.nuxeo.connect.client.jsf.AppCenterViewsManager$StudioAutoInstaller.performTask(AppCe
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: