[
https://issues.apache.org/jira/browse/MYFACES-4285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792847#comment-16792847
]
Thomas Andraschko commented on MYFACES-4285:
--------------------------------------------
It would be great if you could provide a whole sample application or even a
breaking unittest.
Otherwise its Impossible to replicate for me.
> NullPointerException because of 4099
> ------------------------------------
>
> Key: MYFACES-4285
> URL: https://issues.apache.org/jira/browse/MYFACES-4285
> Project: MyFaces Core
> Issue Type: Bug
> Affects Versions: 2.3.0-beta, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4
> Reporter: Jiyan Akgül
> Priority: Major
>
> The improvement 4099 introduced with version 2.3 leads to a
> NullPointerException in TagAttributeImpl.java:550
>
> {code:java}
> Location ccLocation = (Location) actx.getFaceletCompositionContext().
> getCompositeComponentFromStack().getAttributes().get(
> CompositeComponentELUtils.LOCATION_KEY);{code}
> getCompositeComponentFromStack() returns null, because there is no stack
>
> Usage of composite component in test.xhtml
> {code:java}
> <cw:attributeGroup
> saveListener="#{customerBean.updateAttributeContainer(cc.wrapper)}"
> wrapper="#{attributeGroup}" />{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)