On Mon, Sep 4, 2017 at 7:30 AM, Yakov Zhdanov <yzhda...@apache.org> wrote:
> NPE should be fixed. > Can someone in the community create a sensible ticket here? If I do it, it might lack proper context. > > NPE does not have any message, this is why top level exception does not > have it as well. > Got it. > > --Yakov > > 2017-09-04 17:19 GMT+03:00 Dmitriy Setrakyan <dsetrak...@apache.org>: > > > On Mon, Sep 4, 2017 at 3:05 AM, Yakov Zhdanov <yzhda...@apache.org> > wrote: > > > > > >> Why are we throwing checked exceptions without any error message? > > Should > > > we fix it? > > > > > > I don't think it is important. This exception is instantiated inside > > > IgniteUtils.cast() and has a cause. > > > > > > > Why not add the same message as in the cause? > > > > Also, what about the NPE? > > > > D. > > >