java.lang.IllegalArgumentException: Cannot have null or empty arguments for functions in CommitterUserMappingManager

Atlassian JIRA | Ming Giet Chong [Atlassian] | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Error is thrown when adding user mapping. This happen if there is no fisheye user created in the instance. {noformat} 2009-12-04 18:23:55,421 ERROR [btpool0-3] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /admin/addUserMapping.do java.lang.IllegalArgumentException: Cannot have null or empty arguments for functions in CommitterUserMappingManager at com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.assertArguments(CommitterUserMappingManager.java:187) at com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.addMapping(CommitterUserMappingManager.java:100) at com.cenqua.fisheye.web.admin.actions.user.AddUserMappingAction.execute(AddUserMappingAction.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) {noformat} Steps to reproduce: # Go to {{Admin > User Mapping}} and add mapping for repository # Assumming there is no user created in Fisheye instance (see [mapping|^mapping.png]) # Adding the mapping leads to the above error Error shows from the UI; !error.png!

    Atlassian JIRA | 7 years ago | Ming Giet Chong [Atlassian]
    java.lang.IllegalArgumentException: Cannot have null or empty arguments for functions in CommitterUserMappingManager
  2. 0

    Error is thrown when adding user mapping. This happen if there is no fisheye user created in the instance. {noformat} 2009-12-04 18:23:55,421 ERROR [btpool0-3] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /admin/addUserMapping.do java.lang.IllegalArgumentException: Cannot have null or empty arguments for functions in CommitterUserMappingManager at com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.assertArguments(CommitterUserMappingManager.java:187) at com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.addMapping(CommitterUserMappingManager.java:100) at com.cenqua.fisheye.web.admin.actions.user.AddUserMappingAction.execute(AddUserMappingAction.java:73) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) {noformat} Steps to reproduce: # Go to {{Admin > User Mapping}} and add mapping for repository # Assumming there is no user created in Fisheye instance (see [mapping|^mapping.png]) # Adding the mapping leads to the above error Error shows from the UI; !error.png!

    Atlassian JIRA | 7 years ago | Ming Giet Chong [Atlassian]
    java.lang.IllegalArgumentException: Cannot have null or empty arguments for functions in CommitterUserMappingManager

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Cannot have null or empty arguments for functions in CommitterUserMappingManager

      at com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.assertArguments()
    2. com.cenqua.fisheye
      AddUserMappingAction.execute
      1. com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.assertArguments(CommitterUserMappingManager.java:187)
      2. com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.addMapping(CommitterUserMappingManager.java:100)
      3. com.cenqua.fisheye.web.admin.actions.user.AddUserMappingAction.execute(AddUserMappingAction.java:73)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. XWork Tiger Extensions
      DefaultActionInvocation.invoke
      1. com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358)
      2. com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218)
      3. com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192)
      3 frames