-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Duplicate
-
Affects Version/s: 5.9.5, 6.0
-
Fix Version/s: None
-
Component/s: Nuxeo Package Management
-
Tags:
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).
- duplicates
-
NXP-15985 PackagePersistence#getPackages should ignore files
- Resolved