renderer = c.getRenderer(child.getNode());
if (child.getContent() == null) { XRLog.render(Level.WARNING, "null node of child: " + child + " of type " + child.getClass().getName()); renderer = new InlineRenderer(); } else {  renderer = c.getRenderer(child.getContent().getElement()); }
    public void paintChildren(Context c, Box box) {        //u.p("Layout.paintChildren(): " + box);        //u.p("child count = " + box.getChildCount());        for (int i = 0; i < box.getChildCount(); i++) {            Box child = (Box) box.getChild(i);            //u.p("child = " + child);            Renderer renderer = null;            if (child.isAnonymous()) {                renderer = c.getRenderingContext().getLayoutFactory().getAnonymousRenderer();            } else {                /* replaced by fast-fail on getNode                if(child.getNode() == null) {                    u.p("null node of child: " + child);                } */                renderer = c.getRenderer(child.getNode());            }            paintChild(c, child, renderer);        }    }