-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: NXP-10.10-HF19, NXP-11.1-SNAPSHOT
-
Fix Version/s: NXP-10.10-HF19, NXP-11.1
-
Component/s: AI Nuxeo Services
Due to use of SuggestionOp on Document creation in layout. The type doesn't support hasSchema method.
Caused by: java.lang.UnsupportedOperationExceptionCaused by: java.lang.UnsupportedOperationException at org.nuxeo.ecm.core.api.impl.SimpleDocumentModel.hasSchema(SimpleDocumentModel.java:423) ~[nuxeo-core-api-10.10-HF18.jar:?] at org.nuxeo.ai.model.serving.SuggestionOp.run(SuggestionOp.java:98) ~[nuxeo-ai-model-2.1.3-SNAPSHOT.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_131] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_131]