An Error Occurred:

javax.el.ELException: /pages/homeFormulario.xhtml @59,71 value="#{formularioBean.todasSecretarias}": Error reading [todasSecretarias] on type [br.gov.pb.joaopessoa.backbean.FormularioBean]

+ Stack Trace

javax.faces.FacesException: javax.el.ELException: /pages/homeFormulario.xhtml @59,71 value="#{formularioBean.todasSecretarias}": Error reading [todasSecretarias] on type [br.gov.pb.joaopessoa.backbean.FormularioBean]
	at javax.faces.component.UISelectItems.getValue(UISelectItems.java:144)
	at com.sun.faces.renderkit.RenderKitUtils.getSelectItems(RenderKitUtils.java:303)
	at com.sun.faces.renderkit.html_basic.MenuRenderer.getOptionNumber(MenuRenderer.java:647)
	at com.sun.faces.renderkit.html_basic.MenuRenderer.renderSelect(MenuRenderer.java:763)
	at com.sun.faces.renderkit.html_basic.MenuRenderer.encodeEnd(MenuRenderer.java:278)
	at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:849)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
	at javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:825)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
	at javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
	at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
	at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
	at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
	at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
	at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
	at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Caused by: javax.el.ELException: /pages/homeFormulario.xhtml @59,71 value="#{formularioBean.todasSecretarias}": Error reading [todasSecretarias] on type [br.gov.pb.joaopessoa.backbean.FormularioBean]
	at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
	at javax.faces.component.UISelectItems.getValue(UISelectItems.java:141)
	... 45 more
Caused by: java.lang.NullPointerException

+ Component Tree

<AjaxViewRoot id="_viewRoot" immediate="false" locale="pt_BR" renderKitId="HTML_BASIC" renderRegionOnly="false" rendered="true" selfRendered="false" submitted="false" transient="false" viewId="/pages/homeFormulario.xhtml">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <title>
Solicitação de Abertura de Chamados
</title> <link href="/suporte/css/aplicacao.css" rel="stylesheet" type="text/css" media="all"/> <link rel="icon" href="http://www.joaopessoa.pb.gov.br/portal/wp-content/themes/antigo/favicon.ico" type="x-icon"/> <script language="javascript" src="/suporte/js/jquery.js"/> <script language="javascript" src="/suporte/js/jquery.maskedinput.js"/> <script language="javascript"> var $j = jQuery.noConflict(); </script> </head> <body> <div class="super">
<div id="topo"> <div id="topoLogo"> <img src="/suporte/imagem/logo-pmjp.png" width="200" alt="logo PMJP"/> </div> <div id="topoTitulo"> <h1>UMTI</h1> <label>Unidade Municipal de Tecnologia da Informação</label> </div> <div id="topoPanel"/> </div>
<div id="corpo" class="corpo"> <div id="caixaBusca"> <h2>Solicitação de Abertura de Chamados</h2> <div id="caixa_mensagem">
<HtmlMessages errorClass="messages_error" globalOnly="false" id="msgs" infoClass="messages_info" layout="list" rendered="true" showDetail="false" showSummary="true" tooltip="false" transient="false" warnClass="messages_warn"/>
</div> <fieldset> <div id="alerta"> <div id="alertaImg"> </div> <div id="alertaMsg"> <p> <label><strong>Prezado Colaborador</strong>, as solicitações de chamado para a UMTI só poderão ser abertas por servidores através do preenchimento do formulário abaixo. <strong>O campo E-mail deverá ser preenchido com o e-mail Institucional da PMJP</strong>.</label><br/><br/> </p> <p> <label>Caso o servidor ainda não tenha uma conta de email da Prefeitura ou tenha perdido, favor entrar em contato com os seguintes telefones: Ramal <strong>8746</strong> ou <strong>8054</strong>/ Ligações externas <strong>(83)8645-8054</strong>. </label><br/> <label>Suporte da UMTI. </label> </p> </div> </div>
<HtmlForm enctype="application/x-www-form-urlencoded" id="suporteForm" prependId="true" rendered="true" submitted="false" transient="false">
<div id="label"> <div id="divOutput">
<HtmlOutputLabel escape="true" id="j_id9" rendered="true" styleClass="outputLabel" transient="false" value="Nome"/>
<HtmlOutputLabel escape="true" id="j_id10" rendered="true" styleClass="outputLabel" transient="false" value="E-mail"/>
<HtmlOutputLabel escape="true" id="j_id11" rendered="true" styleClass="outputLabel" transient="false" value="Secretaria"/>
<HtmlOutputLabel escape="true" id="j_id12" rendered="true" styleClass="outputLabel" transient="false" value="Setor"/>
<HtmlOutputLabel escape="true" id="j_id13" rendered="true" styleClass="outputLabel" transient="false" value="Telefone"/>
<HtmlOutputLabel escape="true" id="j_id14" rendered="true" styleClass="outputLabel" transient="false" value="Problema"/>
<HtmlOutputLabel escape="true" id="j_id15" rendered="true" styleClass="outputLabel" transient="false" value="Descrição"/>
</div> <div id="divInput">
<HtmlInputText disabled="false" id="j_id17" immediate="false" localValueSet="false" maxlength="-2147483648" readonly="false" rendered="true" required="true" requiredMessage="Digite seu nome" size="40" styleClass="inputText" transient="false" valid="true"/>
<HtmlInputText disabled="false" id="j_id18" immediate="false" localValueSet="false" maxlength="-2147483648" readonly="false" rendered="true" required="true" requiredMessage="Digite seu e-mail institucional" size="50" styleClass="inputText" transient="false" valid="true"/>
<HtmlSelectOneMenu disabled="false" id="selectSecretarias" immediate="false" localValueSet="false" readonly="false" rendered="true" required="true" requiredMessage="Selecione uma Secretaria" styleClass="inputText" transient="false" valid="true" value="0">
<UISelectItem id="j_id19" itemDisabled="false" itemEscaped="true" itemLabel="Escolha uma Secretaria" itemValue="" rendered="true" transient="false"/>
<UISelectItems id="j_id20" rendered="true" transient="false"/>
</HtmlSelectOneMenu>
<HtmlInputText disabled="false" id="j_id21" immediate="false" localValueSet="false" maxlength="-2147483648" readonly="false" rendered="true" required="true" requiredMessage="Digite o setor" size="10" styleClass="inputText" transient="false" valid="true"/>
<HtmlInputText disabled="false" id="telefone" immediate="false" localValueSet="false" maxlength="9" readonly="false" rendered="true" required="true" requiredMessage="Digite o ramal" size="9" styleClass="inputText" transient="false" valid="true">
<HtmlJQuery id="j_id22" name="" query="mask('9999-9999')" rendered="true" selector="#telefone" timing="onload" transient="false"/>
</HtmlInputText>
<HtmlSelectOneMenu disabled="false" id="selectProblemas" immediate="false" localValueSet="false" readonly="false" rendered="true" required="true" requiredMessage="Selecione um Problema" styleClass="inputText" transient="false" valid="true" value="0">
<UISelectItem id="j_id23" itemDisabled="false" itemEscaped="true" itemLabel="Escolha um Problema" itemValue="" rendered="true" transient="false"/>
<UISelectItems id="j_id24" rendered="true" transient="false"/>
</HtmlSelectOneMenu>
<HtmlInputTextarea cols="52" disabled="false" id="j_id25" immediate="false" localValueSet="false" readonly="false" rendered="true" required="true" requiredMessage="Digite a descrição do problema" rows="5" styleClass="inputText" transient="false" valid="true"/>
</div> </div> <div id="uploadDiv"> <p id="textoUpload">Anexar arquivo. Utilize apenas PDFs ou imagens(png, jpg, jpeg, zip)</p>
<HtmlFileUpload acceptedTypes="pdf, png, jpg, jpeg, zip" addControlLabel="Selecionar arquivo" ajaxSingle="false" allowFlash="true" autoclear="false" clearAllControlLabel="Limpar tudo" clearControlLabel="Limpar" disabled="false" fileUploadListener="#{formularioBean.listener}" id="upload" immediate="false" immediateUpload="true" listHeight="210px" listWidth="400px" localValueSet="false" maxFilesQuantity="30" noDuplicate="true" ontyperejected="alert('Apenas arquivos PDFs, PNG, ZIP, JPG ou JPEG são aceitos');" rendered="true" required="false" stopButtonClass="rich-fileupload-bold-label" stopButtonClassDisabled="rich-fileupload-bold-label" stopEntryControlLabel="Parar processo" styleClass="upload" transient="false" uploadButtonClass="rich-fileupload-bold-label" uploadButtonClassDisabled="rich-fileupload-bold-label" uploadControlLabel="Anexar Arquivo" valid="true">
label
<HtmlOutputText escape="true" id="j_id27" rendered="true" transient="false" value="{_KB}KB de {KB}KB anexando --- {mm}:{ss}"/>
</HtmlFileUpload>
</div> <div id="buttonConfirm">
<HtmlCommandButton action="#{formularioBean.enviarEmail}" actionExpression="#{formularioBean.enviarEmail}" disabled="false" id="j_id29" immediate="false" readonly="false" rendered="true" styleClass="button" transient="false" type="submit" value="Cadastrar Chamado"/>
</div>
</HtmlForm>
</fieldset> <fieldset id="field_arquivo"> <div class="caixa_arquivo"> <a class="img_link" href="../formulario/Formulario_Cadastro_Usuarios_SUPORTE.pdf"><img src="../imagem/pdficon.png" width="48" height="48"/></a> <span> <a class="text_link" href="../formulario/Formulario_Cadastro_Usuarios_SUPORTE.pdf"> <strong><span> Novo Formulário de Cadastro de Usuários - UMTI </span></strong> <br/> <span> A UMTI está disponibilizando em anexo, arquivo em .pdf contendo formulário de solicitação de cadastro de novos usuários para Rede, Email, BO, Spark e Portal do Fornecedor. </span> </a> </span> <div class="linha_divisoria_h"/> </div> </fieldset> </div> </div>
<div id="footer"/>
</div> </body>
</html>
</AjaxViewRoot>

+ Scoped Variables

Request Parameters
NameValue
None
Request Attributes
NameValue
ajaxContextorg.ajax4jsf.context.AjaxContextImpl@5f9e87e8
Session Attributes
NameValue
formularioBeanbr.gov.pb.joaopessoa.backbean.FormularioBean@60ecc249
Application Attributes
NameValue
None
09/12/2019 01:35:07 - Generated by Facelets