ARIS - Q&A Session 9:00am CEST
ARIS - Q&A Session 6:00pm CEST

View all
Profile picture for user MoellerBennet


I have a Report in which I have an Array of UserGroups and I would like to get the Groups UserList, but I always get a NullPointerException when trying to do so.

Using Methods inherited from Item works, but all UserGroup methods end up in a NullpointerException...

Do you have any ideas what I might be doing wrong?

Kind regards, Bennet

by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Thu, 09/01/2022 - 14:15

Does you user have function right "User Management" ?

I think if not, this could be the cause...

by Bennet Möller Author
Posted on Thu, 09/01/2022 - 15:49

In reply to by rgoldenbaum

Hi Robert,

thank you for your answer!

Sadly this is not the cause, because my user does have the function right. My user gets it via UserGroup, not by itself, if that makes a difference...

Kind regards,


by Robert Goldenbaum
Badge for 'Question Solver' achievement
Posted on Thu, 09/01/2022 - 16:15

And do you have an Architect licence or perhaps "just" a Designer ?    Could also make a difference... 

by Veronika Ellermann
Posted on Fri, 09/02/2022 - 10:23

Hi Bennet,

Who executes the script? Is e.g. the arisservice user involved?
In that case that user also requires the functional right.



by Bennet Möller Author
Posted on Mon, 09/05/2022 - 07:21

In reply to by Vee_ARIS

Hi Veronika,

thank you for the reply! In this case I am executing the script with my own user. 

Best regards, Bennet

by Martin Schröder
Badge for 'Contributor' achievement
Posted on Fri, 09/02/2022 - 15:32

Hello Bennett,

if you look up the usage of the methods oUserGroup.Userlist() or oDb.Userlist(oUserGroup) on your server you might be surprised to find none.

One reason for Userlist() not working in your context might be solved by my former post.

Developers of the SAG standard report for UMC "Output user groups with users and privileges" preferred Report class UMC - Method getAssignedUsersForUsergroup

Other examples to evaluate user groups were given here

Regards, Martin

by Bennet Möller Author
Posted on Mon, 09/05/2022 - 08:03

In reply to by smarty

Hi Martin,

the UMC Class is a real lifesaver, thank you! That saved me a lot of time and code.

Best Regards, Bennet


Featured achievement

You help out the community by answering a question.
Recent Unlocks
  • IG
  • Profile picture for user J-M Erlendson
  • SD
  • RV
  • VP
  • PacMan


Weekly | All-time
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon