I'm trying to get the itemValue from a oneSelectMenu but this exception has returned. Could anyone help me?
<p:outputLabel for="tipo" value="Tipo "/>
                    <p:selectOneMenu id="tipo" value="#{pessoaBean.pessoa.tipo}">
                        <f:selectItem itemLabel="Cliente" itemValue="Cliente"/>
                        <f:selectItem itemLabel="Funcionário" itemValue="Funcionário"/>
                    </p:selectOneMenu>