[midPoint] non existent attribute in resources account-view causes ERROR -SOLVED-

Fabian Bosch fabian.bosch at daasi.de
Thu Oct 4 11:44:48 CEST 2018


Hey thanks for the quick reply

I used a template-generated name-attribute but the attributes for this
generation were empty. Now everything workes fine.

sorry for that noise and thank you all!!!

regards

Am 04.10.18 um 10:48 schrieb Gruber, Michael:
>
> Maybe it should be read like „the set of attributes must contain a
> ‘Name’-attribute.
>
> You may try to add your “name”-Attribute to schema handling.
>
>  
>
>  
>
> *Von:*midPoint [mailto:midpoint-bounces at lists.evolveum.com] *Im
> Auftrag von *Pálos Gustáv
> *Gesendet:* Donnerstag, 4. Oktober 2018 10:02
> *An:* midPoint General Discussion
> *Betreff:* Re: [midPoint] non existent attribute in resources
> account-view causes ERROR
>
>  
>
> Hello Fabian,
>
>  
>
> most likely you have the wrong config. Can you send also the
> anonymized content of the file?
>
> Is enough the header and first line.
>
>  
>
> Hints what you can verify:
>
> - is fieldDelimiter really ";"?
> - what is valueQualifier? Why you use 'quote' and  quoteMode=ALL ? 
>
> - do you need multivalueDelimiter or you can set  usingMultivalue=false?
>
> Please see samples and his data files for inspiration:
>
> https://github.com/Evolveum/midpoint/blob/master/samples/resources/csvfil
>
>  
>
> Best regards,
>
>  
>
> Gustav
>
>  
>
>  
>
> št 4. 10. 2018 o 9:29 Fabian Bosch <fabian.bosch at daasi.de
> <mailto:fabian.bosch at daasi.de>> napísal(a):
>
>     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" <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" <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 <mailto:fabian.bosch at daasi.de>
>
>         web:   www.daasi.de <http://www.daasi.de>
>
>      
>
>         Sitz der Gesellschaft: Tübingen
>
>         Registergericht: Amtsgericht Stuttgart, HRB 382175
>
>         Geschäftsleitung: Peter Gietz
>
>     _______________________________________________
>     midPoint mailing list
>     midPoint at lists.evolveum.com <mailto:midPoint at lists.evolveum.com>
>     http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
>  
>
> -- 
>
> Gustáv Pálos
>
> Identity Engineer
>
> evolveum.com <http://evolveum.com/>
>
> WWK Lebensversicherung a. G., Vorstand: Jürgen Schrameier (V.), Rainer
> Gebhart (stv. V.), Dirk Fassott; Vorsitzender des Aufsichtsrats: Dr.
> Frank Schindelhauer, Sitz München, Registergericht München HR B 211;
> WWK Allgemeine Versicherung AG, Vorstand: Jürgen Schrameier (V.),
> Rainer Gebhart (stv. V.), Dirk Fassott; Vorsitzender des
> Aufsichtsrats: Prof. Dr. Peter Reiff, Sitz München, Registergericht
> München HR B 5553; WWK Vermögensverwaltungs und Dienstleistungs GmbH,
> Geschäftsführer: Karl Ruffing, Stefan Sedlmeir, Sitz München,
> Registergericht München HR B 76323; WWK Pensionsfonds AG, Vorstand:
> Ansgar Eckert, Karl Ruffing, Heinrich Schüppert; Vorsitzender des
> Aufsichtsrats: Dirk Fassott, Sitz München, Registergericht München HR
> B 146295; Hausanschrift: Marsstraße 37, 80335 München; WWK Investment
> S.A., Verwaltungsrat: Karl Ruffing (V.), Ansgar Eckert, Stefan
> Schneider (Hauck & Aufhäuser), Handelsregister: R.C. Luxembourg Nr. B
> 81 270, Sitz der Gesellschaft: 1c, rue Gabriel Lippmann, L-5365 Munsbach
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint

-- 
    -- 
    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/1bcba72a/attachment.htm>


More information about the midPoint mailing list