You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When assertions are enabled (-ea flag) shutting down Gearman is throwing an exception. If assertions are disabled the server appears to shutdown and the java process terminates successfully.
Here is the program output with stack trace when assertions are on:
Result: Hello Gearman Worker
Exception in thread "main" java.lang.AssertionError
at org.gearman.impl.client.ClientImpl.dropController(ClientImpl.java:256)
at org.gearman.impl.client.ClientImpl.access$600(ClientImpl.java:56)
at org.gearman.impl.client.ClientImpl$InnerConnectionController.onDrop(ClientImpl.java:130)
at org.gearman.impl.serverpool.AbstractConnectionController.dropServer(AbstractConnectionController.java:474)
at org.gearman.impl.serverpool.AbstractConnectionController.dropServer(AbstractConnectionController.java:444)
at org.gearman.impl.serverpool.AbstractJobServerPool.removeServer(AbstractJobServerPool.java:153)
at org.gearman.impl.serverpool.AbstractJobServerPool.removeAllServers(AbstractJobServerPool.java:135)
at org.gearman.impl.serverpool.AbstractJobServerPool.shutdown(AbstractJobServerPool.java:229)
at org.gearman.impl.client.ClientImpl.shutdown(ClientImpl.java:406)
at org.gearman.impl.GearmanImpl.shutdown(GearmanImpl.java:96)
at vericle.cli.experiments.GearmanLifecycleCli.run(GearmanLifecycleCli.java:53)
at vericle.cli.experiments.GearmanLifecycleCli.main(GearmanLifecycleCli.java:69)
Has anyone run into this issue?
The text was updated successfully, but these errors were encountered:
When assertions are enabled (-ea flag) shutting down Gearman is throwing an exception. If assertions are disabled the server appears to shutdown and the java process terminates successfully.
Here is a fairly simple test case:
Here is the program output with stack trace when assertions are on:
Has anyone run into this issue?
The text was updated successfully, but these errors were encountered: