-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 8.10
-
Component/s: Nuxeo Package Management
-
Sprint:NOS 9.2.5, NOS 9.2.6, NOS 9.3.1
-
Story Points:0
[To reproduce, you can use nuxeo-labs, available in CI)
Have a 8.10 Nuxeo server running.
From the Admin Center:
- Upload a local package, nuxeo-labs-mp-8.10-SNAPSHOT.zip
- Install it, click the button to install
- Click the restart button
The server fails to restart. It just stops.
Starting it at the command line does not work:
./nuxeoctl start Detected Tomcat server. Nuxeo home: /Applications/nuxeo-server-8.10-TEST-TEMP-Technicolor Nuxeo configuration: /Applications/nuxeo-server-8.10-TEST-TEMP-Technicolor/bin/nuxeo.conf Include template: /Applications/nuxeo-server-8.10-TEST-TEMP-Technicolor/templates/common-base Include template: /Applications/nuxeo-server-8.10-TEST-TEMP-Technicolor/templates/common Include template: /Applications/nuxeo-server-8.10-TEST-TEMP-Technicolor/templates/default Include template: /Applications/nuxeo-server-8.10-TEST-TEMP-Technicolor/templates/drive Configuration files generation (nuxeo.force.generation=true)... Configuration files generated. Relax mode changed from 'ask' to 'false' for executing the pending actions. The following SNAPSHOT package(s) will be replaced in local cache : [nuxeo-labs-8.10.0-SNAPSHOT, nuxeo-s3-utils-8.10.0-SNAPSHOT] Download of 'nuxeo-labs-8.10.0-SNAPSHOT' will replace the one already in local cache. Downloading [nuxeo-labs-8.10.0-SNAPSHOT]... Cannot execute command. null java.lang.NullPointerException at org.nuxeo.launcher.connect.ConnectBroker.downloadPackages(ConnectBroker.java:1123) at org.nuxeo.launcher.connect.ConnectBroker.pkgAdd(ConnectBroker.java:807) at org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1275) at org.nuxeo.launcher.connect.ConnectBroker.pkgRequest(ConnectBroker.java:1226) at org.nuxeo.launcher.connect.ConnectBroker.executePending(ConnectBroker.java:1053) at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:2101) at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1950) at org.nuxeo.launcher.NuxeoLauncher.doStartAndWait(NuxeoLauncher.java:1909) at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1158) at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1103)
./nuxeoctl status shows:
addon downloaded nuxeo-labs (id: nuxeo-labs-8.10.0-SNAPSHOT) addon downloaded nuxeo-s3-utils (id: nuxeo-s3-utils-8.10.0-SNAPSHOT)
./nuxeoctl mp-install nuxeo-labs-8.10.0-SNAPSHOT
=> Same error
./nuxeoctl mp-remove nuxeo-labs-8.10.0-SNAPSHOT
=> Same error
Workaround: Remove and install with no dependencies:
./nuxeoctl mp-remove --nodeps nuxeo-labs-8.10.0-SNAPSHOT ./nuxeoctl mp-install --nodeps nuxeo-labs-8.10.0-SNAPSHOT
- is duplicated by
-
NXP-22539 Fix NPE on mp-add + mp-install of Snapshot studio project
- Resolved
- links to