[weld-dev] BeansXmlHandler indirectly causes NPE in Wildfly

Maxim Frolov frolovmx at gmail.com
Mon Mar 24 09:08:08 EDT 2014


https://issues.jboss.org/browse/WELD-1628



2014-03-24 13:07 GMT+01:00 Jozef Hartinger <jharting at redhat.com>:

>  Hi Maxim,
>
> this should be fixed in Weld. Please file a new issue.
>
> Jozef
>
>
> On 03/21/2014 06:52 PM, Maxim Frolov wrote:
>
> Hi everyone,
>
> recently I found a bug in Wildfly:
> https://issues.jboss.org/browse/WFLY-3147
>
>  After looking at the source code I found that the BeansXmlHandler always
> calls interpolate() method, even if the argument is null.
>
>  Does it make sence?
>
>  In my opinion, BeansXmlHandler must not call interpolate() method if the
> String value is null (i.e. absent).
>
>  My questions to this mailing list are:
> 1) Is this really bug in weld and I should report a JIRA bug / make a pull
> request?
> or
> 2) Does this work as expected/designed and the bug is in Wildfly?
>
>
>  Cheers,
>
>  /max.
>
>
>
>
>
>
>
>
> _______________________________________________
> weld-dev mailing listweld-dev at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/weld-dev
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20140324/a505d15e/attachment.html 


More information about the weld-dev mailing list