Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-927

Avoid NPE in org.nuxeo.connect.packages.PackageSource

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NCC-1.4
    • Fix Version/s: NCC-1.4.21
    • Component/s: nuxeo-connect-client
    • Sprint:
      DevOps Sprint 10

      Description

      java.lang.NullPointerException
          at org.nuxeo.connect.packages.PackageManagerImpl.listRemoteAssociatedStudioPackages(PackageManagerImpl.java:729)
          at org.nuxeo.connect.client.jsf.AppCenterViewsManager.getStudioInstallationStatus(AppCenterViewsManager.java:306)

      In some race conditions, a null list is returned by the package cache.
      In all cases, org.nuxeo.connect.packages.PackageSource.listPackages() and org.nuxeo.connect.packages.PackageSource.listStudioPackages() should never return null but an empty list.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: