// Next, remove the context change that was added in setupChildrenVisitingContext:
ComponentContextManager componentContextManager =
RequestContext.getCurrentInstance().getComponentContextManager();
ComponentContextChange contextChange = componentContextManager.popChange();
// Validate the state of the context change stack:
if (!(contextChange instanceof VisitChildrenDebugContextChange) ||
((VisitChildrenDebugContextChange)contextChange)._component != this)
{
throw new IllegalStateException(_getInvalidContextChangeMessage(