[midPoint] non existent attribute in resources account-view causes ERROR
Fabian Bosch
fabian.bosch at daasi.de
Thu Oct 4 09:27:19 CEST 2018
Hello
I have a strange problem:
I have a simple CSV-resouce setup. the schema is loading properly and
connection is established. I have a simple schemaHandling and a default
synchronisation to create users. I have no accounts imported yet.
If I want to list the accounts in GUI within the resource (toggeling
between show repository/_ressource_) I get a severe Error:
Aktion(en)
*operation.com.evolveum.midpoint.model.api.ModelService.searchObjects*
Meldung
Couldn't search objects in provisioning
Parameter
searchProvider [PROVISIONING]
query [Q{AND(REF:
resourceRef,PRV(oid=a1ab45e7-9e7a-42fa-a60f-7c5559dd1ac4,
targetType=null),EQUAL: kind,PPV(ShadowKindType:ACCOUNT),EQUAL:
intent,PPV(String:default)),PAGING: O: 0,M: 20,,]
type
[http://midpoint.evolveum.com/xml/ns/public/common/common-3#ShadowType]
Fehler Got unexpected exception:
java.lang.IllegalArgumentException_*:The Attribute set must contain a
'Name'*_.showcom.evolveum.midpoint.util.exception.SystemException: Got
unexpected exception: java.lang.IllegalArgumentException: The Attribute
set must contain a 'Name'.
at com.evolveum.midpoint.provisioning.ucf.impl.connid.ConnectorInstanceConnIdImpl.search(ConnectorInstanceConnIdImpl.java:2380)
at com.evolveum.midpoint.provisioning.impl.ResourceObjectConverter.searchResourceObjects(ResourceObjectConverter.java:1245)
at com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative(ShadowCache.java:1696)
at com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative(ShadowCache.java:1578)
at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.searchObjectsIterative(ProvisioningServiceImpl.java:999)
at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.searchObjects(ProvisioningServiceImpl.java:456)
at com.evolveum.midpoint.model.impl.controller.ModelController.searchObjects(ModelController.java:795)
at com.evolveum.midpoint.web.component.data.SelectableBeanObjectDataProvider.internalIterator(SelectableBeanObjectDataProvider.java:182)
at com.evolveum.midpoint.web.component.data.BaseSortableDataProvider.iterator(BaseSortableDataProvider.java:267)
at org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.<init>(DataViewBase.java:107)
at org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:74)
at org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:101)
at org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:93)
at org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:124)
at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115
strange, because I have no "set" Attribute anywhere in my resource.
setup:
midPoint v3.8
CSV-connector v2.2
Connector-configuration
<connectorConfiguration xmlns:icfc="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">
<icfc:configurationProperties xmlns:gen883="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csv/com.evolveum.polygon.connector.csv.CsvConnector">
<gen883:multivalueDelimiter>,</gen883:multivalueDelimiter>
<gen883:ignoreEmptyLines>true</gen883:ignoreEmptyLines>
<gen883:fieldDelimiter>;</gen883:fieldDelimiter>
<gen883:quote>"</gen883:quote>
<gen883:filePath>/var/midpoint-3.8-home/resources/mP_didmos_user-Import.csv</gen883:filePath>
<gen883:quoteMode>ALL</gen883:quoteMode>
<gen883:readOnly>false</gen883:readOnly>
<gen883:encoding>utf-8</gen883:encoding>
<gen883:nameAttribute>sapid</gen883:nameAttribute>
<gen883:uniqueAttribute>ucrmpid</gen883:uniqueAttribute>
</icfc:configurationProperties>
</connectorConfiguration>
Where is the problem here?
regards
--
--
Fabian Bosch, Solutions-Engineer
DAASI International GmbH
Europaplatz 3
D-72072 Tübingen
Germany
phone: +49 7071 407109-0
fax: +49 7071 407109-9
email: fabian.bosch at daasi.de
web: www.daasi.de
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20181004/743b6618/attachment.htm>
More information about the midPoint
mailing list