[XDoclet-JIRA] Updated: (XJD-66) MethodImpl.getAccessor throws an NPE when no accessor exists

"Jason Miller (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
     [ http://opensource.atlassian.com/projects/xdoclet/browse/XJD-66?page=all ]

Jason Miller updated XJD-66:
----------------------------

    Attachment: patch.txt

Patch to fix the bug - null check before calling getReturnType

> MethodImpl.getAccessor throws an NPE when no accessor exists
> ------------------------------------------------------------
>
>          Key: XJD-66
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XJD-66
>      Project: XJavaDoc
>         Type: Bug
>   Components: Core
>     Versions: 1.1
>     Reporter: Jason Miller
>     Assignee: xdoclet-devel (Use for new issues)
>     Priority: Minor
>  Attachments: patch.txt
>
> Original Estimate: 0 minutes
>         Remaining: 0 minutes
>
> The getAccessor method in MethodImpl doesn't check for the existance of the method before attempting to verify the return type.  A patch is attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.