[jira] [Commented] (OWB-986) CreationalContextImpl.toString throws NullPointerException

2014-07-21 Thread Romain Manni-Bucau (JIRA)

[ 
https://issues.apache.org/jira/browse/OWB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)


[jira] [Commented] (OWB-986) CreationalContextImpl.toString throws NullPointerException

2014-07-21 Thread Andy Gumbrecht (JIRA)

[ 
https://issues.apache.org/jira/browse/OWB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14068422#comment-14068422
 ] 

Andy Gumbrecht commented on OWB-986:


To be honest I hadn't even looked at the code as I'm sure the fix is trivial - 
Without knowing the context I'd just be happy to let you return the most 
appropriate info.

 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)


[jira] [Commented] (OWB-986) CreationalContextImpl.toString throws NullPointerException

2014-07-21 Thread Jean-Louis MONTEIRO (JIRA)

[ 
https://issues.apache.org/jira/browse/OWB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14068492#comment-14068492
 ] 

Jean-Louis MONTEIRO commented on OWB-986:
-

Ah ok, did not figure that point.
Just pushed the fix again

 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
 Fix For: 2.0.1


 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)