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