On Jan 17, 2011, at 2:18 AM, Omry Yadan <email address hidden> wrote:
> you updated my reconnect bug branch as well (do you need to at all?)
> if this is your diff:
>
> - sessionsMap = new HashMap<SelectionKey, GearmanJobServerSession>();
> + sessionsMap = new Hashtable<SelectionKey, GearmanJobServerSession>();
>
> that it appears to have worked.
> no more npes from the lib when you get too many open files.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/689330
>
> Title:
> NullPointerException thrown from GearmanClientImpl.shutdownNow
>
> Status in Gearman Java:
> In Progress
>
> Bug description:
> While stress testing my gearman worker, I bumped into the following
> exceptions:
>
> 1. RejectedExecutionException with the message "No servers registered with client"
> if I catch this one and try to close the client in order to start a new one and retry, I get:
>
> 2.java.lang.NullPointerException
> at org.gearman.client.GearmanClientImpl.shutdownNow(GearmanClientImpl.java:482)
> at org.gearman.client.GearmanClientImpl.shutdown(GearmanClientImpl.java:454)
>
>
Great, thanks for checking
On Jan 17, 2011, at 2:18 AM, Omry Yadan <email address hidden> wrote:
> you updated my reconnect bug branch as well (do you need to at all?) SelectionKey, GearmanJobServe rSession> (); SelectionKey, GearmanJobServe rSession> (); /bugs.launchpad .net/bugs/ 689330 ption thrown from GearmanClientIm pl.shutdownNow onException with the message "No servers registered with client" lang.NullPointe rException client. GearmanClientIm pl.shutdownNow( GearmanClientIm pl.java: 482) client. GearmanClientIm pl.shutdown( GearmanClientIm pl.java: 454)
> if this is your diff:
>
> - sessionsMap = new HashMap<
> + sessionsMap = new Hashtable<
>
> that it appears to have worked.
> no more npes from the lib when you get too many open files.
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> NullPointerExce
>
> Status in Gearman Java:
> In Progress
>
> Bug description:
> While stress testing my gearman worker, I bumped into the following
> exceptions:
>
> 1. RejectedExecuti
> if I catch this one and try to close the client in order to start a new one and retry, I get:
>
> 2.java.
> at org.gearman.
> at org.gearman.
>
>