Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-31204

NPE in EmailFormatterImpl.formatEmail - user picker and more not working

    XMLWordPrintable

Details

    Description

      Hi,

      Our user integration failed this morning and cleared the email addresses of several users.

      This resulted in the error below that we got in several places, including the user picker making for example the "Assign issue" break.

      I know this shouldn't happen and the error is in our directory integration but I think that JIRA should handle this error more gracefully

      2013-01-09 09:12:39,525 ajp-bio-8109-exec-600 ERROR vs 552x839394x1 18tnl4u 10.42.105.148 /rest/api/2/user/viewissue/search [jira.rest.exception.ExceptionInterceptor] Returning internal server error in response
      java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
              at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$ResponseOutInvoker$1.invoke(DispatchProviderHelper.java:234)
              at com.atlassian.plugins.rest.common.interceptor.impl.DispatchProviderHelper$1.intercept(DispatchProviderHelper.java:100)
              at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61)
              at com.atlassian.plugins.rest.common.expand.interceptor.ExpandInterceptor.intercept(ExpandInterceptor.java:38)
              at com.atlassian.plugins.rest.common.interceptor.impl.DefaultMethodInvocation.invoke(DefaultMethodInvocation.java:61)
      ...
      Caused by: java.lang.NullPointerException
              at com.atlassian.jira.util.EmailFormatterImpl.formatEmail(EmailFormatterImpl.java:66)
              at com.atlassian.jira.util.EmailFormatterImpl.formatEmail(EmailFormatterImpl.java:76)
              at sun.reflect.GeneratedMethodAccessor2177.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
              at java.lang.reflect.Method.invoke(Unknown Source)
      

      Attachments

        Activity

          People

            edalgliesh Eric Dalgliesh
            b61663ca5450 Bjarni Thorbjornsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: