Null pointer while setting cookies

When Webclient task sets cookies incoming when crawling subpages (2nd webclient pass withing the same workflow) NPE appears.