[ http://issues.apache.org/jira/browse/BEEHIVE-1075?page=all ]
Carlin Rogers updated BEEHIVE-1075:
-----------------------------------
Description: The routine ScopedRequestImpl.registerOuterAttribute() should
not be called if the ScopedRequest is constructed such that the attributes of
the outer request are visible in the scoped request. There is an assert to
check this. However, when the code is run without asserts it will throw an NPE.
I think it should just log the error and return. (was: The routine
ScopedRequestImpl.registerOuterAttribute() should not be called if the
ScopedRequest is constructed such that the attributes of the outer request are
visible in the scoped request. There is an assert to check this. However, when
the code is run without asserts it will through an NPE. I think it should just
log the error and return.)
Assign To: Julie Zhuo (was: Carlin Rogers)
> NPE in ScopedRequestImpl.registerOuterAttribute() when running without
> asserts.
> -------------------------------------------------------------------------------
>
> Key: BEEHIVE-1075
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1075
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1, 1.0.1
> Reporter: Carlin Rogers
> Assignee: Julie Zhuo
> Priority: Minor
> Fix For: v.next
>
> The routine ScopedRequestImpl.registerOuterAttribute() should not be called
> if the ScopedRequest is constructed such that the attributes of the outer
> request are visible in the scoped request. There is an assert to check this.
> However, when the code is run without asserts it will throw an NPE. I think
> it should just log the error and return.
--
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