<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hello <br>
</p>
<p>I have a strange problem:</p>
<p>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.<br>
If I want to list the accounts in GUI within the resource
(toggeling between show repository/<u>ressource</u>) I get a
severe Error:<br>
</p>
<dl class="feedback-message dl-horizontal">
<dt id="ida08">Aktion(en)</dt>
<dd> <b id="ida09">operation.com.evolveum.midpoint.model.api.ModelService.searchObjects</b>
</dd>
<dt id="ida0a">Meldung</dt>
<dd id="ida0b">Couldn't search objects in provisioning</dd>
<dt id="ida0c">Parameter</dt>
<dd>
<table class="paramtable">
<tbody>
<tr class="paramtable-row">
<th class="paramtable-name">searchProvider</th>
<td class="paramtable-value">[PROVISIONING]</td>
</tr>
<tr class="paramtable-row">
<th class="paramtable-name">query</th>
<td class="paramtable-value">[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,,]</td>
</tr>
<tr class="paramtable-row">
<th class="paramtable-name">type</th>
<td class="paramtable-value">[<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3#ShadowType">http://midpoint.evolveum.com/xml/ns/public/common/common-3#ShadowType</a>]</td>
</tr>
</tbody>
</table>
</dd>
<dd>
<table class="paramtable">
</table>
</dd>
</dl>
<p>Fehler Got unexpected exception:
java.lang.IllegalArgumentException<u><b>:<font color="#ff9900">
The Attribute set must contain a 'Name'</font></b></u>.<a
id="id9ec">show</a>com.evolveum.midpoint.util.exception.SystemException:
Got unexpected exception: java.lang.IllegalArgumentException: The
Attribute set must contain a 'Name'.
</p>
<pre> 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</pre>
<p><br>
</p>
<p>strange, because I have no "set" Attribute anywhere in my
resource.<br>
</p>
<p><br>
</p>
<p>setup:</p>
<p>midPoint v3.8<br>
CSV-connector v2.2</p>
<p>Connector-configuration</p>
<pre> <connectorConfiguration xmlns:icfc=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3">"http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"</a>>
<icfc:configurationProperties xmlns:gen883=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csv/com.evolveum.polygon.connector.csv.CsvConnector">"http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/bundle/com.evolveum.polygon.connector-csv/com.evolveum.polygon.connector.csv.CsvConnector"</a>>
<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>
</pre>
<p><br>
</p>
<p>Where is the problem here?</p>
<p>regards</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">--
--
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: <a class="moz-txt-link-abbreviated" href="mailto:fabian.bosch@daasi.de">fabian.bosch@daasi.de</a>
web: <a class="moz-txt-link-abbreviated" href="http://www.daasi.de">www.daasi.de</a>
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz</pre>
</body>
</html>