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

nuxeoctl mp commands fail if .DS_Store file in <server>/packages/store/

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 5.9.5, 6.0
    • Fix Version/s: None

      Description

      If there is a .DS_Store file at <server>/packages/store/, the nuxeoctl mp commands (e.g. mp-list, mp-install) generate the following error(s):

      Local packages:
      Could not read package list
      org.nuxeo.connect.update.PackageException: Invalid package - no package.xml file found in package .DS_Store
      	at org.nuxeo.connect.update.standalone.LocalPackageImpl.<init>(LocalPackageImpl.java:107)
      	at org.nuxeo.connect.update.standalone.LocalPackageImpl.<init>(LocalPackageImpl.java:88)
      	at org.nuxeo.connect.update.standalone.PackagePersistence.getPackages(PackagePersistence.java:247)
      	at org.nuxeo.connect.update.standalone.StandaloneUpdateService.getPackages(StandaloneUpdateService.java:118)
      	at org.nuxeo.launcher.connect.ConnectBroker.getPkgList(ConnectBroker.java:438)
      	at org.nuxeo.launcher.connect.ConnectBroker.pkgList(ConnectBroker.java:447)
      	at org.nuxeo.launcher.NuxeoLauncher.pkgList(NuxeoLauncher.java:2028)
      	at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1012)
      	at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:919)
      java.lang.NullPointerException
      

      Workaround: delete the .DS_Store file.

      Reproduced on Mac OS X; I'm not sure if it would affect other OS's (e.g. if you copied the files from a Mac to another OS, which would bring over the .DS_Store files).

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: