[ http://issues.apache.org/jira/browse/BEEHIVE-1096?page=all ]
Carlin Rogers updated BEEHIVE-1096:
-----------------------------------
Attachment: j1096-test.zip
Test case to repro this bug. hitting the test page for the derived lass will
cause an NPE.
> Inherited NetUI shared flow reference not initialized correctly.
> ----------------------------------------------------------------
>
> Key: BEEHIVE-1096
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1096
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: 1.0.1, v.next
> Reporter: Carlin Rogers
> Assignee: Carlin Rogers
> Fix For: v.next
> Attachments: j1096-test.zip
>
> This bug was noted in the user list.
> If you have a base page flow Controller class with a declared member variable
> as a reference to a SharedFlowController (@Jpf.SharedFlowField annotation)
> and then implement a derived a page flow classs, the inherited shared flow
> reference field will not get initialized correctly. The base class instance
> is automatically intialized. However if you try to use the inherited field in
> the derived class it will be null.
> The temporary workaround would be to explicitly declare a shared flow
> reference variable in the derived
> Controller as well.
--
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