beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <...@beehive.apache.org>
Subject [jira] Updated: (BEEHIVE-990) Controls Annotation processor throws null pointer exception when an annotation type cannot be resolved
Date Tue, 08 Nov 2005 20:11:20 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-990?page=all ]

Chad Schoettger updated BEEHIVE-990:
------------------------------------

    Attachment: BEEHIVE-990.patch

Attached patch.

Fixed code to properly handle NPE from APT call.

> Controls Annotation processor throws null pointer exception when an annotation type cannot
be resolved
> ------------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-990
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-990
>      Project: Beehive
>         Type: Bug
>   Components: Controls
>     Reporter: Chad Schoettger
>     Assignee: Chad Schoettger
>  Attachments: BEEHIVE-990.patch
>
> If an annotation type cannot be resolved by the controls annotation processor, a null
pointer exception is thrown by the annotation processor.  This would typically happen when
the import for the annotation was not added to the source file.
> Need to update AnnotationConstraintAptValidator to handle this case correctly.

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


Mime
View raw message