beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russ Baker (JIRA)" <...@beehive.apache.org>
Subject [jira] Commented: (BEEHIVE-997) client initializer isn't run when controls are only declared in a base class
Date Fri, 28 Jul 2006 18:32:14 GMT
    [ http://issues.apache.org/jira/browse/BEEHIVE-997?page=comments#action_12424144 ] 
            
Russ Baker commented on BEEHIVE-997:
------------------------------------

I recommend that this bug be closed. I have verified that the SubClassClientInitializer does
indeed get generated. I tested using a control in a base and sub class, and neither threw
an NPE. I verified this against SVN#426611.

> client initializer isn't run when controls are only declared in a base class
> ----------------------------------------------------------------------------
>
>                 Key: BEEHIVE-997
>                 URL: http://issues.apache.org/jira/browse/BEEHIVE-997
>             Project: Beehive
>          Issue Type: Bug
>          Components: Controls
>    Affects Versions: V1
>            Reporter: Eddie O'Neil
>         Assigned To: Jacob Danner
>             Fix For: 1.0.1
>
>
> Given a class hierarchy as:
> class BaseClass {
>   @Control
>   protected EchoControl _echoControl;
> }
> and 
> class SubClass {
>   // no control references
> }
> the controls annotation processor doesn't generate a SubClassClientInitializer.  The
result is that any references to _echoControl in the superclass NPE because the control isn't
initialized.  
> Not sure what the solution is yet; there are several possibilities.  Will solicit input
on dev@.

-- 
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