NPE in BeanUtil.getPullParser when beanObject is a subclass
-----------------------------------------------------------

                 Key: AXIS2-3975
                 URL: https://issues.apache.org/jira/browse/AXIS2-3975
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: 1.4
         Environment: mac osx 10.5, axis 1.4
            Reporter: Tim Tresch


A NullPointerException occurs on line 137 of BeanUtil when the beanObject is a 
subclass of something other than java.lang.Object.
The axisService is still null (at least for me) at this point, so an NPE is 
thrown on axisService.getExcludeInfo().

Just needs a null check against the axisService before attempting to get the 
excludeInfo.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to