Netweaver BPM: IllegalArgumentException in notifications
[BPM] [Business] [Galaxy] [getSubstitutingRecipients] [IllegalArgumentException] [Management] [NetWeaver] [netweaver abap] [Notification] [notifications] [NW] [Process] [RecipientsManager] [RoleUserMap] [SAP] [sap netweaver]
- NetWeaver BPM: NullPointerException During DeploymentSymptom You are deploying a Process DC to the SAP NetWeaver BPM Process Server. The deployment fails with a NullPointerException. In the defaultTrace or the deployment error message you will find an...
- NetWeaver BPM: NullPointerException During DeploymentSymptom You are deploying a Process DC to the SAP NetWeaver BPM Process Server. The deployment fails with a NullPointerException. In the defaultTrace or the deployment error message you will find an...
- NetWeaver BPM: Mapping contains errorsSymptom The Problem view shows an error and there are exceptions in the error log for a mapping but the mapping editor doesn’t show the error. Other terms Galaxy, SAP NW BPM,...
- NetWeaver BPM: Build errors after migration to 7.2Symptom Build of DC fails with error after executing the quickfix for the migration to 7.2 Other terms Galaxy, SAP NW BPM, Business Process Management, Migration Reason and Prerequisites The quickfix sets...
- NetWeaver BPM: Boundary Events not generated by PV CompilerSymptom Modelled Boundary Events are not part of procvis file. When a process with boundary events is built, the information for boundary events is not included in the generated procvis file and...
- NetWeaver BPM: Simple content data not shownSymptom In BPM NWA applications Manage Processes and Manage Tasks, you do not see some context data values in ‘Context Data’ tab Other terms Galaxy, SAP NW BPM, Business Process Management, NWA,...
- NetWeaver BPM: Typo in value attribute in Process StarterSymptom In BPM Process Start application, there is a typo while in showing the “value” attribute. The value place holder is wrongly shown as “alue” Other terms Galaxy, SAP NW BPM, Business...
- NetWeaver BPM: Exception on table filter after cancel actionSymptom In NWA Manage Task application, you have filtered the table which results in only one task instance, then you cancel this task, and remove the filter value and hit enter. The...
Symptom
The start of a process or the instantiation of a human task fails with the following exception:
java.lang.IllegalArgumentException: parameter RoleUserMap must not be null!
at com.sap.bpem.tm.notification.RecipientsManager.getRecipients(RecipientsManager.java:89)
at com.sap.bpem.tm.notification.RecipientsManager.getSubstitutingRecipients(RecipientsManager.java:169)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Other terms
Galaxy, SAP NW BPM, Business Process Management, IllegalArgumentException, Notification, RoleUserMap, RecipientsManager, getSubstitutingRecipients
Reason and Prerequisites
NetWeaver 7.11 with running BPM
prerequisites:
- notifcation was turned on
- a process has been started containing a task without
-Actual owner
-Potential owner
-and Administrator
The notification component, which is responsible for sending reminder mails, fails if all these three groups are empty.
Solution
short-term workarounds:
between two different workarounds can be chosen:
a) remodel process
b) deactivate problematic component
a)
The process can be remodeled in such a way that all tasks have minimum one user in one of the groups. One way to achieve this is to lay a role lane under all tasks.
b)
Deactivate notification in CTC / application configuration.
One way to do this is to stop the server, start the config-tool and set the two properties
“notification.assigned”
“notification.newtasks”
under
cluster-data -> template -> applications -> tc-bpem-base-ear
to “false” or click “Restore default”.
Save, close config-tool and start server.
Long-term solution:
To correct this problem, apply the patch matching your support package version as listed in the patch table below as per the instructions in the NetWeaver Support Package Stack Guide.