NullPointerException when stopping IgniteSemaphore

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

NullPointerException when stopping IgniteSemaphore

yzhdanov
Vladislav, can you please review and merge to master the fix and test case
suggested by Krome?

Vlad, btw, why don't we init semaphore during construction time?

https://issues.apache.org/jira/browse/IGNITE-3515

Thanks!

--Yakov
Reply | Threaded
Open this post in threaded view
|

Re: NullPointerException when stopping IgniteSemaphore

Vladisav Jelisavcic
Sure, I'll do the review.

It is lazy initialized, same as latch and other datastructures.

Regards,
Vladisav

On Thu, Jul 21, 2016 at 10:24 AM, Yakov Zhdanov <[hidden email]> wrote:

> Vladislav, can you please review and merge to master the fix and test case
> suggested by Krome?
>
> Vlad, btw, why don't we init semaphore during construction time?
>
> https://issues.apache.org/jira/browse/IGNITE-3515
>
> Thanks!
>
> --Yakov
>