Sahoo wrote:
> Kedar,
>
> I don't know why nobody has seen this issue so far. Is the following
> code returning null when it should not?
>
> hk2/config/.../ConfigModel.java
> ...
> public Object get(Dom dom, Type rt) {
> Object value = super.get(dom, rt);
> if (value == null)
> return (dv);
> return ( null ); // Should it not return value?
> }
>
> It seems to be causing the following NPE for me when I deploy a simple
Yes, Sahoo, it should.
Jerome has fixed it.
Sorry for the trouble. For everyone else: please update your copy of
hk2. If you have checked out hk2, please update the sources and rebuild
it with "mvn install" followed by "svn update".
I broke the build. Sorry again.
- Kedar