Hi,

On UA 4.6.1
I must be doing something wrong.... again.
In the good old days (or just back at UA 4.5.x), I have been used to being
able to send emails from PRDs to groups, in the most clean and wonderful
way.
It was just a question of seetting the email activity to the following
(when we wanted a group of people recieve the approval mail).
Like this:
Addresse: A group DN
ApproverType: Normal
_TO_ = _default_ (In the E-Mail notofication itself, this is the default
btw)


Now on UA 461 (with IDM46-Apps-SP-2, and before we applied the SP2 as well)

The users does recieve the email. BUT we see unpleasant java stack traces
in the UA log.
I also tried changing approver type to "Group". That made no difference.
Then I tried to make a role as approver, that produced an entirely
different stack trace.

---- GROUP AS APPROVER ---

2017-11-20 12:40:49,801 [WARN] UserActivity [RBPM] Error resolving user
DN: cn=Dagplejere -
Adm,ou=administrators,ou=workflowgroups,ou=contain ments,o=org.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:657)
at java.util.ArrayList.get(ArrayList.java:433)
at com.novell.soa.af.impl.activity.UserActivity.getFi rstAndLastName
(UserActivity.java:449)
at com.novell.soa.af.impl.activity.UserActivity.notif yArrive
(UserActivity.java:340)
at com.novell.soa.af.impl.core.ProcessImpl.startActiv ity
(ProcessImpl.java:1706)
at com.novell.soa.af.impl.core.ProcessImpl.forward
(ProcessImpl.java:1603)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd
(ActivityNode.java:265)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd
(ActivityNode.java:240)
at com.novell.soa.af.impl.activity.MappingActivity.pr ocess
(MappingActivity.java:68)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive
(ActivityNode.java:206)
at com.novell.soa.af.impl.core.ProcessImpl.startActiv ity
(ProcessImpl.java:1706)
at com.novell.soa.af.impl.core.ProcessImpl.forward
(ProcessImpl.java:1603)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd
(ActivityNode.java:265)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd
(ActivityNode.java:240)
at com.novell.soa.af.impl.activity.ConditionActivity. process
(ConditionActivity.java:87)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive
(ActivityNode.java:206)
at com.novell.soa.af.impl.core.ProcessImpl.startActiv ity
(ProcessImpl.java:1706)
at com.novell.soa.af.impl.core.ProcessImpl.forward
(ProcessImpl.java:1603)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd
(ActivityNode.java:265)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd
(ActivityNode.java:240)
at com.novell.soa.af.impl.activity.StartActivity.proc ess
(StartActivity.java:94)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive
(ActivityNode.java:206)
at com.novell.soa.af.impl.activity.RunnableActivity.r un
(RunnableActivity.java:50)
at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2017-11-20 12:40:49,907 [ERROR] JMSSubscriber [RBPM] Error sending email
upon receipt of JMS message.
com.novell.soa.notification.impl.NotificationExcep tion: Error sending
email.
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:317)
at com.novell.soa.notification.impl.jms.JMSSubscriber .handleMessage
(JMSSubscriber.java:214)
at com.novell.soa.notification.impl.jms.JMSSubscriber .run
(JMSSubscriber.java:163)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.novell.soa.notification.impl.NotificationExcep tion: Problem
retrieving email or preferred locale attribute for addressee [cn=Dagplejere
- Adm,ou=administrators,ou=workflowgroups,ou=contain ments,o=org]
at
com.novell.soa.notification.impl.vdx.VirtualDataCo nfigLoader.retrieveEmailAddresses
(VirtualDataConfigLoader.java:180)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddressFromDNList
(SimpleEmailMessageCreator.java:448)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddress
(SimpleEmailMessageCreator.java:359)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.createMessage
(SimpleEmailMessageCreator.java:172)
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:306)
... 3 more


--- ROLE AS APPROVER ----

2017-11-20 13:04:17,406 [ERROR] JMSSubscriber [RBPM] Error sending email
upon receipt of JMS message.
com.novell.soa.notification.impl.NotificationExcep tion: Error sending
email.
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:317)
at com.novell.soa.notification.impl.jms.JMSSubscriber .handleMessage
(JMSSubscriber.java:214)
at com.novell.soa.notification.impl.jms.JMSSubscriber .run
(JMSSubscriber.java:163)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.novell.soa.notification.impl.NotificationExcep tion: Problem
retrieving email or preferred locale attribute for addressee
[CN=28265776-6BA4-F2F4-7FFF-
A13D052C4A9C,CN=Administrators,CN=DepartmentFuncti on,CN=Organisation,CN=NonRequestable,CN=Level20,CN =RoleDefs,CN=RoleConfig,CN=AppConfig,CN=METATREE-
UA01,CN=IDMDriverSet01,OU=idm,OU=servere,O=org]
at
com.novell.soa.notification.impl.vdx.VirtualDataCo nfigLoader.retrieveEmailAddresses
(VirtualDataConfigLoader.java:180)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddressFromDNList
(SimpleEmailMessageCreator.java:448)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddress
(SimpleEmailMessageCreator.java:359)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.createMessage
(SimpleEmailMessageCreator.java:172)
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:306)
... 3 more
Caused by: com.netiq.common.i18n.LocalizedIllegalArgumentExce ption: Object
[CN=28265776-6BA4-F2F4-7FFF-
A13D052C4A9C,CN=Administrators,CN=DepartmentFuncti on,CN=Organisation,
CN=NonRequestable,CN=Level20,CN=RoleDefs,CN=RoleCo nfig,CN=AppConfig,CN=METATREE-
UA01,CN=IDMDriverSet01,OU=idm,OU=servere,O=org] not found.
at
com.novell.soa.notification.impl.vdx.VirtualDataCo nfigLoader.retrieveEmailAddresses
(VirtualDataConfigLoader.java:172)
... 7 more
2017-11-20 13:04:17,417 [ERROR] JMSSubscriber [RBPM] Error sending email
upon receipt of JMS message.
com.novell.soa.notification.impl.NotificationExcep tion: Error sending
email.
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:317)
at com.novell.soa.notification.impl.jms.JMSSubscriber .handleMessage
(JMSSubscriber.java:214)
at com.novell.soa.notification.impl.jms.JMSSubscriber .run
(JMSSubscriber.java:163)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.novell.soa.notification.impl.NotificationExcep tion: Problem
retrieving email or preferred locale attribute for addressee
[CN=28265776-6BA4-F2F4-7FFF-
A13D052C4A9C,CN=Administrators,CN=DepartmentFuncti on,CN=Organisation,
CN=NonRequestable,CN=Level20,CN=RoleDefs,CN=RoleCo nfig,CN=AppConfig,CN=METATREE-
UA01,CN=IDMDriverSet01,OU=idm,OU=servere,O=org]
at
com.novell.soa.notification.impl.vdx.VirtualDataCo nfigLoader.retrieveEmailAddresses
(VirtualDataConfigLoader.java:180)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddressFromDNList
(SimpleEmailMessageCreator.java:448)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddress
(SimpleEmailMessageCreator.java:359)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.createMessage
(SimpleEmailMessageCreator.java:172)
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:306)
... 3 more
Caused by: com.netiq.common.i18n.LocalizedIllegalArgumentExce ption: Object
[CN=28265776-6BA4-F2F4-7FFF-
A13D052C4A9C,CN=Administrators,CN=DepartmentFuncti on,CN=Organisation,CN=NonRequestable,CN=Level20,CN =RoleDefs,CN=RoleConfig,CN=AppConfig,CN=METATREE-
UA01,CN=IDMDriverSet01,OU=idm,OU=servere,O=org] not found.
at
com.novell.soa.notification.impl.vdx.VirtualDataCo nfigLoader.retrieveEmailAddresses
(VirtualDataConfigLoader.java:172)
... 7 more
2017-11-20 13:04:17,427 [ERROR] JMSSubscriber [RBPM] Error sending email
upon receipt of JMS message.
com.novell.soa.notification.impl.NotificationExcep tion: Error sending
email.
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:317)
at com.novell.soa.notification.impl.jms.JMSSubscriber .handleMessage
(JMSSubscriber.java:214)
at com.novell.soa.notification.impl.jms.JMSSubscriber .run
(JMSSubscriber.java:163)
at java.lang.Thread.run(Thread.java:748)
Caused by: com.novell.soa.notification.impl.NotificationExcep tion: Problem
retrieving email or preferred locale attribute for addressee
[CN=28265776-6BA4-F2F4-7FFF-
A13D052C4A9C,CN=Administrators,CN=DepartmentFuncti on,CN=Organisation,
CN=NonRequestable,CN=Level20,CN=RoleDefs,CN=RoleCo nfig,CN=AppConfig,CN=METATREE-
UA01,CN=IDMDriverSet01,OU=idm,OU=servere,O=org]
at
com.novell.soa.notification.impl.vdx.VirtualDataCo nfigLoader.retrieveEmailAddresses
(VirtualDataConfigLoader.java:180)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddressFromDNList
(SimpleEmailMessageCreator.java:448)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.getEmailAddress
(SimpleEmailMessageCreator.java:359)
at
com.novell.soa.notification.impl.SimpleEmailMessag eCreator.createMessage
(SimpleEmailMessageCreator.java:172)
at com.novell.soa.notification.impl.MailEngine.send
(MailEngine.java:306)
... 3 more
Caused by: com.netiq.common.i18n.LocalizedIllegalArgumentExce ption: Object
[CN=28265776-6BA4-F2F4-7FFF-
A13D052C4A9C,CN=Administrators,CN=DepartmentFuncti on,CN=Organisation,
CN=NonRequestable,CN=Level20,CN=RoleDefs,CN=RoleCo nfig,CN=AppConfig,CN=METATREE-
UA01,CN=IDMDriverSet01,OU=idm,OU=servere,O=org] not found.
at
com.novell.soa.notification.impl.vdx.VirtualDataCo nfigLoader.retrieveEmailAddresses
(VirtualDataConfigLoader.java:172)
... 7 more
2017-11-20 13:04:17,586 [WARN] VDXUtil [RBPM] Error evaluating delegatees
for user [CN=28265776-6BA4-F2F4-7FFF-
A13D052C4A9C,CN=Administrators,CN=DepartmentFuncti on,CN=Organisation,
CN=NonRequestable,CN=Level20,CN=RoleDefs,CN=RoleCo nfig,CN=AppConfig,CN=METATREE-
UA01,CN=IDMDriverSet01,OU=idm,OU=servere,O=org].