It's trying to lookup the user in LDAP and it can't find it, the LDAP plugin is throwing an exception. I have a possible fix for this (at least catching the exception) in the works, but have not released with it yet.
On Thu, Jun 7, 2012 at 8:34 AM, vprasad79 <venkat.ibmi...@gmail.com> wrote: > No. we use email-ext plugin. > > > > On Thursday, 7 June 2012 22:08:23 UTC+8, slide wrote: >> >> Is this with the default mailer? >> >> Sent from my Windows Phone >> ________________________________ >> From: vprasad79 >> Sent: 6/7/2012 1:56 AM >> To: jenkinsci-users@googlegroups.com >> Subject: Jenkins Jobs hangs at sending email >> >> Some of our Jenkins jobs get hanged to the point where it says: >> >> Sending email for trigger: Failure >> >> Please can you help us. >> >> >> We are using Jenkins ver. 1.458 >> Following errors observed in Jenkins log >> >> WARNING: com.gmail.sikakura.MailCommandTrigger.run() failed for >> MailCommander >> >> java.lang.NullPointerException >> >> at >> com.gmail.sikakura.MailCommandTrigger.run(MailCommandTrigger.java:104) >> >> at hudson.triggers.Trigger.checkTriggers(Trigger.java:259) >> >> at hudson.triggers.Trigger$Cron.doRun(Trigger.java:207) >> >> at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54) >> >> at java.util.TimerThread.mainLoop(Timer.java:512) >> >> at java.util.TimerThread.run(Timer.java:462) >> >> Jun 6, 2012 8:56:30 PM >> hudson.security.LDAPSecurityRealm$LDAPUserDetailsService loadUserByUsername >> >> WARNING: Failed to search LDAP for username=USERx >> >> org.acegisecurity.ldap.LdapDataAccessException: Failed to obtain >> InitialDirContext due to unexpected exception; nested exception is >> javax.naming.InterruptedNamingException: Interrupted during LDAP operation >> >> at >> org.acegisecurity.ldap.DefaultInitialDirContextFactory.connect(DefaultInitialDirContextFactory.java:193) >> >> at >> org.acegisecurity.ldap.DefaultInitialDirContextFactory.newInitialDirContext(DefaultInitialDirContextFactory.java:261) >> >> at >> org.acegisecurity.ldap.DefaultInitialDirContextFactory.newInitialDirContext(DefaultInitialDirContextFactory.java:241) >> >> at >> org.acegisecurity.ldap.LdapTemplate.execute(LdapTemplate.java:123) >> >> > -- Website: http://earl-of-code.com