[jira] [Created] (OWB-986) CreationalContextImpl.toString throws NullPointerException
Andy Gumbrecht created OWB-986: -- Summary: 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
[ 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
[ 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] [Resolved] (OWB-986) CreationalContextImpl.toString throws NullPointerException
[ https://issues.apache.org/jira/browse/OWB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Louis MONTEIRO resolved OWB-986. - Resolution: Fixed Fix Version/s: 2.0.1 Thanks Andy. Fixed for you. @Romain, I did not used bean.toString() It provides much more information as previously. It's a different topic thought. We can change the format after. 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)
[jira] [Reopened] (OWB-986) CreationalContextImpl.toString throws NullPointerException
[ https://issues.apache.org/jira/browse/OWB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau reopened OWB-986: fix doesn't really solve the issue since it just solves the NPE but in numerous cases we don't have bean class (see our proxy code), that's why we need return type instead. I proposed bean.toString() since toString is only here for debug purpose so verbosity is not an issue IMHO. 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)
[jira] [Commented] (OWB-986) CreationalContextImpl.toString throws NullPointerException
[ 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)
[jira] [Closed] (OWB-986) CreationalContextImpl.toString throws NullPointerException
[ https://issues.apache.org/jira/browse/OWB-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Romain Manni-Bucau closed OWB-986. -- Resolution: Fixed thanks 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)
Jenkins build is still unstable: OpenWebBeans-trunk ยป JSR-346 TCK runner #1011
See https://builds.apache.org/job/OpenWebBeans-trunk/org.apache.openwebbeans$openwebbeans-tck/1011/
Jenkins build is still unstable: OpenWebBeans-trunk #1011
See https://builds.apache.org/job/OpenWebBeans-trunk/changes