anchor.diff:                      </td>
                       <td>
                           <select name="editVariable">
  -                            <% for (FormField field : dataForm.getFields()) { %>
  +                            <% if (dataForm != null) for (FormField field : dataForm.getFields()) { %>
                               <option value="<%= field.getVariable()%>" <%= field.getVariable().equals(variable) ? "selected" : ""%>><%= field.getVariable()%></option>
                               <% } %>
   
  
positive.code:                             </td>
                              <td>
                                  <select name="variable" onchange="updateForm(this);">
                                      <% for (FormField field : dataForm.getFields()) {
                                              if(formElement == null){
                                                  formElement = field.getVariable();
                                              }
  
negative.code:                             <%
                                  for (org.jivesoftware.openfire.fastpath.dataforms.FormElement ele : form
                                          .getFormElements()) {
                                      if (formElement != null && formElement.equals(ele.getVariable())) {
                                          out.println(FormUtils.createAnswers(ele, "value"));
                                      }
                                  }
  