-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Nuxeo Package Management
Since 5.5 (see NXP-8241), install of Marketplace Packages including forms works only if:
- not under Windows,
- MP is hotreloadable,
- and DEV mode is activated.
When a restart is needed, it will fail with:
Caused by: java.lang.NullPointerException at org.nuxeo.common.utils.Vars$2.get(Vars.java:86) at org.nuxeo.common.utils.Vars.resolveVar(Vars.java:148) at org.nuxeo.common.utils.Vars.expand(Vars.java:112) at org.nuxeo.common.utils.Vars.expand(Vars.java:83) at org.nuxeo.common.utils.StringUtils.expandVars(StringUtils.java:225) at org.nuxeo.connect.update.task.standalone.commands.ParameterizedCopy.getContentToCopy(ParameterizedCopy.java:68) at org.nuxeo.connect.update.task.standalone.commands.Copy.doCopy(Copy.java:231)
So, when a restart is needed (and thus the install won't work), refuse to install the package at all and provide a comprehensive error message instead.