if (!mInput)
if (!mInput || !mBoundNode)
nsXFormsUploadElement::Refresh(){  if (!mInput)    return NS_OK;  nsCOMPtr<nsIContent> content = do_QueryInterface(mBoundNode);  NS_ENSURE_STATE(content);  nsILocalFile *file =      NS_STATIC_CAST(nsILocalFile *,                     content->GetProperty(nsXFormsAtoms::uploadFileProperty));  // get the text value for the control  nsAutoString value;  if (file)    file->GetPath(value);  mInput->SetValue(value);  mInput->SetReadOnly(GetReadOnlyState());  return NS_OK;}