Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2359

Error is thrown when adding user mapping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • None
    • 2.1.2
    • None

    Description

      Error is thrown when adding user mapping. This happen if there is no fisheye user created in the instance.

      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)
      

      Steps to reproduce:

      1. Go to Admin > User Mapping and add mapping for repository
      2. Assumming there is no user created in Fisheye instance (see mapping)
      3. Adding the mapping leads to the above error

      Error shows from the UI;

      Attachments

        1. error.png
          error.png
          48 kB
        2. mapping.png
          mapping.png
          51 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mgchong Ming Giet Chong [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: