-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Importer
-
Tags:
-
Sprint:nxcore 11.1.7
-
Story Points:1
We want to fix a NPE in DefaultImporterComponent which happens when there's no documentModelFactory defined in the contribution whereas all parameters are optional.
Stack trace:
ERROR [RegistrationInfoImpl] Failed to register extension to: service:org.nuxeo.ecm.platform.importer.service.DefaultImporterComponent, xpoint: importerConfiguration in component: service:org.nuxeo.ecm.platform.importer.service.test.contrib
java.lang.NullPointerException: null
at org.nuxeo.ecm.platform.importer.service.DefaultImporterComponent.registerContribution(DefaultImporterComponent.java:56) ~[classes/:?]
at org.nuxeo.runtime.model.DefaultComponent.registerExtension(DefaultComponent.java:73) ~[classes/:?]
at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.registerExtension(ComponentInstanceImpl.java:215) ~[classes/:?]
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.registerExtension(ComponentManagerImpl.java:421) ~[classes/:?]
at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:440) [classes/:?]
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponent(ComponentManagerImpl.java:547) [classes/:?]
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponents(ComponentManagerImpl.java:526) [classes/:?]
at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:786) [classes/:?]
at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:447) [classes/:?]
at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:462) [classes/:?]
- is related to
-
NXDOC-1819 Fix Bulk Importer Documentation page
- Resolved