title: primefaces and JSF 2.3 javascript error Cannot read property 'error' of null
body: <p>I am using primefaces with JSF2.3</p>
  
  <p>here is the way my dependencies are</p>
  
  <pre><code>    dependencies {
  
      providedCompile 'javax.servlet:javax.servlet-api:4.0.0'
      compile group: 'javax.faces', name: 'javax.faces-api', version: '2.3'
      compile group: 'org.glassfish', name: 'javax.faces', version: '2.3.3'
      compile 'javax.servlet:jstl:1.2'
      compile 'org.jboss.weld.servlet:weld-servlet:2.4.5.Final'
      compile group: 'org.primefaces', name: 'primefaces', version: '6.2'
  }
  </code></pre>
  
  <p>my jsf file is very basic</p>
  
  <pre><code>   &lt;html xmlns="http://www.w3.org/1999/xhtml"
        xmlns:h="http://xmlns.jcp.org/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core"&gt;
  &lt;h:head&gt;
  &lt;/h:head&gt;
  &lt;f:view&gt;
      &lt;h:outputLabel value="Hello, world"/&gt;
      &lt;h:form&gt;
          &lt;p:selectOneMenu value="#{testView.chosen}"
                           style="width:200px"&gt;
              &lt;f:selectItem itemLabel="Select listing template"/&gt;
              &lt;f:selectItems value="#{testView.list}"/&gt;
              &lt;p:ajax event="change" process="@this" update="@all"/&gt;
          &lt;/p:selectOneMenu&gt;
      &lt;/h:form&gt;
  &lt;/f:view&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>and my viewScoped bean also</p>
  
  <pre><code>    @Named
  @ViewScoped
  public class TestView implements Serializable {
  String chosen;
  List&lt;String&gt; list;
  
  @PostConstruct
  public void setup(){
      list = new ArrayList&lt;&gt;();
      list.add("alpha");
      list.add("gamma");
      list.add("bravo");
  }
  </code></pre>
  
  <p>getter and setter are ommited for simplicity.</p>
  
  <p>the thing is that I used to work with (jsf 2.2, primefaces 6.1) and everything is working fine.</p>
  
  <p>after the upgrade (jsf 2.3, primefaces6.2), I have a problem whenever the event change (when i change selection is triggered)</p>
  
  <p>the  error is </p>
  
  <pre><code>Uncaught TypeError: Cannot read property 'error' of null
      at Object.&lt;anonymous&gt; (core.js.xhtml?ln=primefaces&amp;v=6.2:3)
      at i (jquery.js.xhtml?ln=primefaces&amp;v=6.2:2)
      at Object.fireWith [as resolveWith] (jquery.js.xhtml?ln=primefaces&amp;v=6.2:2)
      at A (jquery.js.xhtml?ln=primefaces&amp;v=6.2:4)
      at XMLHttpRequest.&lt;anonymous&gt; (jquery.js.xhtml?ln=primefaces&amp;v=6.2:4)
  </code></pre>
  
  <p>Is there any conflict javascript between jsf2.3 and primefaces ?</p>