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

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

    Attachment: 0001-OPENEJB-1515-NPE-in-MethodScheduleBuilder.build-Bean.patch

1, Levarage NamedMethodInfo.methodParams null state to indicate it's not a 
valid method in MethodScheduleBuilder.

2,  In descriptor, The <timeout-method> of a timer
 without <method-params> element indicate that  this bean class must not 
overload bean's default timeout method.

3, reuse the toMethoc logic from EnterpriseBeanBuilder to 
MethodInfoUtil.toMethod(Class, NamedMethodInfo) so that MethodScheduleBuilder 
could reuse this logic instead of copying code.

> 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-OPENEJB-1515-NPE-in-MethodScheduleBuilder.build-Bean.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

Reply via email to