title: javax.el.PropertyNotFoundException: Target Unreachable, 'BracketSuffix' returned null
body: <p>I am trying to insert multiple IPs in a <code>List&lt;String&gt;</code> using a simple example. But I am getting following error. </p>
  
  <blockquote>
    <p>javax.el.PropertyNotFoundException: Target Unreachable, 'BracketSuffix' returned null</p>
  </blockquote>
  
  <p>Here is my JSF 2.2 page: </p>
  
  <pre><code>&lt;h:form id="form"&gt;
      &lt;ui:repeat value="#{exampleBean.ipAddresses}" var="s"
          varStatus="status"&gt;
          &lt;h:inputText value="#{exampleBean.ipAddresses[status.index]}" /&gt;
      &lt;/ui:repeat&gt;
      &lt;h:inputText value="#{exampleBean.newIp}" /&gt;
      &lt;h:commandButton value="Add" action="#{exampleBean.add}" /&gt;
      &lt;h:commandButton value="Save" action="#{exampleBean.save}" /&gt;
  &lt;/h:form&gt;
  </code></pre>
  
  <p>And here is my backing bean:</p>
  
  <pre><code>@ManagedBean
  @ViewScoped
  public class ExampleBean implements Serializable {
  
      private static final long serialVersionUID = 1L;
      private List&lt;String&gt; ipAddresses;
      private String newIp;
  
      @PostConstruct
      public void init() {
          ipAddresses= new ArrayList&lt;String&gt;();
      }
  
      public String save() {
          System.out.println(ipAddresses.toString());
          return null;
      }
  
      public void add() {
          ipAddresses.add(newIp);
          newIp = null;
      }
  
      public List&lt;String&gt; getIpAddresses() {
          return ipAddresses;
      }
  
      public String getNewIp() {
          return newIp;
      }
  
      public void setNewIp(String newIp) {
          this.newIp = newIp;
      }
  
  }
  </code></pre>
  
  <p>How is this caused and how can I solve it?</p>