Erro java.lang.NullPointerException

Pessoal,

Estou tentando rodar esse código

[code]<%@page contentType=“text/html” pageEncoding=“UTF-8”%>
<%@ taglib prefix=“my” tagdir="/WEB-INF/tags" %>
<%@ taglib prefix=“h” uri=“http://java.sun.com/jsf/html” %>
<%@ taglib prefix=“f” uri=“http://java.sun.com/jsf/core” %>

MyCRUD
   
          <h:panelGrid columns="2"
            rendered="#{!SessionBean.telefoneBean.formRead}"                              
            styleClass="empty" footerClass="footer"
            headerClass="header">
            <f:facet name="header">
              <h:outputText value="#{SessionBean.telefoneBean.titleForm}" />
            </f:facet>
            <h:column>
              <h:outputText value="DDD" styleClass="form" />
            </h:column>
            <h:column>
              <h:inputText
                disabled="#{SessionBean.telefoneBean.formDestroy or SessionBean.telefoneBean.formView}"
                value="#{SessionBean.telefoneBean.pojo.ddd}"
                maxlength="2" />
            </h:column>
            <h:column>
              <h:outputText value="Número" styleClass="form" />
            </h:column>
            <h:column>
              <h:inputText
                disabled="#{SessionBean.telefoneBean.formDestroy or SessionBean.telefoneBean.formView}"
                value="#{SessionBean.telefoneBean.pojo.numero}"
                maxlength="8" />
            </h:column>
            <h:column>
              <h:outputText value="Nome" styleClass="form" />
            </h:column>
            <h:column>
              <h:inputText
                disabled="#{SessionBean.telefoneBean.formDestroy or SessionBean.telefoneBean.formView}"
                value="#{SessionBean.telefoneBean.pojo.nome}"
                maxlength="40" />
            </h:column>
            <f:facet name="footer">     
              <h:panelGrid styleClass="empty">
                <h:column>
                  <h:commandButton
                    actionListener="#{SessionBean.telefoneBean.setFormRead}" 
                    value="Voltar" />
                    &nbsp;
                  <h:commandButton
                    actionListener="#{SessionBean.telefoneBean.create}" 
                    value="Inserir"
                    rendered="#{SessionBean.telefoneBean.formCreate}" />  
                  <h:commandButton
                    actionListener="#{SessionBean.telefoneBean.update}" 
                    value="Alterar"
                    rendered="#{SessionBean.telefoneBean.formUpdate}" />                                            
                  <h:commandButton
                    actionListener="#{SessionBean.telefoneBean.destroy}" 
                    value="Excluir"
                    rendered="#{SessionBean.telefoneBean.formDestroy}" />
                </h:column>
              </h:panelGrid>                                  
            </f:facet>
          </h:panelGrid>
                        
          <my:footer />
                    
          <h:messages showSummary="false" showDetail="true"
            infoClass="severityInformation"
            warnClass="severityWarning"
            errorClass="severityError" />
                        
        </h:form>
      </f:view>
                
    </td>                
  </tr>
</table>              
[/code] Mas está gerando esse erro:[code] HTTP Status 500 - Internal Server Error

type Exception report

messageInternal Server Error

descriptionThe server encountered an internal error that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.NullPointerException

root cause

java.lang.NullPointerException

note The full stack traces of the exception and its root causes are available in the GlassFish Server Open Source Edition 4.0 logs.
GlassFish Server Open Source Edition 4.0 [/code]

Não consegui localizar a origem do erro, ser que alguém poderia me informar como resolver?

Obrigado.

Olá tudo bem?

É bem difícil somente olhando, mas nullPointer é um acesso a algum objeto que não tem referente…eu chutaria que o objeto SessionBean.telefoneBean está nulo ou até o próprio SessionBean poderia estar Null…tenta exibir somente esses dois e vê se eles estão null…