[
https://issues.apache.org/jira/browse/OWB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068419#comment-14068419
]
Romain Manni-Bucau commented on OWB-986:
----------------------------------------
@Andy: hi Andy, true, we should check bean != null and bean.getBeanClass()
!=null and if this last is null check bean is an instance of OwbBean and then
use bean.getReturnType(). Personally I think we can also just log
bean.toString() is bean != null. Do you want to propose a patch?
> CreationalContextImpl.toString throws NullPointerException
> ----------------------------------------------------------
>
> Key: OWB-986
> URL: https://issues.apache.org/jira/browse/OWB-986
> Project: OpenWebBeans
> Issue Type: Bug
> Reporter: Andy Gumbrecht
> Priority: Minor
>
> CreationalContextImpl.toString throws NullPointerException - This was only
> seen in a debugger context, but still should be more safe.
--
This message was sent by Atlassian JIRA
(v6.2#6252)