-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: CODEGEN-2.8.0
-
Component/s: Nuxeo CLI
-
Epic Link:
-
Tags:
Using project attached, export fails due to a NPE.
nuxeo:generator:maven Caused by: java.lang.NullPointerException +0ms nuxeo:generator:maven at org.nuxeo.ecm.automation.core.impl.OperationTypeImpl.<init>(OperationTypeImpl.java:122) nuxeo:generator:maven at org.nuxeo.ecm.automation.core.impl.OperationTypeImpl.<init>(OperationTypeImpl.java:114) nuxeo:generator:maven at org.nuxeo.maven.serializer.adapter.OperationAdapter.adapt(OperationAdapter.java:30) nuxeo:generator:maven at org.nuxeo.maven.serializer.adapter.OperationAdapter.adapt(OperationAdapter.java:26) nuxeo:generator:maven at org.nuxeo.maven.serializer.JacksonConverter.serialize(JacksonConverter.java:98) +0ms
Operation was added manually and not created using nuxeo CLI.
Expected: CLI should either refuse to export operation, warn and continue or stop export entirely with a clear error message.