tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENEJB-1515) NPE in MethodScheduleBuilder.build(BeanContext, EnterpriseBeanInfo)
Date Sun, 10 Apr 2011 15:50:05 GMT

     [ https://issues.apache.org/jira/browse/OPENEJB-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shawn Jiang updated OPENEJB-1515:
---------------------------------

    Attachment: 0001-Elimilate-the-potential-NPE-caused-by-info-objects.patch

With David's suggetion.  I double checked the root cause of the NPE of this JIRA. 

I found some info object does not following a common rule to set a default blank ArrayList
object to list field.   a blank Properties object to Properties fileld.   

This additional patch is to elimilate the root cause for these kind of potential NPE.

> NPE in MethodScheduleBuilder.build(BeanContext, EnterpriseBeanInfo)
> -------------------------------------------------------------------
>
>                 Key: OPENEJB-1515
>                 URL: https://issues.apache.org/jira/browse/OPENEJB-1515
>             Project: OpenEJB
>          Issue Type: Bug
>          Components: ejb31
>    Affects Versions: (trunk/openejb3)
>            Reporter: Shawn Jiang
>         Attachments: 0001-Elimilate-the-potential-NPE-caused-by-info-objects.patch, 0001-NPE-protection.patch
>
>
> I met a NPE when executing:
> org.apache.openejb.assembler.classic.MethodScheduleBuilder.build(BeanContext, EnterpriseBeanInfo)
> .

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message