[midPoint] Convert string to binary data in 3.5.1 - outbound mapping

Pavol Mederly mederly at evolveum.com
Mon Jun 19 19:29:46 CEST 2017


Attila,

could you paste the whole stack trace, please?

Without that I am not sure about the root of the cause.

Pavol Mederly
Software developer
evolveum.com

On 14.06.2017 17:43, Attila Szlovak wrote:
> Hello,
>
> I'm using an outbound mapping (in Groovy) for a custom attribute
> sshPublicKey (it is defined as "xsd:string" in midPoint and as "Binary
> Data - OctetString" in LDAP resource) and in 3.4.1 works fine with
> conversion "sshPublicKey?.getBytes()" but in 3.5.1 I got an error message:
>
> "Workflow process(es) could not be started:
> com.evolveum.midpoint.util.exception.SystemException: No Java package
> for class [B"
>
> If the code with .getbytes() method is disabled then the error message
> disappears so it seems that .getBytes() method does not work anymore in
> 3.5.1.
>
> Is it a planned change and should I use an alternative method for
> mapping such a string attribute?
>




More information about the midPoint mailing list