<div dir="ltr"><div dir="ltr">Hello Fabian,<div><br></div><div>most likely you have the wrong config. Can you send also the anonymized content of the file?</div><div>Is enough the header and first line.</div><div><br></div><div>Hints what you can verify:</div>- is fieldDelimiter really ";"?<br>- what is valueQualifier? Why you use 'quote' and quoteMode=ALL ? <br><div>- do you need multivalueDelimiter or you can set usingMultivalue=false?</div><div>Please see samples and his data files for inspiration:</div><div><a href="https://github.com/Evolveum/midpoint/blob/master/samples/resources/csvfil">https://github.com/Evolveum/midpoint/blob/master/samples/resources/csvfil</a></div><div><br></div><div>Best regards,<br></div><div><br></div><div>Gustav</div><div><br><div><div><br><div class="gmail_quote"><div dir="ltr">št 4. 10. 2018 o 9:29 Fabian Bosch <<a href="mailto:fabian.bosch@daasi.de">fabian.bosch@daasi.de</a>> napísal(a):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div 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="gmail-m_6592044208937957969feedback-message gmail-m_6592044208937957969dl-horizontal">
<dt id="gmail-m_6592044208937957969ida08">Aktion(en)</dt>
<dd> <b id="gmail-m_6592044208937957969ida09">operation.com.evolveum.midpoint.model.api.ModelService.searchObjects</b>
</dd>
<dt id="gmail-m_6592044208937957969ida0a">Meldung</dt>
<dd id="gmail-m_6592044208937957969ida0b">Couldn't search objects in provisioning</dd>
<dt id="gmail-m_6592044208937957969ida0c">Parameter</dt>
<dd>
<table class="gmail-m_6592044208937957969paramtable">
<tbody>
<tr class="gmail-m_6592044208937957969paramtable-row">
<th class="gmail-m_6592044208937957969paramtable-name">searchProvider</th>
<td class="gmail-m_6592044208937957969paramtable-value">[PROVISIONING]</td>
</tr>
<tr class="gmail-m_6592044208937957969paramtable-row">
<th class="gmail-m_6592044208937957969paramtable-name">query</th>
<td class="gmail-m_6592044208937957969paramtable-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="gmail-m_6592044208937957969paramtable-row">
<th class="gmail-m_6592044208937957969paramtable-name">type</th>
<td class="gmail-m_6592044208937957969paramtable-value">[<a class="gmail-m_6592044208937957969moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3#ShadowType" target="_blank">http://midpoint.evolveum.com/xml/ns/public/common/common-3#ShadowType</a>]</td>
</tr>
</tbody>
</table>
</dd>
<dd>
<table class="gmail-m_6592044208937957969paramtable">
</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="gmail-m_6592044208937957969id9ec">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="gmail-m_6592044208937957969moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3" target="_blank">"http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/connector-schema-3"</a>>
<icfc:configurationProperties xmlns:gen883=<a class="gmail-m_6592044208937957969moz-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" target="_blank">"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="gmail-m_6592044208937957969moz-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="gmail-m_6592044208937957969moz-txt-link-abbreviated" href="mailto:fabian.bosch@daasi.de" target="_blank">fabian.bosch@daasi.de</a>
web: <a class="gmail-m_6592044208937957969moz-txt-link-abbreviated" href="http://www.daasi.de" target="_blank">www.daasi.de</a>
Sitz der Gesellschaft: Tübingen
Registergericht: Amtsgericht Stuttgart, HRB 382175
Geschäftsleitung: Peter Gietz</pre>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Gustáv Pálos</div><div>Identity Engineer</div><a href="http://evolveum.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">evolveum.com</a><br></div></div></div></div></div></div></div>