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

"java.lang.IllegalArgumentException: committerName and repositoryName cannot be null" thrown while editing the author mapping

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 4.2.0
    • 2.3.5
    • None

    Description

      The error is thrown while editing the author mapping:

      2009-12-04 18:27:27,250 ERROR [btpool0-5] org.mortbay.log org.mortbay.log.Slf4jLog-warn - /profile/editAuthorMapping.do
      java.lang.IllegalArgumentException: committerName and repositoryName cannot be null: committerName=null,repositoryName=SVN-12
      	at com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.getMappingForCommitter(CommitterUserMappingManager.java:40)
      	at com.cenqua.fisheye.model.Managers.CommitterUserMappingManager.mappingExists(CommitterUserMappingManager.java:120)
      	at com.cenqua.fisheye.web.profile.actions.EditAuthorMappingAction.editMapping(EditAuthorMappingAction.java:150)
      	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)
      	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      

      This happens when all the users for a repository have been explicity mapped and you try to add another committer mapping. The potential user list is empty:

      Should just show a message saying all committers have already been mapped.

      Attachments

        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: