I tracked the problem eventually.
I resolved the problem through using
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new CommondBaseWSHumanTaskHandler(ksession));
instead of
ksession.getWorkItemManager().registerWorkItemHandler("Human Task", new CommondBaseWSHumanTaskHandler());