Well, actually, the null pointer seem to be because the context is not
created.
Hmm....
Could there be an error in UseContextTag.java as indicated below?
public int doEndTag() throws JspException {
Object o = pageContext.getAttribute(getId(), scope);
if (o != null) {
if (!getClassOfExportedObject().isInstance(o)) {
o = null;
}
}
if (o == null) { <------------- should be == instead of !=
pullInSupplimentalAttributes();
o = getObjectToExport();
}
pageContext.setAttribute(getId(), o, scope);
return EVAL_PAGE;
}
--
- Torgeir