Return-Path: X-Original-To: apmail-myfaces-dev-archive@www.apache.org Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 50A1A9E9B for ; Mon, 5 Mar 2012 07:09:29 +0000 (UTC) Received: (qmail 53990 invoked by uid 500); 5 Mar 2012 07:09:29 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 53645 invoked by uid 500); 5 Mar 2012 07:09:25 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 53583 invoked by uid 99); 5 Mar 2012 07:09:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 07:09:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2012 07:09:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 780A990A8 for ; Mon, 5 Mar 2012 07:08:59 +0000 (UTC) Date: Mon, 5 Mar 2012 07:08:59 +0000 (UTC) From: "Caius Gran (Created) (JIRA)" To: dev@myfaces.apache.org Message-ID: <1439177766.21595.1330931339492.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (TRINIDAD-2232) ComponentContextManagerImpl.resume() fails on null _stack member variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org ComponentContextManagerImpl.resume() fails on null _stack member variable ------------------------------------------------------------------------- Key: TRINIDAD-2232 URL: https://issues.apache.org/jira/browse/TRINIDAD-2232 Project: MyFaces Trinidad Issue Type: Bug Affects Versions: 2.0.2-core Environment: tomcat 6.0.20, myfaces 2.0.11, java 1.6.0_22, trinidad svn r1294382 (2.0.2-snapshot) Reporter: Caius Gran I couldn't figure out a simple case for reproducing this, but judging by the debugging I did, the reason seems to be a pushChange()/popChange() -cycle of some children (or grand-children or etc) components as a side effect leaving the "_stack" member variable null. An example resulting stack trace: java.lang.NullPointerException at org.apache.myfaces.trinidad.context.ComponentContextManagerImpl.resume(ComponentContextManagerImpl.java:179) at org.apache.myfaces.trinidad.component.UIXDocument.tearDownVisitingContext(UIXDocument.java:118) at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:595) at org.apache.myfaces.trinidad.component.UIXComponent.visitTree(UIXComponent.java:362) at javax.faces.component.UIComponent.visitTree(UIComponent.java:810) at javax.faces.component.UIComponentBase.visitTree(UIComponentBase.java:1073) at org.apache.myfaces.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:172) at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:117) at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:151) at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:177) at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:160) at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:177) at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:160) at javax.faces.component.UIViewRoot._broadcastAll(UIViewRoot.java:990) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:280) at javax.faces.component.UIViewRoot._process(UIViewRoot.java:1275) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:728) at org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:38) at org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:171) ... -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira