Hello,
we have just test JIRA Service Desk, and an error is occured when we create a issue with an user name containing one uppercase or more.
You can reproduce this problem :
username : aA
Stack trace.
2014-01-14 15:26:00,160 http-bio-8080-exec-14 ERROR aA 926x2572x1 1vit2qd 127.0.0.1 /servicedesk/customer/si/create/get-it-help [servicedesk.internal.util.SafeRunner] Unable to run event handler User Notification
java.lang.NullPointerException
at com.atlassian.servicedesk.internal.notifications.UserNotificationServiceImpl.deservesNotification(UserNotificationServiceImpl.java:160)
at com.atlassian.servicedesk.internal.listener.UserNotificationEventListener.notificationCheck(UserNotificationEventListener.java:36)
at com.atlassian.servicedesk.internal.listener.UserNotificationEventListener.access$000(UserNotificationEventListener.java:13)
at com.atlassian.servicedesk.internal.listener.UserNotificationEventListener$1.run(UserNotificationEventListener.java:29)
at com.atlassian.servicedesk.internal.util.SafeRunner.withTryCatchCondom(SafeRunner.java:58)
at com.atlassian.servicedesk.internal.util.SafeRunner.access$000(SafeRunner.java:14)
at com.atlassian.servicedesk.internal.util.SafeRunner$1.run(SafeRunner.java:36)
at com.atlassian.servicedesk.bootstrap.lifecycle.LifecycleLock.runSafely(LifecycleLock.java:49)
at com.atlassian.servicedesk.internal.util.SafeRunner.run(SafeRunner.java:31)
at com.atlassian.servicedesk.internal.listener.UserNotificationEventListener.onIssueEvent(UserNotificationEventListener.java:24)
at sun.reflect.GeneratedMethodAccessor991.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)
at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:184)
at com.atlassian.jira.event.issue.IssueEventDispatcher.dispatchEvent(IssueEventDispatcher.java:134)
at com.atlassian.jira.workflow.function.event.FireIssueEventFunction.execute(FireIssueEventFunction.java:60)
at com.opensymphony.workflow.AbstractWorkflow.executeFunction(AbstractWorkflow.java:1050)
at com.opensymphony.workflow.AbstractWorkflow.transitionWorkflow(AbstractWorkflow.java:1446)
at com.opensymphony.workflow.AbstractWorkflow.initialize(AbstractWorkflow.java:615)
at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowManager.scala:64)
at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowManager$$anonfun$initializeWorkflow$1$$anonfun$apply$1.apply(ServiceDeskWorkflowManager.scala:62)
at scala.util.Either$RightProjection.map(Either.scala:536)
at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowManager.scala:62)
at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowManager$$anonfun$initializeWorkflow$1.apply(ServiceDeskWorkflowManager.scala:61)
at scala.util.Either$RightProjection.flatMap(Either.scala:523)
at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowManager.initializeWorkflow(ServiceDeskWorkflowManager.scala:61)
at com.atlassian.servicedesk.internal.feature.customer.request.ServiceDeskWorkflowManager.initializeWorkflowForIssue(ServiceDeskWorkflowManager.scala:25)
at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager.com$atlassian$servicedesk$internal$feature$customer$request$CustomerRequestManager$$saveIssueIntoJIRA(CustomerRequestManager.scala:67)
at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$1$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$3.apply(CustomerRequestManager.scala:40)
at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$1$$anonfun$apply$1$$anonfun$apply$2$$anonfun$apply$3.apply(CustomerRequestManager.scala:39)
at scala.util.Either$RightProjection.flatMap(Either.scala:523)
at com.atlassian.servicedesk.internal.feature.customer.request.CustomerRequestManager$$anonfun$createRequest$1$$anonfun$apply$1$$anonfun$apply$2.apply(CustomerRequestManager.scala:39)