if (object == null) {
if (object == null && !isNullAccepted()) {
    public int doEndTag() throws JspException {        Object object = getTargetObject();                if (object == null) {            throw new RuntimeException("cannot present the null value, name='" + getName() + "' property='" + getProperty() + "' scope='" + getScope() + "'");        }                // TODO: cfgi, verify if this is more usefull than problematic        if (object instanceof List) {            object = sortCollection((Collection) object);        }                String layout = getLayout();        String schema = getSchema();        Properties properties = getRenderProperties();                PresentationContext context = createPresentationContext(object, layout, schema, properties);        context.getViewState().setUser(UserIdentityFactory.create((HttpServletRequest) this.pageContext.getRequest()));                HtmlComponent component = renderObject(context, object);        try {            drawComponent(context, component);        } catch (IOException e) {            throw new JspException("failed to render component", e);        }                release(); // force release        return EVAL_PAGE;    }