We're currently upgrading the signature-api-client-java from version 2.2. to version 4.6.
In our setup, we use a DirectClient with no global sender specified in the ClientConfiguration.
Instead we specify the sender’s organization number on each and every signature job.
In version 4.6, we encounter a problem with this method call, which throws an exception regardless if the job.getSender() is present or not.
no.digipost.signature.client.asice.CreateASiCE#createASiCE(JOB job):Line 40
Sender sender = job.getSender()
.orElse(globalSender
.orElseThrow(SENDER_NOT_SPECIFIED));
The current workaround is to specify a dummy value for globalSender.